Bug 361459 - empty ktp-text-ui crashes
Summary: empty ktp-text-ui crashes
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-06 15:25 UTC by Kott
Modified: 2016-08-27 06:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kott 2016-04-06 15:25:48 UTC
Application: ktp-text-ui (15.12.3)

Qt Version: 5.6.0
Frameworks Version: 5.20.0
Operating System: Linux 3.16.7-35-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
Chat windows contains not text fields at all, only toolbar and menu. The next error displays in notification:
"org.freedesktop.Telepathy.Error.NotAvailable: Handler no longer available"

 After clicking "history" it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Окно разговора (ktp-text-ui), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f87730a57c0 (LWP 29785))]

Thread 2 (Thread 0x7f8758e37700 (LWP 29786)):
#0  0x00007f876d540cad in read () at /lib64/libc.so.6
#1  0x00007f875e7e2073 in  () at /usr/lib64/tls/libnvidia-tls.so.361.28
#2  0x00007f8764e0c750 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8764dcb714 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f8764dcbb7b in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f8764dcbcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f876dff041c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f876df9e16b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f876ddd9caa in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f876f41f095 in  () at /usr/lib64/libQt5DBus.so.5
#10 0x00007f876ddde749 in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007f87655380a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f876d54d00d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f87730a57c0 (LWP 29785)):
[KCrash Handler]
#5  0x00007f8772ca9c60 in ChatWidget::account() const () at /usr/lib64/libktpchat.so
#6  0x0000000000429bf3 in ChatWindow::onOpenLogTriggered() ()
#7  0x00000000004332ba in  ()
#8  0x00007f876dfc9cf1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f876ecf3242 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f876ecf5ddd in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f876ee69c22 in  () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f876ee6ed50 in  () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f876ee7284b in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f876ed3d53a in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f876ee7318b in QMenu::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f876ecfc68c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f876ed014ff in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f876dfa0125 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f876ed00020 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f876ed55615 in  () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f876ed57922 in  () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f876ecfc68c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f876ed00aa2 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f876dfa0125 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f876e4f721b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#26 0x00007f876e4f89b5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#27 0x00007f876e4da58b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#28 0x00007f8758123e20 in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007f8764dcba04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f8764dcbc48 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f8764dcbcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f876dff041c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#33 0x00007f876df9e16b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f876dfa6076 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#35 0x000000000041b34d in main ()

Reported using DrKonqi
Comment 1 Rex Dieter 2016-04-06 16:47:53 UTC
If you're using Qt-5.6.x, then this should already be fixed
https://quickgit.kde.org/?p=ktp-text-ui.git&a=commit&h=5015460c6fbd9696bf482e53e7cb94b64097db12

(at least the empty ktp-text-ui symptom, but the crash may be fixed by this too)
Comment 2 Alexandr Akulich 2016-08-27 06:44:56 UTC
IMO this is fixed by the referenced commit https://quickgit.kde.org/?p=ktp-text-ui.git&a=commit&h=5015460c6fbd9696bf482e53e7cb94b64097db12 and then fixed again by commit in TelepathyQt:
https://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=f496b0dbc0bc293b6a6714ddaa4d542aadc60c08

Feel free to reopen if the bug is still there after both fixes applied.