Bug 304257

Summary: Telepathy UI crashes on closing
Product: [Unmaintained] telepathy Reporter: Chris Kerr <chris.kerr>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: chris.kerr, kde, mklapetek, tomas.chvatal, ZeDestructor
Priority: NOR    
Version: 0.4.1   
Target Milestone: Future   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Chris Kerr 2012-07-29 21:18:18 UTC
Application: ktp-text-ui (0.4.1)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.3.8-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I clicked on the 'close' box in the corner of the window and an error popped up saying it had crashed. Obviously not serious but possibly symptomatic of an underlying problem.

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

Thread 3 (Thread 0x7f8dc15b7700 (LWP 938)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000326e9b68ec in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x0000003254e07e9c in start_thread (arg=0x7f8dc15b7700) at pthread_create.c:301
#3  0x00000032546dc68d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f8dc0cb6700 (LWP 939)):
#0  0x0000003254e0a574 in __pthread_mutex_lock (mutex=0xe63608) at pthread_mutex_lock.c:61
#1  0x0000003257a46b8d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x0000003257a479b9 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#3  0x0000003257a47f9f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x000000325c7b12b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x000000325c780e52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x000000325c781145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x000000325c67d948 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x000000325c680027 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x0000003254e07e9c in start_thread (arg=0x7f8dc0cb6700) at pthread_create.c:301
#10 0x00000032546dc68d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f8dc680c760 (LWP 934)):
[KCrash Handler]
#6  0x00007f8dc6d18140 in g_settings_backend_unsubscribe () from /usr/lib64/libgio-2.0.so.0
#7  0x00007f8dc6d1b035 in g_settings_finalize () from /usr/lib64/libgio-2.0.so.0
#8  0x000000325c212d77 in g_object_unref () from /usr/lib64/libgobject-2.0.so.0
#9  0x00007f8dc75e70ea in tpl_conf_finalize () from /usr/lib64/libtelepathy-logger.so.2
#10 0x000000325c212d77 in g_object_unref () from /usr/lib64/libgobject-2.0.so.0
#11 0x00007f8dc75eb426 in log_manager_finalize () from /usr/lib64/libtelepathy-logger.so.2
#12 0x000000325c212d77 in g_object_unref () from /usr/lib64/libgobject-2.0.so.0
#13 0x00007f8dc7858919 in QGlib::RefPointer<Tpl::LogManager>::clear() () from /usr/lib64/libktpchat.so
#14 0x00007f8dc7855cff in LogManager::~LogManager() () from /usr/lib64/libktpchat.so
#15 0x00007f8dc7855de9 in LogManager::~LogManager() () from /usr/lib64/libktpchat.so
#16 0x000000325c795468 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#17 0x000000326162463b in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#18 0x0000000000417518 in ChatTab::~ChatTab() ()
#19 0x000000325c795468 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#20 0x000000326162463b in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#21 0x0000003261a3b569 in QStackedWidget::~QStackedWidget() () from /usr/lib64/qt4/libQtGui.so.4
#22 0x000000325c795468 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#23 0x000000326162463b in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#24 0x0000003264341029 in KTabWidget::~KTabWidget() () from /usr/lib64/libkdeui.so.5
#25 0x000000325c795468 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#26 0x000000326162463b in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#27 0x000000326431e5d5 in KMainWindow::~KMainWindow() () from /usr/lib64/libkdeui.so.5
#28 0x0000000000413d01 in ChatWindow::~ChatWindow() ()
#29 0x0000000000413d89 in ChatWindow::~ChatWindow() ()
#30 0x000000325c796e98 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x0000003261629b25 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00000032619fb053 in QMainWindow::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x000000326435c9f9 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#34 0x00000032615d7afc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00000032615dc67d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#36 0x000000326425cc88 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#37 0x000000325c78216b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x000000325c78574f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x000000325c7b1113 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x0000003257a475fa in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x0000003257a47e08 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#42 0x0000003257a47f9f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x000000325c7b127a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#44 0x000000326167e9a6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#45 0x000000325c780e52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#46 0x000000325c781145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#47 0x000000325c785bdb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#48 0x000000000040d7b7 in main ()

Possible duplicates by query: bug 295667, bug 292716.

Reported using DrKonqi
Comment 1 David Edmundson 2012-07-29 21:38:29 UTC
Thanks.

Could you confirm you have telepathy-logger installed and telepathy-logger-qt, along with the versions of each.

Is this reproducible?
Comment 2 Tomáš Chvátal 2012-08-01 13:24:15 UTC
Created attachment 72874 [details]
New crash information added by DrKonqi

ktp-text-ui (0.4.1) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2

- What I was doing when the application crashed:

Just closed the UI and observed the crash.

The requested additional informations:

[I] net-im/telepathy-logger
     Available versions:  0.2.12 0.2.12-r1 ~0.4.0 {doc +introspection test}
     Installed versions:  0.2.12-r1(13:09:51 31.7.2012)(-doc -introspection -test)
     Homepage:            http://telepathy.freedesktop.org/wiki/Logger
     Description:         Telepathy Logger is a session daemon that should be activated whenever telepathy is being used.

[I] net-libs/telepathy-logger-qt
     Available versions:  (~)0.4.0 (~)0.4.1 {aqua debug}
     Installed versions:  0.4.1(13:11:30 31.7.2012)(-aqua -debug)
     Homepage:            https://projects.kde.org/projects/extragear/network/telepathy/telepathy-logger-qt
     Description:         Qt4 bindings for the Telepathy logger

-- Backtrace (Reduced):
#6  g_settings_backend_unsubscribe (backend=0x0, name=0x0) at gsettingsbackend.c:859
#7  0x00007f11e1cc4fd5 in g_settings_finalize (object=<optimized out>) at gsettings.c:555
[...]
#9  0x00007f11e2ace9c2 in tpl_conf_finalize (obj=0x92dc00) at conf.c:113
[...]
#11 0x00007f11e2ad2e56 in log_manager_finalize (object=0x92cc00) at log-manager.c:135
[...]
#13 0x00007f11e802be59 in QGlib::RefPointer<Tpl::LogManager>::clear (this=0x8f1698) at /usr/include/QtGStreamer/QGlib/refpointer.h:319
Comment 3 David Edmundson 2012-08-01 14:20:26 UTC
*** Bug 294305 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2012-08-09 08:55:47 UTC
*** Bug 296476 has been marked as a duplicate of this bug. ***
Comment 5 Chris Kerr 2012-09-06 23:34:37 UTC
I have telepathy-logger installed but not telepathy-logger-qt
This happens every time I close the telepathy text UI after a chat
Comment 6 David Edmundson 2012-10-26 07:06:34 UTC
Does this still occur?
Comment 7 Tomáš Chvátal 2012-10-26 14:10:06 UTC
Not for me in 0.5.0.
Comment 8 David Edmundson 2012-10-26 15:06:25 UTC
Please reopen if anyone sees this.