← Back to team overview

qutimdevelop team mailing list archive

[Bug 1067903] Re: qutim crashes when trying to delete any account

 

** Changed in: qutim
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of QutIM
Developers, which is subscribed to qutim.
https://bugs.launchpad.net/bugs/1067903

Title:
  qutim crashes when trying to delete any account

Status in Multiplatform instant messenger:
  Fix Released

Bug description:
  Application: qutim (0.3.1.0)
  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:
  When I'm trying to delete one of my accounts qutim crashes. Account after restarting is not deleted.  So I can't delete account too.

  -- Backtrace:
  Application: qutIM Instant Messenger (qutim), signal: Segmentation fault
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  [Current thread is 1 (Thread 0x7f13d51d7780 (LWP 8738))]

  Thread 7 (Thread 0x7f13acef7700 (LWP 8739)):
  #0  __pthread_mutex_lock (mutex=0x7f13a8000a60) at pthread_mutex_lock.c:113
  #1  0x00007f13d93e9c31 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #2  0x00007f13d93ac623 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #3  0x00007f13d93accab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #4  0x00007f13d93acea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #5  0x00007f13daaafc16 in QEventDispatcherGlib::processEvents (this=0x7f13a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
  #6  0x00007f13daa802bf in QEventLoop::processEvents (this=this@entry=0x7f13acef6e00, flags=...) at kernel/qeventloop.cpp:149
  #7  0x00007f13daa80548 in QEventLoop::exec (this=0x7f13acef6e00, flags=...) at kernel/qeventloop.cpp:204
  #8  0x00007f13da981b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
  #9  0x00007f13da984aec in QThreadPrivate::start (arg=0x2080260) at thread/qthread_unix.cpp:338
  #10 0x00007f13d987be9a in start_thread (arg=0x7f13acef7700) at pthread_create.c:308
  #11 0x00007f13d9dbecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  #12 0x0000000000000000 in ?? ()

  Thread 6 (Thread 0x7f13a25ef700 (LWP 8742)):
  #0  0x00007f13d9db3303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
  #1  0x00007f13d93acd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #2  0x00007f13d93acea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #3  0x00007f13daaafc16 in QEventDispatcherGlib::processEvents (this=0x7f139c000910, flags=...) at kernel/qeventdispatcher_glib.cpp:426
  #4  0x00007f13daa802bf in QEventLoop::processEvents (this=this@entry=0x7f139c0009a0, flags=...) at kernel/qeventloop.cpp:149
  #5  0x00007f13daa80548 in QEventLoop::exec (this=0x7f139c0009a0, flags=...) at kernel/qeventloop.cpp:204
  #6  0x00007f13ca2c8cda in QCA::SyncThread::run() () from /usr/lib/x86_64-linux-gnu/libqca.so.2
  #7  0x00007f13da984aec in QThreadPrivate::start (arg=0x3489af0) at thread/qthread_unix.cpp:338
  #8  0x00007f13d987be9a in start_thread (arg=0x7f13a25ef700) at pthread_create.c:308
  #9  0x00007f13d9dbecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  #10 0x0000000000000000 in ?? ()

  Thread 5 (Thread 0x7f138bbee700 (LWP 8751)):
  #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  #1  0x00007f13d6ce8cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
  #2  0x00007f13d6ce8d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
  #3  0x00007f13d987be9a in start_thread (arg=0x7f138bbee700) at pthread_create.c:308
  #4  0x00007f13d9dbecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  #5  0x0000000000000000 in ?? ()

  Thread 4 (Thread 0x7f138973f700 (LWP 8752)):
  #0  0x00007f13d9db3303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
  #1  0x00007f13d93acd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #2  0x00007f13d93acea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #3  0x00007f13daaafc16 in QEventDispatcherGlib::processEvents (this=0x7f13840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
  #4  0x00007f13daa802bf in QEventLoop::processEvents (this=this@entry=0x7f138973ee00, flags=...) at kernel/qeventloop.cpp:149
  #5  0x00007f13daa80548 in QEventLoop::exec (this=0x7f138973ee00, flags=...) at kernel/qeventloop.cpp:204
  #6  0x00007f13da981b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
  #7  0x00007f13da984aec in QThreadPrivate::start (arg=0x38a2540) at thread/qthread_unix.cpp:338
  #8  0x00007f13d987be9a in start_thread (arg=0x7f138973f700) at pthread_create.c:308
  #9  0x00007f13d9dbecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  #10 0x0000000000000000 in ?? ()

  Thread 3 (Thread 0x7f1388f3e700 (LWP 9696)):
  #0  __GI_clock_gettime (clock_id=1, tp=0x7f1388f3db40) at ../sysdeps/unix/clock_gettime.c:116
  #1  0x00007f13da9da9c4 in do_gettime (frac=0x7f1388f3db28, sec=0x7f1388f3db20) at tools/qelapsedtimer_unix.cpp:123
  #2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
  #3  0x00007f13daab041d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f137c005ec0) at kernel/qeventdispatcher_unix.cpp:343
  #4  0x00007f13daab0763 in QTimerInfoList::timerWait (this=0x7f137c005ec0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
  #5  0x00007f13daaaf2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f1388f3dc14) at kernel/qeventdispatcher_glib.cpp:136
  #6  0x00007f13daaaf375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
  #7  0x00007f13d93ac618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #8  0x00007f13d93accab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #9  0x00007f13d93acea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #10 0x00007f13daaafc16 in QEventDispatcherGlib::processEvents (this=0x7f137c001fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
  #11 0x00007f13daa802bf in QEventLoop::processEvents (this=this@entry=0x7f1388f3ddd0, flags=...) at kernel/qeventloop.cpp:149
  #12 0x00007f13daa80548 in QEventLoop::exec (this=0x7f1388f3ddd0, flags=...) at kernel/qeventloop.cpp:204
  #13 0x00007f13da981b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
  #14 0x00007f13daa609af in QInotifyFileSystemWatcherEngine::run (this=0x32cb550) at io/qfilesystemwatcher_inotify.cpp:248
  #15 0x00007f13da984aec in QThreadPrivate::start (arg=0x32cb550) at thread/qthread_unix.cpp:338
  #16 0x00007f13d987be9a in start_thread (arg=0x7f1388f3e700) at pthread_create.c:308
  #17 0x00007f13d9dbecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  #18 0x0000000000000000 in ?? ()

  Thread 2 (Thread 0x7f1399ba6700 (LWP 10337)):
  #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  #1  0x00007f13ccd89b2d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f13cd74a280 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2499
  #2  0x00007f13ccd89c39 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622
  #3  0x00007f13d987be9a in start_thread (arg=0x7f1399ba6700) at pthread_create.c:308
  #4  0x00007f13d9dbecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  #5  0x0000000000000000 in ?? ()

  Thread 1 (Thread 0x7f13d51d7780 (LWP 8738)):
  [KCrash Handler]
  #6  QString (other=..., this=0x7fff96531da0) at /usr/include/qt4/QtCore/qstring.h:725
  #7  qutim_sdk_0_3::Account::id (this=0x349f420) at /build/buildd/qutim-0.3.1+201210161900/core/libqutim/account.cpp:93
  #8  0x00007f13b251de67 in Core::SimpleContactList::AbstractContactModel::accountData<Core::SimpleContactList::AccountItem> (this=<optimized out>, index=..., role=<optimized out>) at /build/buildd/qutim-0.3.1+201210161900/core/src/corelayers/simplecontactlist/lib/abstractcontactmodel_p.h:320
  #9  0x00007f13b2519f9d in Core::SimpleContactList::SeparatedModel::data (this=<optimized out>, index=..., role=<optimized out>) at /build/buildd/qutim-0.3.1+201210161900/core/src/corelayers/simplecontactlist/models/separatedcontactsmodel/separatedcontactlistmodel.cpp:189
  #10 0x00007f13bfdede56 in data (arole=0, this=0x7fff96532190) at /usr/include/qt4/QtCore/qabstractitemmodel.h:402
  #11 ContactListItemDelegate::sizeHint (this=0x1f86e50, option2=..., index=...) at /build/buildd/qutim-0.3.1+201210161900/plugins/oldcontactdelegate/contactlistitemdelegate.cpp:456
  #12 0x00007f13db831b30 in QTreeView::indexRowSizeHint (this=<optimized out>, index=...) at itemviews/qtreeview.cpp:2815
  #13 0x00007f13db831d99 in itemHeight (item=6, this=0x203eca0) at itemviews/qtreeview.cpp:3265
  #14 QTreeViewPrivate::itemHeight (this=0x203eca0, item=6) at itemviews/qtreeview.cpp:3254
  #15 0x00007f13db83202e in QTreeViewPrivate::updateScrollBars (this=0x203eca0) at itemviews/qtreeview.cpp:3486
  #16 0x00007f13db8322d7 in QTreeView::updateGeometries (this=0x2049380) at itemviews/qtreeview.cpp:2699
  #17 0x00007f13db7f0a39 in QAbstractItemView::doItemsLayout (this=0x2049380) at itemviews/qabstractitemview.cpp:1164
  #18 0x00007f13db838abc in QTreeView::doItemsLayout (this=0x2049380) at itemviews/qtreeview.cpp:2042
  #19 0x00007f13db8320c1 in QTreeViewPrivate::updateScrollBars (this=0x203eca0) at itemviews/qtreeview.cpp:3473
  #20 0x00007f13db83a922 in QTreeView::scrollTo (this=0x2049380, index=..., hint=QAbstractItemView::EnsureVisible) at itemviews/qtreeview.cpp:1089
  #21 0x00007f13db7f9bf2 in QAbstractItemView::currentChanged (this=0x2049380, current=..., previous=...) at itemviews/qabstractitemview.cpp:3505
  #22 0x00007f13db82e046 in QTreeView::currentChanged (this=0x2049380, current=..., previous=...) at itemviews/qtreeview.cpp:3732
  #23 0x00007f13daa96f5f in QMetaObject::activate (sender=0x202b1e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff96532810) at kernel/qobject.cpp:3547
  #24 0x00007f13db8440aa in QItemSelectionModel::currentChanged (this=this@entry=0x202b1e0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:173
  #25 0x00007f13db844199 in QItemSelectionModel::setCurrentIndex (this=0x202b1e0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
  #26 0x00007f13db7ee44a in QAbstractItemView::setCurrentIndex (this=this@entry=0x2049380, index=...) at itemviews/qabstractitemview.cpp:1022
  #27 0x00007f13db7f828d in QAbstractItemView::rowsAboutToBeRemoved (this=0x2049380, parent=..., start=4, end=4) at itemviews/qabstractitemview.cpp:3256
  #28 0x00007f13db8306ff in QTreeView::rowsAboutToBeRemoved (this=<optimized out>, parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qtreeview.cpp:2505
  #29 0x00007f13daa96f5f in QMetaObject::activate (sender=0x1fbfc00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff96532c40) at kernel/qobject.cpp:3547
  #30 0x00007f13daae0c34 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=4, _t3=4) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
  #31 0x00007f13daa78d06 in QAbstractItemModel::beginRemoveRows (this=0x1fbfc00, parent=..., first=4, last=4) at kernel/qabstractitemmodel.cpp:2470
  #32 0x00007f13b251bef0 in Core::SimpleContactList::SeparatedModel::onAccountDestroyed (this=0x1fbfc00, obj=<optimized out>) at /build/buildd/qutim-0.3.1+201210161900/core/src/corelayers/simplecontactlist/models/separatedcontactsmodel/separatedcontactlistmodel.cpp:426
  #33 0x00007f13daa96f5f in QMetaObject::activate (sender=sender@entry=0x349f420, m=m@entry=0x7f13dadd3b60 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff96532ea0) at kernel/qobject.cpp:3547
  #34 0x00007f13daa9799f in QObject::destroyed (this=this@entry=0x349f420, _t1=_t1@entry=0x349f420) at .moc/release-shared/moc_qobject.cpp:149
  #35 0x00007f13daa97a93 in QObject::~QObject (this=0x349f420, __in_chrg=<optimized out>) at kernel/qobject.cpp:844
  #36 0x00007f13c0ead1d9 in MrimAccount::~MrimAccount (this=0x349f420, __in_chrg=<optimized out>) at /build/buildd/qutim-0.3.1+201210161900/protocols/mrim/src/base/mrimaccount.cpp:55
  #37 0x00007f13daa96468 in QObject::event (this=0x349f420, e=<optimized out>) at kernel/qobject.cpp:1176
  #38 0x00007f13db2e5e9c in QApplicationPrivate::notify_helper (this=this@entry=0x1c26380, receiver=receiver@entry=0x349f420, e=e@entry=0x4178b60) at kernel/qapplication.cpp:4562
  #39 0x00007f13db2ea30a in QApplication::notify (this=0x1c26360, receiver=0x349f420, e=0x4178b60) at kernel/qapplication.cpp:4423
  #40 0x00007f13daa8156e in QCoreApplication::notifyInternal (this=0x1c26360, receiver=receiver@entry=0x349f420, event=event@entry=0x4178b60) at kernel/qcoreapplication.cpp:915
  #41 0x00007f13daa853f1 in sendEvent (event=0x4178b60, receiver=0x349f420) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
  #42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c26570) at kernel/qcoreapplication.cpp:1539
  #43 0x00007f13daaafa63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
  #44 postEventSourceDispatch (s=0x1c29640) at kernel/qeventdispatcher_glib.cpp:279
  #45 0x00007f13d93acab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #46 0x00007f13d93acde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #47 0x00007f13d93acea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  #48 0x00007f13daaafbf6 in QEventDispatcherGlib::processEvents (this=0x1c27940, flags=...) at kernel/qeventdispatcher_glib.cpp:424
  #49 0x00007f13db38ac1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
  #50 0x00007f13daa802bf in QEventLoop::processEvents (this=this@entry=0x7fff965337e0, flags=...) at kernel/qeventloop.cpp:149
  #51 0x00007f13daa80548 in QEventLoop::exec (this=0x7fff965337e0, flags=...) at kernel/qeventloop.cpp:204
  #52 0x00007f13daa85708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
  #53 0x000000000040d936 in main (argc=2, argv=0x7fff96533928) at /build/buildd/qutim-0.3.1+201210161900/core/main.cpp:82

  Надіслати звіт до https://bugs.launchpad.net/qutim/+filebug

To manage notifications about this bug go to:
https://bugs.launchpad.net/qutim/+bug/1067903/+subscriptions


References