Segfault on exit

Bug #667004 reported by Aleksey Sidorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qutim
Fix Released
Undecided
Unassigned

Bug Description

Program received signal SIGABRT, Aborted.
0x00007ffff52d2ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) where
#0 0x00007ffff52d2ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff52d66b0 in abort () at abort.c:92
#2 0x00007ffff530c43b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3 0x00007ffff53164b6 in malloc_printerr (action=3,
    str=0x7ffff53ea080 "double free or corruption (out)", ptr=<value optimized out>) at malloc.c:6283
#4 0x00007ffff531cc83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#5 0x00007ffff63a88a0 in QMetaCallEvent::~QMetaCallEvent() () from /usr/lib/libQtCore.so.4
#6 0x00007fffe6411c8f in data (this=0xa0b9b0, index=..., role=0)
    at /home/sauron/develop/src/qutim/meta/core/src/corelayers/contactlist/simplecontactlistmodel.cpp:173
#7 0x00007ffff5f8198b in data (this=0x7fffffffccf0, arole=0)
    at /usr/include/qt4/QtCore/qabstractitemmodel.h:398
#8 0x00007ffff5f851e2 in sizeHint (this=0x94ee00, option=..., index=...)
    at /home/sauron/develop/src/qutim/meta/core/3rdparty/contactdelegate/contactdelegate.cpp:234
#9 0x00007ffff738d558 in QTreeView::indexRowSizeHint(QModelIndex const&) const ()
   from /usr/lib/libQtGui.so.4
#10 0x00007ffff738d9ac in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007ffff738dc5f in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007ffff738e034 in QTreeView::updateGeometries() () from /usr/lib/libQtGui.so.4
#13 0x00007ffff7344929 in QAbstractItemView::doItemsLayout() () from /usr/lib/libQtGui.so.4
#14 0x00007ffff73948de in QTreeView::doItemsLayout() () from /usr/lib/libQtGui.so.4
#15 0x00007ffff738dd24 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007ffff7396b2e in QTreeView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) ()
   from /usr/lib/libQtGui.so.4
#17 0x00007ffff734c162 in QAbstractItemView::currentChanged(QModelIndex const&, QModelIndex const&) ()
   from /usr/lib/libQtGui.so.4
#18 0x00007ffff7388ce1 in QTreeView::currentChanged(QModelIndex const&, QModelIndex const&) ()
   from /usr/lib/libQtGui.so.4
#19 0x00007ffff734e4b3 in QAbstractItemView::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libQtGui.so.4
#20 0x00007ffff7397425 in QTreeView::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libQtGui.so.4
#21 0x00007fffe643df01 in qt_metacall (this=0x9d08d0, _c=InvokeMetaMethod, _id=51, _a=0x7fffffffd3c0)
    at /home/sauron/develop/src/qutim/build/clang/core/src/corelayers/contactlist/moc_simplecontactlistview.cxx:71
#22 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/libQtCore.so.4
#23 0x00007ffff739f61a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) ()
   from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff739f762 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#25 0x00007ffff734c2af in QAbstractItemView::setCurrentIndex(QModelIndex const&) ()
   from /usr/lib/libQtGui.so.4
#26 0x00007ffff734d373 in QAbstractItemView::rowsAboutToBeRemoved(QModelIndex const&, int, int) ()
   from /usr/lib/libQtGui.so.4
#27 0x00007ffff738800f in QTreeView::rowsAboutToBeRemoved(QModelIndex const&, int, int) ()
   from /usr/lib/libQtGui.so.4
#28 0x00007ffff734e47f in QAbstractItemView::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libQtGui.so.4
#29 0x00007ffff7397425 in QTreeView::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libQtGui.so.4
#30 0x00007fffe643df01 in qt_metacall (this=0x9d08d0, _c=InvokeMetaMethod, _id=49, _a=0x7fffffffd930)
    at /home/sauron/develop/src/qutim/build/clang/core/src/corelayers/contactlist/moc_simplecontactlistview.cxx:71
#31 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/libQtCore.so.4
#32 0x00007ffff63fb154 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) ()
   from /usr/lib/libQtCore.so.4
#33 0x00007ffff638f693 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) ()
   from /usr/lib/libQtCore.so.4
#34 0x00007fffe64148fc in removeFromContactList (this=0xa0b9b0, contact=0x1f05d80, deleted=true)
    at /home/sauron/develop/src/qutim/meta/core/src/corelayers/contactlist/simplecontactlistmodel.cpp:413
#35 0x00007fffe6414bff in contactDeleted (this=0xa0b9b0, obj=0x1f05d80)
    at /home/sauron/develop/src/qutim/meta/core/src/corelayers/contactlist/simplecontactlistmodel.cpp:435
#36 0x00007fffe643ec3a in qt_metacall (this=0xa0b9b0, _c=InvokeMetaMethod, _id=1, _a=0x7fffffffdcf0)
    at /home/sauron/develop/src/qutim/build/clang/core/src/corelayers/contactlist/moc_simplecontactlistmodel.cxx:104
#37 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/libQtCore.so.4
#38 0x00007ffff63b006f in QObject::destroyed(QObject*) () from /usr/lib/libQtCore.so.4
#39 0x00007ffff63b0fd7 in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#40 0x00007ffff5f09ed8 in ~MenuController (this=0x1f05d80)
    at /home/sauron/develop/src/qutim/meta/core/libqutim/menucontroller.cpp:54
#41 0x00007ffff5f2526f in ~ChatUnit (this=0x1f05d80)
    at /home/sauron/develop/src/qutim/meta/core/libqutim/chatunit.cpp:62
#42 0x00007ffff5ebef72 in ~Buddy (this=0x1f05d80)
    at /home/sauron/develop/src/qutim/meta/core/libqutim/buddy.cpp:21
#43 0x00007ffff5f26c42 in ~Contact (this=0x1f05d80)
---Type <return> to continue, or q <return> to quit---
    at /home/sauron/develop/src/qutim/meta/core/libqutim/contact.cpp:40
#44 0x00007fffdabf2acd in ~VContact (this=0x1f05d80)
    at /home/sauron/develop/src/qutim/meta/protocols/vkontakte/src/vcontact.cpp:135
#45 0x00007fffdabf2a4d in ~VContact (this=0x1f05d80)
    at /home/sauron/develop/src/qutim/meta/protocols/vkontakte/src/vcontact.cpp:133
#46 0x00007ffff63a9d5f in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#47 0x00007ffff63b141b in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#48 0x00007ffff5f09ed8 in ~MenuController (this=0x1e47220)
    at /home/sauron/develop/src/qutim/meta/core/libqutim/menucontroller.cpp:54
#49 0x00007ffff5f33b82 in ~Account (this=0x1e47220)
    at /home/sauron/develop/src/qutim/meta/core/libqutim/account.cpp:42
#50 0x00007fffdac003dd in ~VAccount (this=0x1e47220)
    at /home/sauron/develop/src/qutim/meta/protocols/vkontakte/src/vaccount.cpp:61
#51 0x00007fffdac0035d in ~VAccount (this=0x1e47220)
    at /home/sauron/develop/src/qutim/meta/protocols/vkontakte/src/vaccount.cpp:59
#52 0x00007ffff63a9d5f in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#53 0x00007ffff63b141b in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#54 0x00007ffff5eca77d in ~Protocol (this=0x757180)
    at /home/sauron/develop/src/qutim/meta/core/libqutim/protocol.cpp:62
#55 0x00007fffdabf8d30 in ~VkontakteProtocol (this=0x757180)
    at /home/sauron/develop/src/qutim/meta/protocols/vkontakte/src/vkontakteprotocol.cpp:47
#56 0x00007fffdabf8bbd in ~VkontakteProtocol (this=0x757180)
    at /home/sauron/develop/src/qutim/meta/protocols/vkontakte/src/vkontakteprotocol.cpp:43
#57 0x00007ffff5f40c69 in qDeleteAll (begin=..., end=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#58 0x00007ffff5f40c13 in qDeleteAll (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#59 0x00007ffff5f3e52c in onQuit (this=0x7fffffffe5b0)
    at /home/sauron/develop/src/qutim/meta/core/libqutim/modulemanager.cpp:656
#60 0x00007ffff5f8a030 in qt_metacall (this=0x7fffffffe5b0, _c=InvokeMetaMethod, _id=0,
    _a=0x7fffffffe4c0)
    at /home/sauron/develop/src/qutim/build/clang/core/libqutim/moc_modulemanager.cxx:72
#61 0x0000000000427b71 in qt_metacall (this=0x7fffffffe5b0, _c=InvokeMetaMethod, _id=4,
    _a=0x7fffffffe4c0)
    at /home/sauron/develop/src/qutim/build/clang/core/src/moc_modulemanagerimpl.cxx:67
#62 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/libQtCore.so.4
#63 0x00007ffff639aee3 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#64 0x000000000042761d in main (argc=1, argv=0x7fffffffe6d8)
    at /home/sauron/develop/src/qutim/meta/core/main.cpp:45

Собсна подозрение в неправильном порядке удаления делегата, модели, вьюва

Revision history for this message
Ruslan Nigmatullin (euroelessar) wrote :

Is it still actual?

Changed in qutim:
status: New → In Progress
milestone: none → 0.3
Changed in qutim:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.