Bug 204235 - KNotes crash when opening note (QWidget::show, KNotesApp::showNote, KNotesApp::slotShowNote)
Summary: KNotes crash when opening note (QWidget::show, KNotesApp::showNote, KNotesApp...
Status: RESOLVED WORKSFORME
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: 4.3.x
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 06:56 UTC by Marcus Better
Modified: 2013-02-14 11:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Better 2009-08-18 06:56:42 UTC
Application that crashed: knotes
Version of the application: 3.9
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.4-melech x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
knotes crashed when I selected a note to show from the list of the tray icon.


 -- Backtrace:
Application: Knotes (knotes), signal: Segmentation fault
[KCrash Handler]
#5  0x000000000041b4f5 in QWidget::show (this=<value optimized out>, note=0x8582e0) at /usr/include/qt4/QtGui/qwidget.h:473
#6  KNotesApp::showNote (this=<value optimized out>, note=0x8582e0) at ../../knotes/knotesapp.cpp:560
#7  0x000000000041e844 in KNotesApp::showNote (this=0x7c9100, id=...) at ../../knotes/knotesapp.cpp:312
#8  0x000000000041e93c in KNotesApp::slotShowNote (this=0x7c9100) at ../../knotes/knotesapp.cpp:422
#9  0x000000000041edbd in KNotesApp::qt_metacall (this=0x7c9100, _c=QMetaObject::InvokeMetaMethod, _id=8452016, _a=0x7fff06867ca0) at ./knotesapp.moc:121
#10 0x00007f09327d3602 in QMetaObject::activate (sender=0xf2f1a0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x8597ba) at kernel/qobject.cpp:3112
#11 0x00007f093337c8d7 in QAction::triggered (this=0x8582e0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#12 0x00007f093337dd50 in QAction::activate (this=0xf2f1a0, event=<value optimized out>) at kernel/qaction.cpp:1160
#13 0x00007f093377958d in QMenuPrivate::activateCausedStack (this=0x7ee270, causedStack=..., action=0xf2f1a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#14 0x00007f093377f4ff in QMenuPrivate::activateAction (this=0x7ee270, action=0xf2f1a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1060
#15 0x00007f09340ad101 in KMenu::mouseReleaseEvent (this=0x7ed4b0, e=0x7fff068688e0) at ../../kdeui/widgets/kmenu.cpp:456
#16 0x00007f09333d2aef in QWidget::event (this=0x7ed4b0, event=0x7fff068688e0) at kernel/qwidget.cpp:7549
#17 0x00007f0933781c5b in QMenu::event (this=0x7ed4b0, e=0x7fff068688e0) at widgets/qmenu.cpp:2353
#18 0x00007f09333827ad in QApplicationPrivate::notify_helper (this=0x67fea0, receiver=0x7ed4b0, e=0x7fff068688e0) at kernel/qapplication.cpp:4056
#19 0x00007f093338af5a in QApplication::notify (this=<value optimized out>, receiver=0x7ed4b0, e=0x7fff068688e0) at kernel/qapplication.cpp:3758
#20 0x00007f0933fdbb2b in KApplication::notify (this=0x7fff0686a670, receiver=0x7ed4b0, event=0x7fff068688e0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007f09327be49c in QCoreApplication::notifyInternal (this=0x7fff0686a670, receiver=0x7ed4b0, event=0x7fff068688e0) at kernel/qcoreapplication.cpp:610
#22 0x00007f093338a208 in QCoreApplication::sendSpontaneousEvent (receiver=0x7ed4b0, event=0x7fff068688e0, alienWidget=0x0, nativeWidget=0x7ed4b0, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#23 QApplicationPrivate::sendMouseEvent (receiver=0x7ed4b0, event=0x7fff068688e0, alienWidget=0x0, nativeWidget=0x7ed4b0, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#24 0x00007f09333f2f54 in QETWidget::translateMouseEvent (this=0x7ed4b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#25 0x00007f09333f1b4f in QApplication::x11ProcessEvent (this=0x7fff0686a670, event=0x7fff0686a2b0) at kernel/qapplication_x11.cpp:3550
#26 0x00007f0933419e3c in x11EventSourceDispatch (s=0x683970, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007f092cd697aa in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f092cd6cdf8 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f092cd6cfac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f09327e6b7f in QEventDispatcherGlib::processEvents (this=0x6562f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007f09334195ef in QGuiEventDispatcherGlib::processEvents (this=0x8582e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f09327bcd62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f09327bd134 in QEventLoop::exec (this=0x7fff0686a5e0, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f09327bf3a4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x000000000041b059 in main (argc=3, argv=0x7fff0686a8a8) at ../../knotes/main.cpp:69

Reported using DrKonqi
Comment 1 Marcus Better 2009-12-22 14:43:19 UTC
Same crash with KDE 4.3.4 and Qt 4.6.0 (Debian).

Application: Knotes (knotes), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x000000000041b5c4 in QWidget::show (this=<value optimized out>, note=0x80d5f0) at /usr/include/qt4/QtGui/qwidget.h:473
#6  KNotesApp::showNote (this=<value optimized out>, note=0x80d5f0) at ../../knotes/knotesapp.cpp:560
#7  0x000000000041e75f in KNotesApp::showNote (this=<value optimized out>, id=...) at ../../knotes/knotesapp.cpp:312
#8  0x000000000041e85c in KNotesApp::slotShowNote (this=0x680ab0) at ../../knotes/knotesapp.cpp:422
#9  0x000000000041ed65 in KNotesApp::qt_metacall (this=0x680ab0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff80f8e4b0) at ./knotesapp.moc:121
#10 0x00007f43323b3647 in QMetaObject::activate (sender=0x9899f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x819d7a) at kernel/qobject.cpp:3294
#11 0x00007f4332fb5f32 in QAction::triggered (this=0x80d5f0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x00007f4332fb7f20 in QAction::activate (this=0x9899f0, event=<value optimized out>) at kernel/qaction.cpp:1245
#13 0x00007f43333fab8d in QMenuPrivate::activateCausedStack (this=0x7cdaa0, causedStack=..., action=0x9899f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:994
#14 0x00007f433340062f in QMenuPrivate::activateAction (this=0x7cdaa0, action=0x9899f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1086
#15 0x00007f4333d9c07e in KMenu::mouseReleaseEvent (this=0x7bdec0, e=0x1) at ../../kdeui/widgets/kmenu.cpp:456
#16 0x00007f4333012705 in QWidget::event (this=0x7bdec0, event=0x7fff80f8f270) at kernel/qwidget.cpp:7974
#17 0x00007f433340287b in QMenu::event (this=0x7bdec0, e=0x7fff80f8f270) at widgets/qmenu.cpp:2406
#18 0x00007f4332fbc08d in QApplicationPrivate::notify_helper (this=0x68cac0, receiver=0x7bdec0, e=0x7fff80f8f270) at kernel/qapplication.cpp:4242
#19 0x00007f4332fc2fad in QApplication::notify (this=<value optimized out>, receiver=0x7bdec0, e=0x7fff80f8f270) at kernel/qapplication.cpp:3822
#20 0x00007f4333ccae06 in KApplication::notify (this=0x7fff80f8fe30, receiver=0x7bdec0, event=0x7fff80f8f270) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007f433239fbdc in QCoreApplication::notifyInternal (this=0x7fff80f8fe30, receiver=0x7bdec0, event=0x7fff80f8f270) at kernel/qcoreapplication.cpp:704
#22 0x00007f4332fc48eb in QCoreApplication::sendEvent (receiver=0x7bdec0, event=0x7fff80f8f270, alienWidget=0x0, nativeWidget=0x7bdec0, buttonDown=<value optimized out>, lastMouseReceiver=..., 
    spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QApplicationPrivate::sendMouseEvent (receiver=0x7bdec0, event=0x7fff80f8f270, alienWidget=0x0, nativeWidget=0x7bdec0, buttonDown=<value optimized out>, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#24 0x00007f4333043773 in QETWidget::translateMouseEvent (this=0x7bdec0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#25 0x00007f433304275c in QApplication::x11ProcessEvent (this=0x7fff80f8fe30, event=0x7fff80f8fa50) at kernel/qapplication_x11.cpp:3501
#26 0x00007f433306c9a2 in x11EventSourceDispatch (s=0x683e90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x00007f432c68e13a in g_main_dispatch (context=0x683080) at /tmp/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#28 IA__g_main_context_dispatch (context=0x683080) at /tmp/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#29 0x00007f432c691998 in g_main_context_iterate (context=0x683080, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#30 0x00007f432c691b4c in IA__g_main_context_iteration (context=0x683080, may_block=1) at /tmp/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#31 0x00007f43323c968c in QEventDispatcherGlib::processEvents (this=0x6575e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#32 0x00007f433306c53f in QGuiEventDispatcherGlib::processEvents (this=0x80d5f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#33 0x00007f433239e4c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f433239e894 in QEventLoop::exec (this=0x7fff80f8fd80, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007f43323a0d46 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0x000000000041b113 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../knotes/main.cpp:69
Comment 2 Myriam Schweingruber 2013-02-14 11:11:58 UTC
Not reproducible with KDE 4.10, this is most likely solved since quite some time. Please feel free to reopen if you can reproduce this with KDE 4.10 or later.