Application: kmplot (1.2.1) KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources) Qt Version: 4.6.2 Operating System: Linux 2.6.32-21-generic i686 Distribution: Ubuntu 10.04 LTS -- Information about the crash: Application: KmPlot (kmplot), signal: Segmentation fault [KCrash Handler] #6 QBasicAtomicInt::operator!= (this=0x973de6c) at /usr/include/qt4/QtCore/qbasicatomic.h:75 #7 QVector<Equation*>::detach (this=0x973de6c) at /usr/include/qt4/QtCore/qvector.h:134 #8 QVector<Equation*>::data (this=0x973de6c) at /usr/include/qt4/QtCore/qvector.h:138 #9 QVector<Equation*>::operator[] (this=0x973de6c) at /usr/include/qt4/QtCore/qvector.h:347 #10 Plot::updateFunction (this=0x973de6c) at ../../../kmplot/kmplot/function.cpp:1034 #11 0x027cb55c in View::updateCrosshairPosition (this=0x973de30) at ../../../kmplot/kmplot/view.cpp:3439 #12 0x027cc0d5 in View::paintEvent (this=0x973de30) at ../../../kmplot/kmplot/view.cpp:2645 #13 0x011786b6 in QWidget::event (this=0x973de30, event=0xbf8d7424) at kernel/qwidget.cpp:8144 #14 0x027bc61b in View::event (this=0x973de6c, e=0x0) at ../../../kmplot/kmplot/view.cpp:4203 #15 0x0111a4dc in QApplicationPrivate::notify_helper (this=0x9484e88, receiver=0x973de30, e=0xbf8d7424) at kernel/qapplication.cpp:4300 #16 0x011210f9 in QApplication::notify (this=0xbf8d84a0, receiver=0x973de30, e=0xbf8d7424) at kernel/qapplication.cpp:4265 #17 0x00570f2a in KApplication::notify (this=0xbf8d84a0, receiver=0x973de30, event=0xbf8d7424) at ../../kdeui/kernel/kapplication.cpp:302 #18 0x00c13a3b in QCoreApplication::notifyInternal (this=0xbf8d84a0, receiver=0x973de30, event=0xbf8d7424) at kernel/qcoreapplication.cpp:704 #19 0x011819d6 in QCoreApplication::sendSpontaneousEvent (this=0x9739400, pdev=0x991dc14, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97f8278) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #20 QWidgetPrivate::drawWidget (this=0x9739400, pdev=0x991dc14, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97f8278) at kernel/qwidget.cpp:5339 #21 0x01182815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9646668, pdev=0x991dc14, siblings=..., index=28, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x97f8278) at kernel/qwidget.cpp:5452 #22 0x01181725 in QWidgetPrivate::drawWidget (this=0x9646668, pdev=0x991dc14, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97f8278) at kernel/qwidget.cpp:5388 #23 0x01358890 in QWidgetBackingStore::sync (this=0x97f8278) at painting/qbackingstore.cpp:1291 #24 0x01171b93 in QWidgetPrivate::syncBackingStore (this=0x9646668) at kernel/qwidget.cpp:1672 #25 0x01178e76 in QWidget::event (this=0x9641550, event=0x9767f38) at kernel/qwidget.cpp:8291 #26 0x01593bc7 in QMainWindow::event (this=0x9641550, event=0x9767f38) at widgets/qmainwindow.cpp:1433 #27 0x00662b04 in KMainWindow::event (this=0x9641550, ev=0x9767f38) at ../../kdeui/widgets/kmainwindow.cpp:1103 #28 0x006aa88f in KXmlGuiWindow::event (this=0x9641550, ev=0x9767f38) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131 #29 0x0111a4dc in QApplicationPrivate::notify_helper (this=0x9484e88, receiver=0x9641550, e=0x9767f38) at kernel/qapplication.cpp:4300 #30 0x011210f9 in QApplication::notify (this=0xbf8d84a0, receiver=0x9641550, e=0x9767f38) at kernel/qapplication.cpp:4265 #31 0x00570f2a in KApplication::notify (this=0xbf8d84a0, receiver=0x9641550, event=0x9767f38) at ../../kdeui/kernel/kapplication.cpp:302 #32 0x00c13a3b in QCoreApplication::notifyInternal (this=0xbf8d84a0, receiver=0x9641550, event=0x9767f38) at kernel/qcoreapplication.cpp:704 #33 0x00c16473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9470fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9470fc8) at kernel/qcoreapplication.cpp:1345 #35 0x00c165dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #36 0x00c3fadf in QCoreApplication::sendPostedEvents (s=0x9487310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #37 postEventSourceDispatch (s=0x9487310) at kernel/qeventdispatcher_glib.cpp:276 #38 0x01b105e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #39 0x01b142d8 in ?? () from /lib/libglib-2.0.so.0 #40 0x01b144b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #41 0x00c3f5d5 in QEventDispatcherGlib::processEvents (this=0x9470b60, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #42 0x011da135 in QGuiEventDispatcherGlib::processEvents (this=0x9470b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #43 0x00c12059 in QEventLoop::processEvents (this=0xbf8d8404, flags=) at kernel/qeventloop.cpp:149 #44 0x00c124aa in QEventLoop::exec (this=0xbf8d8404, flags=...) at kernel/qeventloop.cpp:201 #45 0x00c1669f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #46 0x0111a577 in QApplication::exec () at kernel/qapplication.cpp:3579 #47 0x0804fcc8 in main (argc=1, argv=0xbf8d8644) at ../../../kmplot/kmplot/main.cpp:79 The crash can be reproduced every time. -- Backtrace: Application: KmPlot (kmplot), signal: Segmentation fault [KCrash Handler] #6 QBasicAtomicInt::operator!= (this=0x973de6c) at /usr/include/qt4/QtCore/qbasicatomic.h:75 #7 QVector<Equation*>::detach (this=0x973de6c) at /usr/include/qt4/QtCore/qvector.h:134 #8 QVector<Equation*>::data (this=0x973de6c) at /usr/include/qt4/QtCore/qvector.h:138 #9 QVector<Equation*>::operator[] (this=0x973de6c) at /usr/include/qt4/QtCore/qvector.h:347 #10 Plot::updateFunction (this=0x973de6c) at ../../../kmplot/kmplot/function.cpp:1034 #11 0x027cb55c in View::updateCrosshairPosition (this=0x973de30) at ../../../kmplot/kmplot/view.cpp:3439 #12 0x027cc0d5 in View::paintEvent (this=0x973de30) at ../../../kmplot/kmplot/view.cpp:2645 #13 0x011786b6 in QWidget::event (this=0x973de30, event=0xbf8d7424) at kernel/qwidget.cpp:8144 #14 0x027bc61b in View::event (this=0x973de6c, e=0x0) at ../../../kmplot/kmplot/view.cpp:4203 #15 0x0111a4dc in QApplicationPrivate::notify_helper (this=0x9484e88, receiver=0x973de30, e=0xbf8d7424) at kernel/qapplication.cpp:4300 #16 0x011210f9 in QApplication::notify (this=0xbf8d84a0, receiver=0x973de30, e=0xbf8d7424) at kernel/qapplication.cpp:4265 #17 0x00570f2a in KApplication::notify (this=0xbf8d84a0, receiver=0x973de30, event=0xbf8d7424) at ../../kdeui/kernel/kapplication.cpp:302 #18 0x00c13a3b in QCoreApplication::notifyInternal (this=0xbf8d84a0, receiver=0x973de30, event=0xbf8d7424) at kernel/qcoreapplication.cpp:704 #19 0x011819d6 in QCoreApplication::sendSpontaneousEvent (this=0x9739400, pdev=0x991dc14, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97f8278) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #20 QWidgetPrivate::drawWidget (this=0x9739400, pdev=0x991dc14, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97f8278) at kernel/qwidget.cpp:5339 #21 0x01182815 in QWidgetPrivate::paintSiblingsRecursive (this=0x9646668, pdev=0x991dc14, siblings=..., index=28, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x97f8278) at kernel/qwidget.cpp:5452 #22 0x01181725 in QWidgetPrivate::drawWidget (this=0x9646668, pdev=0x991dc14, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97f8278) at kernel/qwidget.cpp:5388 #23 0x01358890 in QWidgetBackingStore::sync (this=0x97f8278) at painting/qbackingstore.cpp:1291 #24 0x01171b93 in QWidgetPrivate::syncBackingStore (this=0x9646668) at kernel/qwidget.cpp:1672 #25 0x01178e76 in QWidget::event (this=0x9641550, event=0x9767f38) at kernel/qwidget.cpp:8291 #26 0x01593bc7 in QMainWindow::event (this=0x9641550, event=0x9767f38) at widgets/qmainwindow.cpp:1433 #27 0x00662b04 in KMainWindow::event (this=0x9641550, ev=0x9767f38) at ../../kdeui/widgets/kmainwindow.cpp:1103 #28 0x006aa88f in KXmlGuiWindow::event (this=0x9641550, ev=0x9767f38) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131 #29 0x0111a4dc in QApplicationPrivate::notify_helper (this=0x9484e88, receiver=0x9641550, e=0x9767f38) at kernel/qapplication.cpp:4300 #30 0x011210f9 in QApplication::notify (this=0xbf8d84a0, receiver=0x9641550, e=0x9767f38) at kernel/qapplication.cpp:4265 #31 0x00570f2a in KApplication::notify (this=0xbf8d84a0, receiver=0x9641550, event=0x9767f38) at ../../kdeui/kernel/kapplication.cpp:302 #32 0x00c13a3b in QCoreApplication::notifyInternal (this=0xbf8d84a0, receiver=0x9641550, event=0x9767f38) at kernel/qcoreapplication.cpp:704 #33 0x00c16473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9470fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9470fc8) at kernel/qcoreapplication.cpp:1345 #35 0x00c165dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #36 0x00c3fadf in QCoreApplication::sendPostedEvents (s=0x9487310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #37 postEventSourceDispatch (s=0x9487310) at kernel/qeventdispatcher_glib.cpp:276 #38 0x01b105e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #39 0x01b142d8 in ?? () from /lib/libglib-2.0.so.0 #40 0x01b144b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #41 0x00c3f5d5 in QEventDispatcherGlib::processEvents (this=0x9470b60, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #42 0x011da135 in QGuiEventDispatcherGlib::processEvents (this=0x9470b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #43 0x00c12059 in QEventLoop::processEvents (this=0xbf8d8404, flags=) at kernel/qeventloop.cpp:149 #44 0x00c124aa in QEventLoop::exec (this=0xbf8d8404, flags=...) at kernel/qeventloop.cpp:201 #45 0x00c1669f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #46 0x0111a577 in QApplication::exec () at kernel/qapplication.cpp:3579 #47 0x0804fcc8 in main (argc=1, argv=0xbf8d8644) at ../../../kmplot/kmplot/main.cpp:79 Reported using DrKonqi
If the crash is reproducable every time, what steps are needed to reproduce it?
*** This bug has been marked as a duplicate of bug 266821 ***