Crash on exit

Bugs item #2813182, was opened at 2009-06-27 10:05
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2813182&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash on exit

Initial Comment:
Todays git.

I played around with Avogadro and create a quite complex molecule. Then I optimized it and continued to add atoms while Avogadro was optimizing. Then I closed Avo, the application informed me that there is unsaved work. I clicked on the middle button (“discard”) and Avogadro crashed.

[New Thread 0xaf13ab70 (LWP 7032)]
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
[New Thread 0xae804b70 (LWP 7037)]
OpenGL extension GL_ARB_texture_rectangle is present.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb64c9ab0 (LWP 7018)]
0x00000019 in ?? ()
(gdb) bt
#0 0x00000019 in ?? ()
#1 0xb6aa55b0 in ~UndoSequence (this=0xaa94398) at /home/carsten/kde/src/avo-carsten/libavogadro/src/undosequence.cpp:43
#2 0xb792b84e in QUndoStack::clear () from /usr/lib/libQtGui.so.4
#3 0x0807680e in Avogadro::MainWindow::closeFile (this=0xa023158)
at /home/carsten/kde/src/avo-carsten/avogadro/src/mainwindow.cpp:1062
#4 0x0807972d in Avogadro::MainWindow::qt_metacall (this=0xa023158, _c=QMetaObject::InvokeMetaMethod, _id=178831008,
_a=0xbfc37cb8) at /home/carsten/kde/build/avo-carsten/avogadro/src/mainwindow.moc:191
#5 0xb6d3591c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#6 0xb6d35d68 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#7 0xb72ae1b1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#8 0xb72af732 in QAction::activate () from /usr/lib/libQtGui.so.4
#9 0xb7747ea2 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#10 0xb7662f53 in ?? () from /usr/lib/libQtGui.so.4
#11 0xb7663221 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#12 0xb774839c in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#13 0xb73090c2 in QWidget::event () from /usr/lib/libQtGui.so.4
#14 0xb76611de in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#15 0xb774ad4a in QToolButton::event () from /usr/lib/libQtGui.so.4
#16 0xb72b4734 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#17 0xb72bc760 in QApplication::notify () from /usr/lib/libQtGui.so.4
#18 0xb6d1ff3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#19 0xb72bb723 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#20 0xb7329274 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb7328755 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#22 0xb7352e42 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb6b4ee08 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb6b52370 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#25 0xb6b524a3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0xb6d4a5dc in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0xb7352575 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb6d1e4e9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb6d1e93a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0xb6d20daf in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0xb72b45b7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#32 0x08089585 in main (argc=1, argv=0xbfc39e94) at /home/carsten/kde/src/avo-carsten/avogadro/src/main.cpp:231
(gdb)


You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=2813182&group_id=165310