Bug #2461

Crash when closing Kadu if used context menu in history window which is still visible

Added by Bartosz Brachaczek over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:02/06/2012
Priority:Regression Due date:
Assignee:- % Done:

100%

Category:- Spent time: 1.00 hour
Target version:Kadu - 0.12.0 Estimated time:2.00 hours
Found in Git commit: Steps to reproduce:1. Open Kadu.
2. Open History Window.
3. Right click on a buddy to get a context menu.
4. Exit Kadu without closing the History Window.
5. Crash.
Fixed in Git commit:c49e02c446400be81cc831e27be5ac2c6864d69a Additional information:Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4d613da in QApplicationPrivate::notify_helper (this=0xb09ca0, receiver=0x7fffe04f85b0, e=0x7fffffffc8c0) at kernel/qapplication.cpp:4550
4550 kernel/qapplication.cpp: Nie ma takiego pliku ani katalogu.
(gdb) bt
#0 0x00007ffff4d613da in QApplicationPrivate::notify_helper (this=0xb09ca0, receiver=0x7fffe04f85b0, e=0x7fffffffc8c0) at kernel/qapplication.cpp:4550
#1 0x00007ffff4d66c88 in QApplication::notify (this=<optimized out>, receiver=0x7fffe04f85b0, e=0x7fffffffc8c0) at kernel/qapplication.cpp:4411
#2 0x00007ffff3ff194c in QCoreApplication::notifyInternal (this=0xb069d0, receiver=0x7fffe04f85b0, event=0x7fffffffc8c0) at kernel/qcoreapplication.cpp:876
#3 0x00007ffff4007a50 in sendEvent (event=0x7fffffffc8c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#4 QObjectPrivate::setParent_helper (this=0x7fffe06fb560, o=0x0) at kernel/qobject.cpp:1934
#5 0x00007ffff400c7c7 in QObject::~QObject (this=0x7fffe0630e90, __in_chrg=<optimized out>) at kernel/qobject.cpp:932
#6 0x00007ffff4d58c12 in QAction::~QAction (this=0x7fffe0630e90, __in_chrg=<optimized out>) at kernel/qaction.cpp:652
#7 0x00000000006529a2 in Action::~Action (this=0x7fffe0630e90, __in_chrg=<optimized out>) at /home/beevvy/kadu-git/kadu-core/gui/actions/action.cpp:61
#8 0x00000000006529f6 in Action::~Action (this=0x7fffe0630e90, __in_chrg=<optimized out>) at /home/beevvy/kadu-git/kadu-core/gui/actions/action.cpp:70
#9 0x0000000000655005 in qDeleteAll<QMap<ActionContext*, Action*>::const_iterator> (begin=..., end=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#10 0x0000000000654914 in qDeleteAll<QMap<ActionContext*, Action*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#11 0x0000000000653ad5 in ActionDescription::~ActionDescription (this=0x121d4c0, __in_chrg=<optimized out>)
at /home/beevvy/kadu-git/kadu-core/gui/actions/action-description.cpp:51
#12 0x0000000000653c42 in ActionDescription::~ActionDescription (this=0x121d4c0, __in_chrg=<optimized out>)
at /home/beevvy/kadu-git/kadu-core/gui/actions/action-description.cpp:55
#13 0x00007ffff4008397 in QObjectPrivate::deleteChildren (this=0x122b640) at kernel/qobject.cpp:1908
#14 0x00007ffff400c7a7 in QObject::~QObject (this=0x122a730, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#15 0x00000000006f0fe8 in KaduWindowActions::~KaduWindowActions (this=0x122a730, __in_chrg=<optimized out>)
at /home/beevvy/kadu-git/kadu-core/gui/windows/kadu-window-actions.cpp:375
#16 0x00000000006f1044 in KaduWindowActions::~KaduWindowActions (this=0x122a730, __in_chrg=<optimized out>)
at /home/beevvy/kadu-git/kadu-core/gui/windows/kadu-window-actions.cpp:377
#17 0x00007ffff4008397 in QObjectPrivate::deleteChildren (this=0x7fffe00010d0) at kernel/qobject.cpp:1908
#18 0x00007ffff4dbb195 in QWidget::~QWidget (this=0x7fffe0000f20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#19 0x00000000006f9e88 in MainWindow::~MainWindow (this=0x7fffe0000f20, __in_chrg=<optimized out>) at /home/beevvy/kadu-git/kadu-core/gui/windows/main-window.cpp:77
#20 0x00000000006e8e94 in KaduWindow::~KaduWindow (this=0x7fffe0000f20, __in_chrg=<optimized out>) at /home/beevvy/kadu-git/kadu-core/gui/windows/kadu-window.cpp:119
#21 0x00000000006e8f4a in KaduWindow::~KaduWindow (this=0x7fffe0000f20, __in_chrg=<optimized out>) at /home/beevvy/kadu-git/kadu-core/gui/windows/kadu-window.cpp:122
#22 0x0000000000638027 in Core::~Core (this=0xc10eb0, __in_chrg=<optimized out>) at /home/beevvy/kadu-git/kadu-core/core/core.cpp:141
#23 0x00000000006381a4 in Core::~Core (this=0xc10eb0, __in_chrg=<optimized out>) at /home/beevvy/kadu-git/kadu-core/core/core.cpp:162
#24 0x000000000063f61f in Core::quit (this=0xc10eb0) at /home/beevvy/kadu-git/kadu-core/core/core.cpp:592
#25 0x0000000000640594 in Core::qt_static_metacall (_o=0xc10eb0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffcf30)
at /home/beevvy/kadu-git/build/kadu-core/core/moc_core.cxx:78
#26 0x00007ffff400b869 in QMetaObject::activate (sender=0xb069d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#27 0x00007ffff3ff599d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1153
#28 0x0000000000599996 in main (argc=1, argv=0x7fffffffdb38) at /home/beevvy/kadu-git/kadu-core/main.cpp:424
Junior job:No

History

Updated by Rafał Malinowski over 1 year ago

  • Project changed from core to history

Updated by Rafał Malinowski over 1 year ago

  • Estimated time set to 2.00

Updated by Rafał Malinowski over 1 year ago

  • Status changed from New to In Progress

Updated by Rafał Malinowski over 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
  • Fixed in Git commit set to c49e02c446400be81cc831e27be5ac2c6864d69a

Also available in: Atom PDF