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:

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/
#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/
#6 0xb6d35d68 in QMetaObject::activate () from /usr/lib/
#7 0xb72ae1b1 in QAction::triggered () from /usr/lib/
#8 0xb72af732 in QAction::activate () from /usr/lib/
#9 0xb7747ea2 in QToolButton::nextCheckState () from /usr/lib/
#10 0xb7662f53 in ?? () from /usr/lib/
#11 0xb7663221 in QAbstractButton::mouseReleaseEvent () from /usr/lib/
#12 0xb774839c in QToolButton::mouseReleaseEvent () from /usr/lib/
#13 0xb73090c2 in QWidget::event () from /usr/lib/
#14 0xb76611de in QAbstractButton::event () from /usr/lib/
#15 0xb774ad4a in QToolButton::event () from /usr/lib/
#16 0xb72b4734 in QApplicationPrivate::notify_helper () from /usr/lib/
#17 0xb72bc760 in QApplication::notify () from /usr/lib/
#18 0xb6d1ff3b in QCoreApplication::notifyInternal () from /usr/lib/
#19 0xb72bb723 in QApplicationPrivate::sendMouseEvent () from /usr/lib/
#20 0xb7329274 in ?? () from /usr/lib/
#21 0xb7328755 in QApplication::x11ProcessEvent () from /usr/lib/
#22 0xb7352e42 in ?? () from /usr/lib/
#23 0xb6b4ee08 in g_main_context_dispatch () from /usr/lib/
#24 0xb6b52370 in g_main_context_iterate () from /usr/lib/
#25 0xb6b524a3 in g_main_context_iteration () from /usr/lib/
#26 0xb6d4a5dc in QEventDispatcherGlib::processEvents () from /usr/lib/
#27 0xb7352575 in ?? () from /usr/lib/
#28 0xb6d1e4e9 in QEventLoop::processEvents () from /usr/lib/
#29 0xb6d1e93a in QEventLoop::exec () from /usr/lib/
#30 0xb6d20daf in QCoreApplication::exec () from /usr/lib/
#31 0xb72b45b7 in QApplication::exec () from /usr/lib/
#32 0x08089585 in main (argc=1, argv=0xbfc39e94) at /home/carsten/kde/src/avo-carsten/avogadro/src/main.cpp:231

You can respond by visiting: