[Bug 250138] Kontact crashed when switching sidebar options (small to large icons, or, show icons only) (Qt 4.7) [QModelIndex, QSortFilterProxyModel::parent, QPersistentModelIndex::parent]

MartinG gronslet at gmail.com
Sun Jan 16 00:34:16 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=250138





--- Comment #53 from MartinG <gronslet gmail com>  2011-01-16 01:34:09 ---
I reproduce the bug with:
kdepim-runtime-libs-4.4.8-1.fc14.x86_64
kdepimlibs-debuginfo-4.5.5-1.fc14.x86_64
kdepimlibs-4.5.5-1.fc14.x86_64
kdepim-libs-4.4.8-1.fc14.x86_64
kdepim-debuginfo-4.4.8-1.fc14.x86_64
kdepim-runtime-4.4.8-1.fc14.x86_64
kdepimlibs-akonadi-4.5.5-1.fc14.x86_64
kdepim-4.4.8-1.fc14.x86_64 

I made kontact crash when I tried to change from icons+text to only icons on
the sidebar (right-click and choose from the menu)

I have set up my system to give core dumps, and a backtrace on the dump gives:

$ gdb core.kontact.2984 
...

Program terminated with signal 11, Segmentation fault.
#0  0x000000387b00f29b in raise () from /lib64/libpthread-2.12.90.so
(gdb) bt
#0  0x000000387b00f29b in raise () from /lib64/libpthread-2.12.90.so
#1  0x00007fcf46bd82ee in KCrash::defaultCrashHandler (sig=11)
    at /usr/src/debug/kdelibs-4.5.5/kdeui/util/kcrash.cpp:307
#2  <signal handler called>
#3  QModelIndex (this=0x21f7930, child=<value optimized out>)
    at ../../src/corelib/kernel/qabstractitemmodel.h:65
#4  QSortFilterProxyModel::parent (this=0x21f7930, child=<value optimized out>)
    at itemviews/qsortfilterproxymodel.cpp:1656
#5  0x000000315c4e65dd in parent (this=<value optimized out>, index=...)
    at ../../src/corelib/kernel/qabstractitemmodel.h:389
#6  rectForIndex (this=<value optimized out>, index=...) at
../../src/gui/itemviews/qlistview_p.h:342
#7  QListView::rectForIndex (this=<value optimized out>, index=...) at
itemviews/qlistview.cpp:1226
#8  0x000000315c4e67be in QListView::visualRect (this=<value optimized out>,
index=<value optimized out>)
    at itemviews/qlistview.cpp:561
#9  0x000000315c4c263e in QAbstractItemView::update (this=<value optimized
out>, index=<value optimized out>)
    at itemviews/qabstractitemview.cpp:3135
#10 0x000000315c4c271e in QAbstractItemViewPrivate::setHoverIndex (this=<value
optimized out>, index=...)
    at itemviews/qabstractitemview.cpp:150
#11 0x000000315c4c427a in QAbstractItemView::viewportEvent (this=0x2203d10,
event=0x7ffff1b2ecc0)
    at itemviews/qabstractitemview.cpp:1572
#12 0x000000315a75b937 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, 
    receiver=0x23b1b80, event=0x7ffff1b2ecc0) at
kernel/qcoreapplication.cpp:847
#13 0x000000315bfb7891 in QApplicationPrivate::notify_helper (this=0x21f0200,
receiver=0x23b1b80, e=
    0x7ffff1b2ecc0) at kernel/qapplication.cpp:4441
#14 0x000000315bfb826f in QApplicationPrivate::dispatchEnterLeave
(enter=0x23b1b80, leave=<value optimized out>)
    at kernel/qapplication.cpp:2773
#15 0x000000315c034f11 in QApplication::x11ProcessEvent (this=0x7ffff1b2f7c0,
event=0x7ffff1b2f400)
    at kernel/qapplication_x11.cpp:3560
#16 0x000000315c05c896 in x11EventSourceDispatch (s=0x21f3c30, callback=0,
user_data=0x0)
    at kernel/qguieventdispatcher_glib.cpp:148
#17 0x000000387c841e33 in g_main_dispatch (context=0x21f2d20) at gmain.c:2149
#18 g_main_context_dispatch (context=0x21f2d20) at gmain.c:2702
#19 0x000000387c842610 in g_main_context_iterate (context=0x21f2d20, block=1,
dispatch=1, 
    self=<value optimized out>) at gmain.c:2780
#20 0x000000387c8428ad in g_main_context_iteration (context=0x21f2d20,
may_block=1) at gmain.c:2843
#21 0x000000315a7868bf in QEventDispatcherGlib::processEvents (this=0x21c1e80,
flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:415
#22 0x000000315c05c59e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#23 0x000000315a75ab42 in QEventLoop::processEvents (this=<value optimized
out>, flags=...)
    at kernel/qeventloop.cpp:149
#24 0x000000315a75ad8c in QEventLoop::exec (this=0x7ffff1b2f710, flags=...) at
kernel/qeventloop.cpp:201
#25 0x000000315a75f24b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#26 0x000000000040408e in main (argc=1, argv=0x7ffff1b2fda8)
    at /usr/src/debug/kdepim-4.4.8/kontact/src/main.cpp:224


I see the values are optimized out, maybe it would be an idea to provide
non-optimized version in a -testing repo?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list