Bug 286092

Summary: Konversation crash on refresh after internet connection refresh
Product: [Applications] konversation Reporter: Pratik Sajnani <code.jtr>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hein
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pratik Sajnani 2011-11-08 10:30:41 UTC
Application: konversation (1.3.1)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I use a proxy to connect to the internet and it disconnects after some time. Everytime it disconnects, i reconnect it, by loggin into the web-client. The internet works but the Konversation channels have been disconnected anyway. Now i refresh my already open channels in Konversation( from their server, not individually ). At this point the Konversation crashes. 
I think as far as Konversation is concerned, it would crash everytime the internet gets disconnected and i reconnect those channels after connecting to the internet again. I am little sure about this because this is what happened once, when I used a connection without proxy.
The bug that I think is related to this one, I have pointed out
- I hope this information was useful

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4555710 (LWP 3366))]

Thread 3 (Thread 0xb2172b70 (LWP 3367)):
#0  0xb50fcdbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb55d4f14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4e89ceb in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4e8a8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4e8ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb645bb37 in QEventDispatcherGlib::processEvents (this=0x954b090, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb642c1dd in QEventLoop::processEvents (this=0xb21722b0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb642c421 in QEventLoop::exec (this=0xb21722b0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb632f90b in QThread::exec (this=0x9546c80) at thread/qthread.cpp:498
#9  0xb640ce2d in QInotifyFileSystemWatcherEngine::run (this=0x9546c80) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb63327b3 in QThreadPrivate::start (arg=0x9546c80) at thread/qthread_unix.cpp:331
#11 0xb50fad31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb55c70ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb0694b70 (LWP 3369)):
#0  0xb4f43d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb63897d5 in do_gettime (frac=0xb0694020, sec=0xb0694018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb645c4b6 in QTimerInfoList::updateCurrentTime (this=0xa8f5634) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb645c80a in QTimerInfoList::timerWait (this=0xa8f5634, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb645b053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb069412c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb645b0ed in timerSourcePrepare (source=0xa8f5600, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb4e8988c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb4e8a637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb4e8ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb645bb37 in QEventDispatcherGlib::processEvents (this=0xa8f3d58, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb642c1dd in QEventLoop::processEvents (this=0xb06942b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb642c421 in QEventLoop::exec (this=0xb06942b0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb632f90b in QThread::exec (this=0xa8e8708) at thread/qthread.cpp:498
#14 0xb640ce2d in QInotifyFileSystemWatcherEngine::run (this=0xa8e8708) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb63327b3 in QThreadPrivate::start (arg=0xa8e8708) at thread/qthread_unix.cpp:331
#16 0xb50fad31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb55c70ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4555710 (LWP 3366)):
[KCrash Handler]
#7  0xb556790e in free () from /lib/i386-linux-gnu/libc.so.6
#8  0xb574880f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#9  0x0816a713 in node_destruct (n=0x9e2c868, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:375
#10 erase (it=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:452
#11 removeFirst (this=0x967619c) at /usr/include/qt4/QtCore/qlist.h:273
#12 takeFirst (this=0x967619c) at /usr/include/qt4/QtCore/qlist.h:477
#13 IRCView::cullMarkedLine (this=0x9676180, where=0, rem=49, add=<optimized out>) at ../../src/viewer/ircview.cpp:474
#14 0x080802d8 in IRCView::qt_metacall (this=0x9676180, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfcc7a60) at moc_ircview.cpp:224
#15 0xb6433b7d in metacall (argv=0xbfcc7a60, idx=108, cl=QMetaObject::InvokeMetaMethod, object=0x9676180) at kernel/qmetaobject.cpp:237
#16 QMetaObject::metacall (object=0x9676180, cl=QMetaObject::InvokeMetaMethod, idx=108, argv=0xbfcc7a60) at kernel/qmetaobject.cpp:232
#17 0xb6442a6a in QMetaObject::activate (sender=0x9678ef0, m=0xb6239fa4, local_signal_index=0, argv=0xbfcc7a60) at kernel/qobject.cpp:3278
#18 0xb5ff1835 in QTextDocument::contentsChange (this=0x9678ef0, _t1=0, _t2=49, _t3=0) at .moc/release-shared/moc_qtextdocument.cpp:188
#19 0xb5b92b08 in QTextDocumentPrivate::finishEdit (this=0x9678f00) at text/qtextdocument_p.cpp:1216
#20 0xb5b92d8a in QTextDocumentPrivate::ensureMaximumBlockCount (this=0x9678f00) at text/qtextdocument_p.cpp:1703
#21 0xb5b92a39 in QTextDocumentPrivate::finishEdit (this=0x9678f00) at text/qtextdocument_p.cpp:1226
#22 0xb5bbbd98 in QTextCursor::endEditBlock (this=0xbfcc7c1c) at text/qtextcursor.cpp:2486
#23 0xb5b5106a in QTextControlPrivate::append (this=0x9678e70, text=..., format=Qt::AutoText) at text/qtextcontrol.cpp:2918
#24 0xb5b51152 in QTextControl::append (this=0x9678e08, text=...) at text/qtextcontrol.cpp:2924
#25 0xb5dbb92d in QTextEdit::append (this=0x9676180, text=...) at widgets/qtextedit.cpp:2622
#26 0x0816443f in IRCView::doRawAppend (this=0x9676180, newLine=..., rtl=false) at ../../src/viewer/ircview.cpp:956
#27 0x08169e79 in IRCView::doAppend (this=0x9676180, newLine=..., rtl=false, self=false) at ../../src/viewer/ircview.cpp:925
#28 0x0816e160 in IRCView::appendServerMessage (this=0x9676180, type=..., message=..., parseURL=true) at ../../src/viewer/ircview.cpp:818
#29 0x080d1a00 in Server::appendStatusMessage (this=0x9674620, type=..., message=...) at ../../src/irc/server.cpp:3244
#30 0x08136585 in InputFilter::parseServerCommand (this=0x96746dc, prefix=..., command=..., parameterList=...) at ../../src/irc/inputfilter.cpp:1279
#31 0x0813d21f in InputFilter::parseLine (this=0x96746dc, line=...) at ../../src/irc/inputfilter.cpp:147
#32 0x080d9f0e in Server::processIncomingData (this=0x9674620) at ../../src/irc/server.cpp:1027
#33 0x080e9f2d in Server::qt_metacall (this=0x9674620, _c=QMetaObject::InvokeMetaMethod, _id=88, _a=0xbfcc8ac4) at ./server.moc:414
#34 0xb6433b7d in metacall (argv=0xbfcc8ac4, idx=92, cl=QMetaObject::InvokeMetaMethod, object=0x9674620) at kernel/qmetaobject.cpp:237
#35 QMetaObject::metacall (object=0x9674620, cl=QMetaObject::InvokeMetaMethod, idx=92, argv=0xbfcc8ac4) at kernel/qmetaobject.cpp:232
#36 0xb6442a6a in QMetaObject::activate (sender=0x9674670, m=0xb65645f8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#37 0xb64917d5 in QTimer::timeout (this=0x9674670) at .moc/release-shared/moc_qtimer.cpp:134
#38 0xb644a286 in QTimer::timerEvent (this=0x9674670, e=0xbfcc8ebc) at kernel/qtimer.cpp:271
#39 0xb6445994 in QObject::event (this=0x9674670, e=0xbfcc8ebc) at kernel/qobject.cpp:1181
#40 0xb58ded54 in notify_helper (e=0xbfcc8ebc, receiver=0x9674670, this=0x92c0ea0) at kernel/qapplication.cpp:4486
#41 QApplicationPrivate::notify_helper (this=0x92c0ea0, receiver=0x9674670, e=0xbfcc8ebc) at kernel/qapplication.cpp:4458
#42 0xb58e4103 in QApplication::notify (this=0xbfcc8ebc, receiver=0x9674670, e=0xbfcc8ebc) at kernel/qapplication.cpp:3886
#43 0xb6a18681 in KApplication::notify (this=0xbfcc91d4, receiver=0x9674670, event=0xbfcc8ebc) at ../../kdeui/kernel/kapplication.cpp:311
#44 0xb642d19e in QCoreApplication::notifyInternal (this=0xbfcc91d4, receiver=0x9674670, event=0xbfcc8ebc) at kernel/qcoreapplication.cpp:787
#45 0xb645dc10 in sendEvent (event=0xbfcc8ebc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QTimerInfoList::activateTimers (this=0x92c3804) at kernel/qeventdispatcher_unix.cpp:603
#47 0xb645b122 in timerSourceDispatch (source=0x92c37d0) at kernel/qeventdispatcher_glib.cpp:184
#48 0xb4e8a25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb4e8a990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb4e8ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb645bada in QEventDispatcherGlib::processEvents (this=0x92bb380, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#52 0xb5996e3a in QGuiEventDispatcherGlib::processEvents (this=0x92bb380, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb642c1dd in QEventLoop::processEvents (this=0xbfcc9134, flags=...) at kernel/qeventloop.cpp:149
#54 0xb642c421 in QEventLoop::exec (this=0xbfcc9134, flags=...) at kernel/qeventloop.cpp:201
#55 0xb643119d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#56 0xb58dc8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#57 0x0807c0e2 in main (argc=) at ../../src/main.cpp:101

This bug may be a duplicate of or related to bug 210106.

Possible duplicates by query: bug 284614, bug 283891, bug 283890, bug 283789, bug 283717.

Reported using DrKonqi
Comment 1 Eike Hein 2011-11-08 10:45:24 UTC

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