Bug 292716

Summary: Telepathy txt ui crashes immediately after opening
Product: [Unmaintained] telepathy Reporter: Ken Koster <n7ipb>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: alinm.elena, kde
Priority: NOR    
Version: unspecified   
Target Milestone: 0.4.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ken Koster 2012-01-28 19:19:42 UTC
Application: ktp-text-ui (0.2.60)
KDE Platform Version: 4.8.00 (4.8.0 "release 462"
Qt Version: 4.8.0
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I'd selected a user  in the contact list,  the ui pop's up for a fraction of a second and then crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Telepathy Text Ui (ktp-text-ui), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbeaa21a800 (LWP 4404))]

Thread 3 (Thread 0x7fbe931ad700 (LWP 4405)):
#0  0x00007fbea66e9e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbea120ec12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fbea120ec49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fbea66e5f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbea69d463d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbe928ac700 (LWP 4406)):
#0  0x00007fbea69cb523 in poll () from /lib64/libc.so.6
#1  0x00007fbea23cea98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbea23cef59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbea8099956 in QEventDispatcherGlib::processEvents (this=0x7fbe8c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fbea8069682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbea80698d7 in QEventLoop::exec (this=0x7fbe928abd80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbea7f6a537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fbea7f6d55b in QThreadPrivate::start (arg=0x8a32e0) at thread/qthread_unix.cpp:298
#8  0x00007fbea66e5f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fbea69d463d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbeaa21a800 (LWP 4404)):
[KCrash Handler]
#6  g_settings_backend_unsubscribe (backend=0x0, name=0x0) at gsettingsbackend.c:859
#7  0x00007fbea1c70695 in g_settings_finalize (object=) at gsettings.c:555
#8  0x00007fbea2149360 in g_object_unref (_object=0xa1dd40) at gobject.c:2746
#9  0x00007fbea2a5e7b2 in tpl_conf_finalize (obj=) at conf.c:113
#10 0x00007fbea2149360 in g_object_unref (_object=0xa15000) at gobject.c:2746
#11 0x00007fbea2a62ce6 in log_manager_finalize (object=) at log-manager.c:135
#12 0x00007fbea2149360 in g_object_unref (_object=0xa14c00) at gobject.c:2746
#13 0x00007fbea8402ef9 in QGlib::RefPointer<Tpl::LogManager>::clear (this=0x8f1e60) at /usr/include/QtGStreamer/QGlib/refpointer.h:319
#14 0x00007fbea8404c30 in ~RefPointer (this=0x8f1e60, __in_chrg=<optimized out>) at /usr/include/QtGStreamer/QGlib/refpointer.h:213
#15 ~Private (this=0x8f1e60, __in_chrg=<optimized out>) at /usr/src/debug/telepathy-logger-qt4-0.1.0.git.1324158546/TelepathyLoggerQt4/pending-dates.cpp:34
#16 Tpl::PendingDates::~PendingDates (this=0x679000, __in_chrg=<optimized out>) at /usr/src/debug/telepathy-logger-qt4-0.1.0.git.1324158546/TelepathyLoggerQt4/pending-dates.cpp:61
#17 0x00007fbea8404cf9 in Tpl::PendingDates::~PendingDates (this=0x679000, __in_chrg=<optimized out>) at /usr/src/debug/telepathy-logger-qt4-0.1.0.git.1324158546/TelepathyLoggerQt4/pending-dates.cpp:62
#18 0x00007fbea8083958 in QObject::event (this=0x679000, e=<optimized out>) at kernel/qobject.cpp:1185
#19 0x00007fbea7171e84 in notify_helper (e=0x907750, receiver=0x679000, this=0x656cd0) at kernel/qapplication.cpp:4550
#20 QApplicationPrivate::notify_helper (this=0x656cd0, receiver=0x679000, e=0x907750) at kernel/qapplication.cpp:4522
#21 0x00007fbea7176d03 in QApplication::notify (this=0x652540, receiver=0x679000, e=0x907750) at kernel/qapplication.cpp:4411
#22 0x00007fbea973e786 in KApplication::notify (this=0x652540, receiver=0x679000, event=0x907750) at /usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#23 0x00007fbea806a89c in QCoreApplication::notifyInternal (this=0x652540, receiver=0x679000, event=0x907750) at kernel/qcoreapplication.cpp:876
#24 0x00007fbea806e13a in sendEvent (event=0x907750, receiver=0x679000) at kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x620a70) at kernel/qcoreapplication.cpp:1500
#26 0x00007fbea80994c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007fbea23ce58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fbea23ced88 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fbea23cef59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fbea80998ef in QEventDispatcherGlib::processEvents (this=0x620330, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007fbea72152de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fbea8069682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fbea80698d7 in QEventLoop::exec (this=0x7fff13eae8b0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fbea806e435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#36 0x000000000040b6dd in main (argc=1, argv=0x7fff13eaed38) at /usr/src/debug/ktp-text-ui-0.2.60git.1324641266/app/main.cpp:81

Reported using DrKonqi
Comment 1 Alin M Elena 2012-01-29 11:43:49 UTC
it may be just a missing package...
show  zypper se -is ktp
and
 zypper se -is telepathy
Comment 2 David Edmundson 2012-01-29 11:47:17 UTC
No crash is in the logger somewhere.

Stupid logger.
Comment 3 Alin M Elena 2012-01-29 13:19:50 UTC
the logger is not stupid...
just not installed... the trouble is with the package not asking for the logger to be installed..

be sure you have these installed
telepathy-logger
telepathy-logger-qt4
Comment 4 David Edmundson 2012-01-29 23:34:18 UTC
Git commit ec32f257314382062de5890595a6ad7607020bc1 by David Edmundson.
Committed on 29/01/2012 at 18:06.
Pushed by davidedmundson into branch 'master'.

Tidy up the log loader, and fix all associated crashes

REVIEW: 103824
Related: bug 292274

M  +3    -6    lib/chat-widget.cpp
M  +21   -17   lib/logmanager.cpp
M  +2    -3    lib/logmanager.h

http://commits.kde.org/telepathy-text-ui/ec32f257314382062de5890595a6ad7607020bc1
Comment 5 Ken Koster 2012-01-30 04:32:37 UTC
Installing 
telepathy-logger
telepathy-logger-qt4

fixed the problem.

Thanks for the help everyone.