Bug 197714

Summary: Crash while acting as Groupwise Client without active chat (listening minimized in taskbar)
Product: [Unmaintained] kopete Reporter: jansen
Component: Novell GroupWise Messenger PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: mattr
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace
STDOUT/STDERR messages by kopete

Description jansen 2009-06-24 12:09:38 UTC
Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)) "release 138"
Qt Version: 4.5.1
Operating System: Linux 2.6.27.23-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
Kopete was minified and I had not touched it for a while. It was acting as a Groupwise client. I didn't see any activity that was lost or saw anyone contacting me so I have no idea what may have caused the crash.
This happens randomly about once a day (i.e. during 8 hours of run-time).
I should probably note that since a few weeks now (probably since switching to KDE 4.3 in openSUSE KDE4:Factory repository) I experience random connection failures with the GroupWise Server (without Kopete crashes). Other folks in our office using different clients do not report similar problems. Instantly manually reconnecting to the GroupWise Server is never a problem.
These connection failures happen about 6 to 10 times a day.
It might be that the crash occurs in some of these cases where the connection is lost.

 -- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 1 (Thread 0x7fdf03e6b750 (LWP 4157))]

Thread 3 (Thread 0x7fdeee298950 (LWP 4356)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff0bfff6fb in ?? ()
#2  0x00007fdefa99f4ed in clock_gettime () from /lib64/librt.so.1
#3  0x00007fdeffed138d in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdeffed1581 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007fdeffed2f63 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007fdeffecfa6d in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007fdefa7131aa in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fdefa7135ca in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fdefa713a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fdeffecf8be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#11 0x00007fdeffea49f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007fdeffea4dbd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#13 0x00007fdeeea10bee in QCA::SyncThread::run() () from /usr/lib64/libqca.so.2
#14 0x00007fdeffdbcf22 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007fdeffb49070 in start_thread () from /lib64/libpthread.so.0
#16 0x00007fdefe30910d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdeeda97950 (LWP 4357)):
#0  0x00007fdeffb4cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fdeffdbded9 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fdf0114b5ec in ?? () from /usr/lib64/libQtNetwork.so.4
#3  0x00007fdeffdbcf22 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fdeffb49070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fdefe30910d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdf03e6b750 (LWP 4157)):
[KCrash Handler]
#5  0x00007fdefe268645 in raise () from /lib64/libc.so.6
#6  0x00007fdefe269c33 in abort () from /lib64/libc.so.6
#7  0x00007fdeffdb4f05 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#8  0x00007fdeffdb504b in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#9  0x00007fdeffdb50ea in qt_assert(char const*, char const*, int) () from /usr/lib64/libQtCore.so.4
#10 0x00007fdeeea79593 in QCA::TLS::Private::tls_resultsReady() () from /usr/lib64/libqca.so.2
#11 0x00007fdeeea6e851 in QCA::TLS::Private::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libqca.so.2
#12 0x00007fdeffebbc22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007fdeeea940f0 in QCA::TLSContext::resultsReady() () from /usr/lib64/libqca.so.2
#14 0x00007fdeeea9448f in QCA::TLSContext::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libqca.so.2
#15 0x00007fdeffeb62b8 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#16 0x00007fdefeea778d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007fdefeeafa2a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007fdf00a8804b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x00007fdeffea615c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x00007fdeffea6dda in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#21 0x00007fdeffecfc13 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x00007fdefa7100fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fdefa7138cd in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fdefa713a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fdeffecf89f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#26 0x00007fdefef3eb0f in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007fdeffea49f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007fdeffea4dbd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007fdeffea70a4 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#30 0x0000000000415778 in _start ()

Reported using DrKonqi
Comment 1 Matt Rogers 2009-09-05 21:06:00 UTC
If you can reproduce the crash at will, please read
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
and post a complete backtrace here. Please paste it in a comment rather than attaching to the bug report.

Thanks :)
Comment 2 jansen 2009-09-07 10:14:32 UTC
Sorry - I don't know how to manually trigger the crash. Also I've been on holiday for the last 3 weeks and have just updated to KDE 4.3.1 (openSUSE KDE4:Factory repository) so I'll have to watch out for crashes for a few days in this modified context.

I am, however, still witnessing the random connection losses to our GroupWise server: How would I debug those? Just running "kopete --nofork" and watch the shell output?
Comment 3 Matt Rogers 2009-09-12 20:12:12 UTC
'kopete --nofork' would work, as long as you're getting debug output.
You may need to install the proper debuginfo packages (whatever they
happen to be on openSUSE)
Comment 4 jansen 2010-01-14 10:26:01 UTC
Long time no see...

OK, now I have openSUSE 11.2, with KDE 4.3.4 and kopete 4.3.4-2.2 installed from http://download.opensuse.org/repositories/KDE:/43/openSUSE_11.2/

I also have the -debuginfo packages installed as suggested.

Kopete still randomly crashes while being backgrounded, listening to our GroupWise 7 server.

Hopefully the following backtrace provides more of the needed info to fix this problem:

Application: Kopete (kopete), signal: Aborted
[Current thread is 1 (Thread 0x7f6f61dcd750 (LWP 18415))]

Thread 3 (Thread 0x7f6f50f11910 (LWP 18416)):
#0  0x00007f6f5df4e049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6f5f60553b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f6f5c8259ec in ?? () from /usr/lib64/libQtNetwork.so.4
#3  0x00007f6f5f604485 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f6f5df4965d in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6f5e47f14d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6f46275910 (LWP 20655)):
#0  0x00007f6f5e476033 in poll () from /lib64/libc.so.6
#1  0x00007f6f59ad258c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6f59ad28d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6f5f7123f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f6f5f6e8712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f6f5f6e8ae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f6f4a3beaab in QCA::SyncThread::run() () from /usr/lib64/libqca.so.2
#7  0x00007f6f5f604485 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f6f5df4965d in start_thread () from /lib64/libpthread.so.0
#9  0x00007f6f5e47f14d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6f61dcd750 (LWP 18415)):
[KCrash Handler]
#5  0x00007f6f5e3e04e5 in raise () from /lib64/libc.so.6
#6  0x00007f6f5e3e19b0 in abort () from /lib64/libc.so.6
#7  0x00007f6f5f5fc954 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#8  0x00007f6f5f5fcaa6 in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#9  0x00007f6f5f5fcb4a in qt_assert(char const*, char const*, int) () from /usr/lib64/libQtCore.so.4
#10 0x00007f6f4a41d6d6 in QCA::TLS::Private::tls_resultsReady() () from /usr/lib64/libqca.so.2
#11 0x00007f6f4a419058 in QCA::TLS::Private::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libqca.so.2
#12 0x00007f6f5f6fefbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007f6f4a43c563 in QCA::TLSContext::resultsReady() () from /usr/lib64/libqca.so.2
#14 0x00007f6f4a43c519 in QCA::TLSContext::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libqca.so.2
#15 0x00007f6f5f6f92d9 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#16 0x00007f6f5ebb52ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f6f5ebbc57e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f6f602d4f26 in KApplication::notify (this=0x7ffff68da5b0, receiver=0xacf990, event=0x1840d70) at /usr/src/debug/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#19 0x00007f6f5f6e9ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x00007f6f5f6ea9ea in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#21 0x00007f6f5f712803 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x00007f6f59acedde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f6f59ad27a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f6f59ad28d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f6f5f7123a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#26 0x00007f6f5ec4831e in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f6f5f6e8712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007f6f5f6e8ae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007f6f5f0127ee in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#30 0x00007f6f60248972 in KDialogQueue::Private::slotShowQueuedDialog (this=0xe14150) at /usr/src/debug/kdelibs-4.3.4/kdeui/dialogs/kdialog.cpp:1054
#31 0x00007f6f602489f1 in KDialogQueue::qt_metacall (this=0x16dda70, _c=InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdelibs-4.3.4/build/kdeui/kdialogqueue_p.moc:66
#32 0x00007f6f5f6fefbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#33 0x00007f6f5f703fff in ?? () from /usr/lib64/libQtCore.so.4
#34 0x00007f6f5f6f8f63 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#35 0x00007f6f5ebb52ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x00007f6f5ebbc57e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#37 0x00007f6f602d4f26 in KApplication::notify (this=0x7ffff68da5b0, receiver=0x190e9c0, event=0x7ffff68da1b0) at /usr/src/debug/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#38 0x00007f6f5f6e9ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#39 0x00007f6f5f71571d in ?? () from /usr/lib64/libQtCore.so.4
#40 0x00007f6f5f712678 in ?? () from /usr/lib64/libQtCore.so.4
#41 0x00007f6f59acedde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f6f59ad27a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f6f59ad28d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f6f5f7123a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#45 0x00007f6f5ec4831e in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007f6f5f6e8712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#47 0x00007f6f5f6e8ae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#48 0x00007f6f5f6eac99 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#49 0x0000000000415736 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdenetwork-4.3.4/kopete/kopete/main.cpp:104
Comment 5 jansen 2010-02-11 17:31:28 UTC
Still happens with same backtrace after updating to KDE SC 4.4 (openSUSE 11.2 Factory repo)
Comment 6 jansen 2010-03-12 12:25:31 UTC
Created attachment 41566 [details]
Backtrace

Backtrace as reported by KCrash
Comment 7 jansen 2010-03-12 12:27:02 UTC
Created attachment 41567 [details]
STDOUT/STDERR messages by kopete

According to the timestamps this should cover at least the last two minutes before kopete crashed
Comment 8 jansen 2010-03-12 12:30:18 UTC
Since the crash still occurs with Kopete 'Version 1.0.0 Unter KDE 4.4.1 (KDE 4.4.1) "release 227"' I've attached a fresh backtrace plus this time the messages written to STDERR/STDOUT by Kopete. Hope this helps.
Comment 9 jansen 2010-03-24 10:30:34 UTC
Backtrace and other data has been provided so IMHO the status should be changed...
Comment 10 jansen 2014-04-01 10:04:52 UTC
I did provide the required info (I believe) but nothing happened.
Since today - using KDE 4.11 - it seems to work I´m closing this bug.
Comment 11 Christoph Feck 2014-04-20 18:37:23 UTC
Sorry, it looks like you caught us at a time when we had no Kopete maintainer, so this remained unanswered.

Anyway, thanks for the heads up, and happy Easter holidays :)