Bug 221826 - Konversation consistently crashes on exit [__libc_message, malloc_printerr, ~KCategoryDrawer]
Summary: Konversation consistently crashes on exit [__libc_message, malloc_printerr, ~...
Status: RESOLVED DUPLICATE of bug 196207
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-08 17:54 UTC by JR
Modified: 2010-01-08 20:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JR 2010-01-08 17:54:52 UTC
Application: konversation (1.2)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.33-020633rc2-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
KDE SC 4.4b2 from Kubuntu 9.10 ppa packages. Konversation package version is 1.2-0ubuntu3.

Konversation crashes everytime I exit it, via File -> Quit.

If the crash reporting assistant here is working, it should attach the crash log generated (with debugging symbols installed).

The crash can be reproduced everytime.

 -- Backtrace:
Application: Konversation (konversation), signal: Aborted
[Current thread is 1 (Thread 0xb4c7e760 (LWP 3087))]

Thread 2 (Thread 0xb1c0eb70 (LWP 3090)):
#0  0xb7808430 in __kernel_vsyscall ()
#1  0xb5549e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb579f78d in __pthread_cond_wait (cond=0x874b1f8, mutex=0x874b1e0) at forward.c:139
#3  0xb63d7307 in QWaitConditionPrivate::wait (this=0x87475e0, mutex=0x87475dc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x87475e0, mutex=0x87475dc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb6d43102 in QHostInfoAgent::run (this=0x87475d0) at kernel/qhostinfo.cpp:252
#6  0xb63d63ae in QThreadPrivate::start (arg=0x87475d0) at thread/qthread_unix.cpp:244
#7  0xb554580e in start_thread (arg=0xb1c0eb70) at pthread_create.c:300
#8  0xb57927ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4c7e760 (LWP 3087)):
[KCrash Handler]
#6  0xb7808430 in __kernel_vsyscall ()
#7  0xb56f04d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb56f3932 in *__GI_abort () at abort.c:92
#9  0xb5726ee5 in __libc_message (do_abort=2, fmt=0xb57ea438 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0xb5730ff1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x843bae0) at malloc.c:6217
#11 0xb5735806 in *__GI___libc_free (mem=0x6) at malloc.c:3677
#12 0xb58c26f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#13 0xb6a8b52c in ~KCategoryDrawer (this=0x843bae0, __in_chrg=<value optimized out>) at ../../kdeui/itemviews/kcategorydrawer.cpp:59
#14 0x081ffcb7 in ~TransferView (this=0x848b2c0, __in_chrg=<value optimized out>) at /build/buildd/konversation-1.2/src/dcc/transferview.cpp:81
#15 0xb64e76af in QObjectPrivate::deleteChildren (this=0x843f8e0) at kernel/qobject.cpp:1998
#16 0xb5a96ea7 in ~QWidget (this=0x848b330, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1459
#17 0xb5e88731 in ~QFrame (this=0x848b330, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#18 0xb5ef21d3 in ~QSplitter (this=0x848b330, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1029
#19 0xb64e76af in QObjectPrivate::deleteChildren (this=0x84ca960) at kernel/qobject.cpp:1998
#20 0xb5a96ea7 in ~QWidget (this=0x8434310, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1459
#21 0xb5e88731 in ~QFrame (this=0x8434310, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#22 0xb6b7f511 in ~KHBox (this=0x8434310, __in_chrg=<value optimized out>) at ../../kdeui/widgets/khbox.cpp:51
#23 0xb6bd8fa1 in ~KVBox (this=0x8434310, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#24 0x081ed471 in ~TransferPanel (this=0x8434310, __in_chrg=<value optimized out>) at /build/buildd/konversation-1.2/src/dcc/transferpanel.cpp:57
#25 0x08182d48 in ViewContainer::deleteDccPanel (this=0x8427f90) at /build/buildd/konversation-1.2/src/viewer/viewcontainer.cpp:2139
#26 0x08182d7c in ViewContainer::prepareShutdown (this=0x8427f90) at /build/buildd/konversation-1.2/src/viewer/viewcontainer.cpp:122
#27 0x080861fc in Application::prepareShutdown (this=0xbf85c5a0) at /build/buildd/konversation-1.2/src/application.cpp:238
#28 0x080a2500 in MainWindow::queryClose (this=0x8429de8) at /build/buildd/konversation-1.2/src/mainwindow.cpp:599
#29 0xb6b99a51 in KMainWindow::closeEvent (this=0x8429de8, e=0xbf85b338) at ../../kdeui/widgets/kmainwindow.cpp:597
#30 0xb5a8f981 in QWidget::event (this=0x8429de8, event=0xbf85b338) at kernel/qwidget.cpp:8132
#31 0xb5ea6737 in QMainWindow::event (this=0x8429de8, event=0xbf85b338) at widgets/qmainwindow.cpp:1434
#32 0xb6b97c64 in KMainWindow::event (this=0x8429de8, ev=0xbf85b338) at ../../kdeui/widgets/kmainwindow.cpp:1103
#33 0xb6bdfb7f in KXmlGuiWindow::event (this=0x8429de8, ev=0xbf85b338) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#34 0xb5a3219c in QApplicationPrivate::notify_helper (this=0x833e050, receiver=0x8429de8, e=0xbf85b338) at kernel/qapplication.cpp:4242
#35 0xb5a38eb7 in QApplication::notify (this=0xbf85c5a0, receiver=0x8429de8, e=0xbf85b338) at kernel/qapplication.cpp:4207
#36 0xb6aa60fa in KApplication::notify (this=0xbf85c5a0, receiver=0x8429de8, event=0xbf85b338) at ../../kdeui/kernel/kapplication.cpp:302
#37 0xb64d7eab in QCoreApplication::notifyInternal (this=0xbf85c5a0, receiver=0x8429de8, event=0xbf85b338) at kernel/qcoreapplication.cpp:704
#38 0xb5a4091e in QCoreApplication::sendEvent (receiver=0x8429de8, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 0xb5a94bce in QWidgetPrivate::close_helper (this=0x84293d0, mode=QWidgetPrivate::CloseWithEvent) at kernel/qwidget.cpp:7541
#40 0xb5a94cf8 in QWidget::close (this=0x8429de8) at kernel/qwidget.cpp:7612
#41 0x080a26d4 in MainWindow::qt_metacall (this=0x8429de8, _c=QMetaObject::InvokeMetaMethod, _id=70, _a=0xbf85b4c8) at /build/buildd/konversation-1.2/obj-i486-linux-gnu/src/mainwindow.moc:140
#42 0xb64dd11a in QMetaObject::metacall (object=0x8429de8, cl=3087, idx=70, argv=0xbf85b4c8) at kernel/qmetaobject.cpp:237
#43 0xb64eb89b in QMetaObject::activate (sender=0x85cec08, m=0x8287b28, local_signal_index=1, argv=0xbf85b4c8) at kernel/qobject.cpp:3294
#44 0xb5a2ba39 in QAction::triggered (this=0x85cec08, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#45 0xb5a2dbac in QAction::activate (this=0x85cec08, event=QAction::Trigger) at kernel/qaction.cpp:1245
#46 0xb5ecc08c in QMenuPrivate::activateCausedStack (this=0x8604b80, causedStack=..., action=0x85cec08, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:994
#47 0xb5ed237b in QMenuPrivate::activateAction (this=0x8604b80, action=0x85cec08, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1086
#48 0xb5ed33b7 in QMenu::mouseReleaseEvent (this=0x8604e38, e=0xbf85bcf0) at widgets/qmenu.cpp:2307
#49 0xb6b9c145 in KMenu::mouseReleaseEvent (this=0x8604e38, e=0xbf85bcf0) at ../../kdeui/widgets/kmenu.cpp:469
#50 0xb5a8ef9e in QWidget::event (this=0x8604e38, event=0xbf85bcf0) at kernel/qwidget.cpp:7974
#51 0xb5ed4a44 in QMenu::event (this=0x8604e38, e=0xbf85bcf0) at widgets/qmenu.cpp:2406
#52 0xb5a3219c in QApplicationPrivate::notify_helper (this=0x833e050, receiver=0x8604e38, e=0xbf85bcf0) at kernel/qapplication.cpp:4242
#53 0xb5a3976b in QApplication::notify (this=0xbf85c5a0, receiver=0x8604e38, e=0xbf85bcf0) at kernel/qapplication.cpp:3822
#54 0xb6aa60fa in KApplication::notify (this=0xbf85c5a0, receiver=0x8604e38, event=0xbf85bcf0) at ../../kdeui/kernel/kapplication.cpp:302
#55 0xb64d7eab in QCoreApplication::notifyInternal (this=0xbf85c5a0, receiver=0x8604e38, event=0xbf85bcf0) at kernel/qcoreapplication.cpp:704
#56 0xb5a3871f in QCoreApplication::sendEvent (receiver=0x8604e38, event=0xbf85bcf0, alienWidget=0x0, nativeWidget=0x8604e38, buttonDown=0xb636d060, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QApplicationPrivate::sendMouseEvent (receiver=0x8604e38, event=0xbf85bcf0, alienWidget=0x0, nativeWidget=0x8604e38, buttonDown=0xb636d060, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#58 0xb5ac21f7 in QETWidget::translateMouseEvent (this=0x8604e38, event=0xbf85c20c) at kernel/qapplication_x11.cpp:4302
#59 0xb5ac11f1 in QApplication::x11ProcessEvent (this=0xbf85c5a0, event=0xbf85c20c) at kernel/qapplication_x11.cpp:3379
#60 0xb5af004a in x11EventSourceDispatch (s=0x834a570, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0xb5356e88 in g_main_dispatch (context=0x8342ff8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#62 IA__g_main_context_dispatch (context=0x8342ff8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#63 0xb535a730 in g_main_context_iterate (context=0x8342ff8, block=<value optimized out>, dispatch=1, self=0x8340908) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#64 0xb535a863 in IA__g_main_context_iteration (context=0x8342ff8, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#65 0xb6503bd5 in QEventDispatcherGlib::processEvents (this=0x8341200, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#66 0xb5aefb75 in QGuiEventDispatcherGlib::processEvents (this=0x8341200, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#67 0xb64d64c9 in QEventLoop::processEvents (this=0xbf85c504, flags=) at kernel/qeventloop.cpp:149
#68 0xb64d691a in QEventLoop::exec (this=0xbf85c504, flags=...) at kernel/qeventloop.cpp:201
#69 0xb64dab0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#70 0xb5a32237 in QApplication::exec () at kernel/qapplication.cpp:3570
#71 0x080a4e09 in main (argc=1, argv=0xbf85c9b4) at /build/buildd/konversation-1.2/src/main.cpp:98

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-08 18:38:21 UTC
This could be related to the glibc bug : bug 196207.
Check this:
- Quit Konversation
- Start Konsole
- Type "export QT_NO_GLIB=1" + Enter
- Type "export MALLOC_CHECK_=" + Enter
- Type "konversation" + Enter
- Use Konversation and check if it crashes or not
If it doesn't crash, then it is likely to be bug 196207. 
Thanks
Comment 2 JR 2010-01-08 20:42:54 UTC
With those variables exported it stops crashing.

Mark as duplicate?
Comment 3 Dario Andres 2010-01-08 20:51:04 UTC
Yes, it is the same issue. Merging. Thanks

*** This bug has been marked as a duplicate of bug 196207 ***