Bug 344349

Summary: ktp-text-ui crashes, when I open the log history (after opening ktp-text-ui from the plasmoid)
Product: [Unmaintained] telepathy Reporter: Matija Šuklje <matija>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: mklapetek
Priority: NOR    
Version: 0.7.1   
Target Milestone: Future   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matija Šuklje 2015-02-19 13:59:25 UTC
Application: ktp-text-ui (0.7.0)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.27-desktop-1.mga4 x86_64
Distribution: "Mageia 4"

-- Information about the crash:
- What I was doing when the application crashed:

1) I got and opened a message on the KTP plasmoid
2) I clicked on the speech-bubble icon, to open the text-ui for KTP
3) since no text was shown (either the new message or previous ones), I clicked on the history button
4) crash

- Unusual behavior I noticed:

After I clicked on the speech bubble icon in the plasmoid, the text-ui window that opened, showed no messages at all.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Besedilni vmesnik za Telepathy (ktp-text-ui), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
gobject.pyc: gdb was not built with custom backtrace support, disabling.
[KCrash Handler]
#5  0x00007f8cb4fd4450 in ChatWidget::account() const () from /lib64/libktpchat.so
#6  0x0000000000414685 in ChatWindow::onOpenLogTriggered() ()
#7  0x0000000000418ab5 in ChatWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.35] ()
#8  0x00007f8cb4c642e8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#9  0x00007f8cb3d72332 in QAction::triggered(bool) () from /lib64/libQtGui.so.4
#10 0x00007f8cb3d73d03 in QAction::activate(QAction::ActionEvent) () from /lib64/libQtGui.so.4
#11 0x00007f8cb41267e2 in QAbstractButtonPrivate::click() () from /lib64/libQtGui.so.4
#12 0x00007f8cb412690c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#13 0x00007f8cb41dd74a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#14 0x00007f8cb3dc7a7e in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#15 0x00007f8cb3d7844c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#16 0x00007f8cb3d7eb0a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#17 0x00007f8cb6cdb47a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#18 0x00007f8cb4c506ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#19 0x00007f8cb3d7e303 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#20 0x00007f8cb3def85b in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#21 0x00007f8cb3dee2cc in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#22 0x00007f8cb3e14e12 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#23 0x00007f8cacf37146 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007f8cacf37498 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#25 0x00007f8cacf3753c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007f8cb4c7d275 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#27 0x00007f8cb3e14ec6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#28 0x00007f8cb4c4f27f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#29 0x00007f8cb4c4f575 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#30 0x00007f8cb4c547fb in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#31 0x000000000040ee4d in main ()

Reproducible: Always




Sorry for the potentially chaotic structure of this report – I had to copy-paste from the Dr.Konqi, because there is no way to re-login in Dr.Konqi if the connection broke.
Comment 1 Martin Klapetek 2015-02-20 13:11:18 UTC
Thanks.

The backtrace unfortunately is missing the debug symbols so it's not much useful. Did it happen again? If so, please install debug packages for ktp-text-ui and ktp-common-internals and post new backtrace.

Also, what KTp version is this?
Comment 2 Christoph Feck 2015-03-15 17:11:30 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Matija Šuklje 2015-03-16 17:25:29 UTC
The version is in fact 0.7.0, but that’s not an option in the pull down menu.

What’s really odd though is that before I installed the -devel packages, I could recreate this bug every time. Now that I installed the -devel packages (they pulled some other packages with them, I didn’t pay attention), it works fine.

I’m closing this bug for now – it seems it’s a packaging/dependency issue in Mageia.
Comment 4 Matija Šuklje 2015-03-19 14:05:08 UTC
Now I managed to reproduce it – it seems it needs a (long?) incoming message to trigger it:

Application: ktp-text-ui (0.7.0)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.32-desktop-1.mga4 x86_64
Distribution: "Mageia 4"

-- Backtrace:
Application: Besedilni vmesnik za Telepathy (ktp-text-ui), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
gobject.pyc: gdb was not built with custom backtrace support, disabling.
[KCrash Handler]
#5  0x00007f9d6f5f7450 in ChatWidget::account() const () from /lib64/libktpchat.so
#6  0x0000000000414685 in ChatWindow::onOpenLogTriggered() ()
#7  0x0000000000418ab5 in ChatWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.35] ()
#8  0x00007f9d6f2872e8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#9  0x00007f9d6e395332 in QAction::triggered(bool) () from /lib64/libQtGui.so.4
#10 0x00007f9d6e396d03 in QAction::activate(QAction::ActionEvent) () from /lib64/libQtGui.so.4
#11 0x00007f9d6e749b02 in QAbstractButtonPrivate::click() () from /lib64/libQtGui.so.4
#12 0x00007f9d6e749c2c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#13 0x00007f9d6e800a6a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#14 0x00007f9d6e3eaa7e in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#15 0x00007f9d6e39b44c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#16 0x00007f9d6e3a1b0a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#17 0x00007f9d712fe47a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#18 0x00007f9d6f2736ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#19 0x00007f9d6e3a1303 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#20 0x00007f9d6e41285b in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#21 0x00007f9d6e4112cc in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#22 0x00007f9d6e437e32 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#23 0x00007f9d6755b146 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007f9d6755b498 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#25 0x00007f9d6755b53c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007f9d6f2a01fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#27 0x00007f9d6e437ee6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#28 0x00007f9d6f27227f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#29 0x00007f9d6f272575 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#30 0x00007f9d6f2777fb in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#31 0x000000000040ee4d in main ()
Comment 5 Martin Klapetek 2015-03-19 14:17:03 UTC
I'm sorry but 0.7.x became unsupported about a year ago, this is quite old.

If you can reproduce with the frameworks version (15.04) or at least 0.9, please reopen.

Sorry.