Bug 308559 - ktp-contactlist segfaulted while moving contact into other group
Summary: ktp-contactlist segfaulted while moving contact into other group
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: contactlist (show other bugs)
Version: 0.5.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 0.6-next
Assignee: Telepathy Bugs
URL:
Keywords:
: 306346 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-17 15:08 UTC by m0ses
Modified: 2013-01-16 11:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m0ses 2012-10-17 15:08:29 UTC
Application: ktp-contactlist (0.5.1)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Ubuntu 12.10

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

i tried to move a contact from one  group to the other. Then the contactlist crashed

-- Backtrace:
Application: KDE-Telepathy-Kontaktliste (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f35275a0780 (LWP 3585))]

Thread 2 (Thread 0x7f351eb99700 (LWP 3586)):
#0  0x00007f352e17f303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f352abcdd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f352abcdea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f352fce3c16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f352fcb42bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f352fcb4548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f352fbb5b10 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f352fc949af in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f352fbb8aec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f352b4a8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f352e18acbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f35275a0780 (LWP 3585)):
[KCrash Handler]
#5  0x00007f3530f5ea50 in TreeNode::parent() const () from /usr/lib/libktpmodelsprivate.so.3
#6  0x00007f3530f5613c in AccountsModel::accountForContactItem(ContactModelItem*) const () from /usr/lib/libktpmodelsprivate.so.3
#7  0x0000000000421acf in ContactListWidget::mouseMoveEvent (this=0x1603cc0, event=<optimized out>) at /build/buildd/ktp-contact-list-0.5.1/contact-list-widget.cpp:620
#8  0x00007f352e974884 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007f352ed23b66 in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f352ee2f59b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007f352ee73d81 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007f352fcb56d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007f352e924e6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007f352e929b6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f353090e1d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f352fcb556e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f352e925cd3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f352e9a3554 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f352e9a244f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007f352e9c9fa2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007f352abcdab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f352abcdde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f352abcdea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f352fce3bf6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f352e9c9c1e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f352fcb42bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f352fcb4548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007f352fcb9708 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x000000000041cfb1 in main (argc=1, argv=0x7fff5d8877b8) at /build/buildd/ktp-contact-list-0.5.1/main.cpp:62

This bug may be a duplicate of or related to bug 306346.

Possible duplicates by query: bug 306346.

Reported using DrKonqi
Comment 1 David Edmundson 2012-10-26 06:38:44 UTC
*** Bug 306346 has been marked as a duplicate of this bug. ***
Comment 2 Martin Klapetek 2013-01-04 16:02:51 UTC
Update on this bug: our models are undergoing a complete refactor, which should hopefully fix this. I'm targeting this to 0.6 so we don't forget this (if just to close it).
Comment 3 Martin Klapetek 2013-01-15 21:46:48 UTC
Just moved bunch of contacts around with the new models, no crash. Closing. Please reopen if still happens with 0.6.
Comment 4 Daniele E. Domenichelli 2013-01-16 09:43:46 UTC
Should consider fixing this in 0.5 branch as well?
Comment 5 David Edmundson 2013-01-16 11:13:07 UTC
I don't think we should backport the model changes, they're too huge.
Comment 6 Daniele E. Domenichelli 2013-01-16 11:15:40 UTC
I was talking about just fixing the crash (perhaps just disabling drag and drop)