Bug 182151 - knode crashing sending post
Summary: knode crashing sending post
Status: RESOLVED DUPLICATE of bug 182322
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 12:16 UTC by Buzzard
Modified: 2009-02-01 12:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Valgrind log of knode posting a message. (3.22 KB, application/x-bzip)
2009-02-01 11:11 UTC, Gunter Ohrner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Buzzard 2009-01-28 12:16:36 UTC
Version:           0.99.01 (using 4.2.00 (KDE 4.2.0), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.26-1-686

KNode crashes when trying to post a message to a newsgroup. (stable KDE4.2, KNode 0.99.1)
Comment 1 Dario Andres 2009-01-28 12:27:50 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here?
If you can't, read that page too and reopen this bug report if you experience the same bug again.
Thanks :)
Comment 2 Buzzard 2009-01-31 11:52:35 UTC
************************ backtrace *******************

Program: KNode (knode), signal SIGABRT
[Current thread is 0 (LWP 6643)]

Thread 2 (Thread 0xb187eb90 (LWP 6644)):
#0  0xb7f3a424 in __kernel_vsyscall ()
#1  0xb674dab1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb72e3670 in QProcessManager::run (this=0x84ca190) at io/qprocess_unix.cpp:301
#3  0xb721452e in QThreadPrivate::start (arg=0x84ca190) at thread/qthread_unix.cpp:185
#4  0xb53dc4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb67556de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb49408d0 (LWP 6643)):
#0  0xb7f3a424 in __kernel_vsyscall ()
#1  0xb6710ef6 in nanosleep () from /lib/i686/cmov/libc.so.6
#2  0xb6710d0f in sleep () from /lib/i686/cmov/libc.so.6
#3  0xb7631fd8 in ?? () from /usr/lib/libkdeui.so.5
#4  0x00000000 in ?? ()

Comment 3 Dario Andres 2009-01-31 12:22:54 UTC
You need to install debug symbols info for KDEPIM (which contains info for KNode)
Comment 4 Gunter Ohrner 2009-02-01 10:35:38 UTC
Hi!

I also got this crash, kNode 0.99.01 is virtually unusuable. :-(

The first time I sucessfully posted an article using this kNode version was after I installed the debugging libraries and tried to get a useful backtrace - Murphy at work. ;)

However, on the next try I got the crash again, the backtrace follows.

I'm using Debian SID and the KDE 4.2.0 final packages from Debian experimental.

Greetings,

  Gunter


Thread 1 (Thread 0xb4b5d8d0 (LWP 11048)):
#0  0xb802e424 in __kernel_vsyscall ()
#1  0xb67b5640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb67b7018 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb67f902d in malloc_consolidate () from /lib/i686/cmov/libc.so.6
#4  0xb67fa3af in _int_free () from /lib/i686/cmov/libc.so.6
#5  0xb67fa94b in free_check () from /lib/i686/cmov/libc.so.6
#6  0xb67fa7c5 in free () from /lib/i686/cmov/libc.so.6
#7  0xb6d0fddb in ~LayoutData (this=0x92eeed0) at text/qtextengine.cpp:2034
#8  0xb6d164dc in ~QTextEngine (this=0x9036638) at text/qtextengine.cpp:1314
#9  0xb6d17f9a in ~QTextLayout (this=0x0) at text/qtextlayout.cpp:383
#10 0xb6d40cf3 in ~QTextDocumentPrivate (this=0x91fe8b8) at text/qtextdocument_p.h:106
#11 0xb742ff1e in ~QObject (this=0x91fe8a8) at kernel/qobject.cpp:903
#12 0xb6d2c84d in ~QTextDocument (this=0x91fe8a8) at text/qtextdocument.cpp:338
#13 0xb742727f in QObjectPrivate::deleteChildren (this=0x91fe758) at kernel/qobject.cpp:1884
#14 0xb742fdc3 in ~QObject (this=0x91fe748) at kernel/qobject.cpp:884
#15 0xb6d014f8 in ~QTextControl (this=0x91fe748) at text/qtextcontrol.cpp:769
#16 0xb6f1b29a in ~QTextEditControl (this=0x91fe748) at widgets/qtextedit.cpp:75
#17 0xb742727f in QObjectPrivate::deleteChildren (this=0x91fcf98) at kernel/qobject.cpp:1884
#18 0xb6b67788 in ~QWidget (this=0x91ba370) at kernel/qwidget.cpp:1338
#19 0xb6e9a051 in ~QFrame (this=0x91ba370) at widgets/qframe.cpp:238
#20 0xb6f305dd in ~QAbstractScrollArea (this=0x91ba370) at widgets/qabstractscrollarea.cpp:478
#21 0xb6f162c1 in ~QTextEdit (this=0x91ba370) at widgets/qtextedit.cpp:632
#22 0xb77da816 in ~KTextEdit (this=0x91ba370) at ../../kdeui/widgets/ktextedit.cpp:241
#23 0xb77bf8e4 in ~KRichTextEdit (this=0x91ba370) at ../../kdeui/widgets/krichtextedit.cpp:126
#24 0xb77c2bd0 in ~KRichTextWidget (this=0x91ba370) at ../../kdeui/widgets/krichtextwidget.cpp:193
#25 0xb7db8781 in ~KMeditor (this=0x91ba370) at ../../libkdepim/kmeditor.cpp:429
#26 0xb7c3785b in ~KNComposerEditor (this=0x91ba370) at ../../knode/kncomposereditor.cpp:36
#27 0xb742727f in QObjectPrivate::deleteChildren (this=0x91b8dc0) at kernel/qobject.cpp:1884
#28 0xb6b67328 in ~QWidget (this=0x91b8d88) at kernel/qwidget.cpp:1338
#29 0xb742727f in QObjectPrivate::deleteChildren (this=0x91b8b98) at kernel/qobject.cpp:1884
#30 0xb6b67788 in ~QWidget (this=0x91b8b30) at kernel/qwidget.cpp:1338
#31 0xb6e9a051 in ~QFrame (this=0x91b8b30) at widgets/qframe.cpp:238
#32 0xb6f01163 in ~QSplitter (this=0x91b8b30) at widgets/qsplitter.cpp:971
#33 0xb7c360d9 in ~ComposerView (this=0x91b8b30) at ../../knode/kncomposerview.cpp:136
#34 0xb742727f in QObjectPrivate::deleteChildren (this=0x91baaa8) at kernel/qobject.cpp:1884
#35 0xb6b67788 in ~QWidget (this=0x8e23848) at kernel/qwidget.cpp:1338
#36 0xb6eb5671 in ~QMainWindow (this=0x8e23848) at widgets/qmainwindow.cpp:323
#37 0xb77ae159 in ~KMainWindow (this=0x8e23848) at ../../kdeui/widgets/kmainwindow.cpp:466
#38 0xb77f0c87 in ~KXmlGuiWindow (this=0x8e23848, __vtt_parm=0xb7cad1fc)
    at ../../kdeui/xmlgui/kxmlguiwindow.cpp:127
#39 0xb7c2387d in ~KNComposer (this=0x8e23848) at ../../knode/kncomposer.cpp:459
#40 0xb7426f6c in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3659
#41 0xb7428923 in QObject::event (this=0x8e23848, e=0x92e1468) at kernel/qobject.cpp:1139
#42 0xb6b65e64 in QWidget::event (this=0x8e23848, event=0x92e1468) at kernel/qwidget.cpp:7551
#43 0xb6eb6267 in QMainWindow::event (this=0x8e23848, event=0x92e1468) at widgets/qmainwindow.cpp:1268
#44 0xb77ad377 in KMainWindow::event (this=0x8e23848, ev=0x92e1468)
    at ../../kdeui/widgets/kmainwindow.cpp:1093
#45 0xb77f1b2c in KXmlGuiWindow::event (this=0x8e23848, ev=0x92e1468)
    at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#46 0xb6b0e79c in QApplicationPrivate::notify_helper (this=0x8a97738, receiver=0x8e23848, e=0x92e1468)
    at kernel/qapplication.cpp:3803
#47 0xb6b166ea in QApplication::notify (this=0xbfb47e6c, receiver=0x8e23848, e=0x92e1468)
    at kernel/qapplication.cpp:3768
#48 0xb76cb77d in KApplication::notify (this=0xbfb47e6c, receiver=0x8e23848, event=0x92e1468)
    at ../../kdeui/kernel/kapplication.cpp:307
#49 0xb74190e1 in QCoreApplication::notifyInternal (this=0xbfb47e6c, receiver=0x8e23848,
    event=0x92e1468) at kernel/qcoreapplication.cpp:587
#50 0xb7419d65 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
    data=0x8a7a4b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#51 0xb7419f5d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)
    at kernel/qcoreapplication.cpp:1091
#52 0xb744399f in postEventSourceDispatch (s=0x8a91318)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#53 0xb535c1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0xb535f853 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0x08a91290 in ?? ()
#56 0x00000000 in ?? ()
Comment 5 Gunter Ohrner 2009-02-01 10:44:12 UTC
Mh, I just provoked the crash again after installing the glib debug symbols to get rid of the last questions marks in the backtrace, but got a somewhat different backtrace instead. However, it crashes in KNComposer's destructor again, so there seems to be some memory corruption going on at this point...

Thread 1 (Thread 0xb4bf38d0 (LWP 11236)):
#0  0xb80c4424 in __kernel_vsyscall ()   
#1  0xb684b640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb684d018 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb688e653 in malloc_printerr () from /lib/i686/cmov/libc.so.6
#4  0xb6890573 in _int_free () from /lib/i686/cmov/libc.so.6
#5  0xb689094b in free_check () from /lib/i686/cmov/libc.so.6
#6  0xb68907c5 in free () from /lib/i686/cmov/libc.so.6
#7  0xb6a34401 in operator delete () from /usr/lib/libstdc++.so.6
#8  0xb7cb9898 in ~KNComposer (this=0x9be7758) at ../../knode/kncomposer.cpp:459
#9  0xb74bcf6c in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3659
#10 0xb74be923 in QObject::event (this=0x9be7758, e=0xa0b4860) at kernel/qobject.cpp:1139
#11 0xb6bfbe64 in QWidget::event (this=0x9be7758, event=0xa0b4860) at kernel/qwidget.cpp:7551
#12 0xb6f4c267 in QMainWindow::event (this=0x9be7758, event=0xa0b4860) at widgets/qmainwindow.cpp:1268
#13 0xb7843377 in KMainWindow::event (this=0x9be7758, ev=0xa0b4860)
    at ../../kdeui/widgets/kmainwindow.cpp:1093
#14 0xb7887b2c in KXmlGuiWindow::event (this=0x9be7758, ev=0xa0b4860)
    at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#15 0xb6ba479c in QApplicationPrivate::notify_helper (this=0x9864738, receiver=0x9be7758, e=0xa0b4860)
    at kernel/qapplication.cpp:3803
#16 0xb6bac6ea in QApplication::notify (this=0xbfcdfffc, receiver=0x9be7758, e=0xa0b4860)
    at kernel/qapplication.cpp:3768
#17 0xb776177d in KApplication::notify (this=0xbfcdfffc, receiver=0x9be7758, event=0xa0b4860)
    at ../../kdeui/kernel/kapplication.cpp:307
#18 0xb74af0e1 in QCoreApplication::notifyInternal (this=0xbfcdfffc, receiver=0x9be7758,
    event=0xa0b4860) at kernel/qcoreapplication.cpp:587
#19 0xb74afd65 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
    data=0x98474b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#20 0xb74aff5d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)
    at kernel/qcoreapplication.cpp:1091
#21 0xb74d999f in postEventSourceDispatch (s=0x985e318)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#22 0xb53f21b8 in IA__g_main_context_dispatch (context=0x985e290)
    at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2012
#23 0xb53f5853 in g_main_context_iterate (context=0x985e290, block=1, dispatch=1, self=0x9864c10)
    at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2645
#24 0xb53f5a11 in IA__g_main_context_iteration (context=0x985e290, may_block=1)
    at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2708
#25 0xb74d95e8 in QEventDispatcherGlib::processEvents (this=0x9856c18, flags={i = -1077018872})
    at kernel/qeventdispatcher_glib.cpp:319
#26 0xb6c3dd75 in QGuiEventDispatcherGlib::processEvents (this=0x9856c18, flags={i = -1077018824})
    at kernel/qguieventdispatcher_glib.cpp:198
#27 0xb74ad7aa in QEventLoop::processEvents (this=0xbfcdffb0, flags={i = -1077018760})
    at kernel/qeventloop.cpp:143
#28 0xb74ad96a in QEventLoop::exec (this=0xbfcdffb0, flags={i = -1077018696})
    at kernel/qeventloop.cpp:194
---Type <return> to continue, or q <return> to quit---
#29 0xb74b0025 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#30 0xb6ba4617 in QApplication::exec () at kernel/qapplication.cpp:3331
#31 0x0804ea1f in main (argc=Cannot access memory at address 0x2be4
) at ../../knode/main.cpp:41
Comment 6 Gunter Ohrner 2009-02-01 11:11:49 UTC
Created attachment 30813 [details]
Valgrind log of knode posting a message.

kNode did not crash while running under valgrind, however valgrind did report some errors in KNComposer's destructor, maybe including the ause for the frequent crash?
Comment 7 Olivier Trichet 2009-02-01 12:28:44 UTC
This problem looks like the same as the one in #182322.

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