Bug 311274

Summary: Dolphin crashes when rearranging columns
Product: [Applications] dolphin Reporter: Eric McIntyre <mac>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version First Reported In: 2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eric McIntyre 2012-12-06 21:31:45 UTC
Application: dolphin (2.1)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic x86_64
Distribution: Ubuntu 12.10

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

Trying to rearrange columns in Dolphin's Details view results in a segfault. This is on KDE installed from Ubuntu's repositories on Ubuntu 12.10.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff8afac37c0 (LWP 32370))]

Thread 2 (Thread 0x7ff893de6700 (LWP 32375)):
#0  0x00007ff8af382303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff8a6accd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff8a6accea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8ac16fc16 in QEventDispatcherGlib::processEvents (this=0x7ff88c0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff8ac1402bf in QEventLoop::processEvents (this=this@entry=0x7ff893de5cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff8ac140548 in QEventLoop::exec (this=0x7ff893de5cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff8ac041b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ff8ac1209af in QInotifyFileSystemWatcherEngine::run (this=0x243bd80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff8ac044aec in QThreadPrivate::start (arg=0x243bd80) at thread/qthread_unix.cpp:338
#9  0x00007ff89f2b8734 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007ff8a7393e9a in start_thread (arg=0x7ff893de6700) at pthread_create.c:308
#11 0x00007ff8af38dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff8afac37c0 (LWP 32370)):
[KCrash Handler]
#6  0x00007ff8985e0cba in ?? () from /usr/lib/kde4/plugins/styles/libpolyester.so
#7  0x00007ff8ab5835bb in QCommonStyle::drawControl (this=0x22424d0, element=<optimized out>, opt=0x7fff7baaf990, p=0x7fff7baafa80, widget=0x0) at styles/qcommonstyle.cpp:2054
#8  0x00007ff8acb8c6cb in KStyle::drawControl (this=0x22424d0, element=QStyle::CE_Header, option=0x7fff7baaf990, p=0x7fff7baafa80, widget=0x0) at ../../kdeui/kernel/kstyle.cpp:2508
#9  0x00007ff8985dc3a8 in ?? () from /usr/lib/kde4/plugins/styles/libpolyester.so
#10 0x00007ff8ae6d33cd in KItemListHeaderWidget::paintRole (this=this@entry=0x24c0020, painter=painter@entry=0x7fff7baafa80, role=..., rect=..., orderIndex=orderIndex@entry=6, widget=widget@entry=0x0) at ../../../dolphin/src/kitemviews/private/kitemlistheaderwidget.cpp:422
#11 0x00007ff8ae6d3c8c in KItemListHeaderWidget::createRolePixmap (this=this@entry=0x24c0020, roleIndex=roleIndex@entry=6) at ../../../dolphin/src/kitemviews/private/kitemlistheaderwidget.cpp:480
#12 0x00007ff8ae6d505e in KItemListHeaderWidget::mouseMoveEvent (this=0x24c0020, event=0x7fff7bab0370) at ../../../dolphin/src/kitemviews/private/kitemlistheaderwidget.cpp:281
#13 0x00007ff8ab82e43d in QGraphicsItem::sceneEvent (this=0x24c0030, event=0x7fff7bab0370) at graphicsview/qgraphicsitem.cpp:6735
#14 0x00007ff8ab857950 in sendMouseEvent (mouseEvent=0x7fff7bab0370, this=0x24cc630) at graphicsview/qgraphicsscene.cpp:1295
#15 QGraphicsScenePrivate::sendMouseEvent (this=0x24cc630, mouseEvent=0x7fff7bab0370) at graphicsview/qgraphicsscene.cpp:1274
#16 0x00007ff8ab85848c in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fff7bab0370) at graphicsview/qgraphicsscene.cpp:4102
#17 0x00007ff8ab86b190 in QGraphicsScene::event (this=0x24cc610, event=0x7fff7bab0370) at graphicsview/qgraphicsscene.cpp:3451
#18 0x00007ff8ab26de9c in QApplicationPrivate::notify_helper (this=this@entry=0x21ece30, receiver=receiver@entry=0x24cc610, e=e@entry=0x7fff7bab0370) at kernel/qapplication.cpp:4562
#19 0x00007ff8ab27230a in QApplication::notify (this=0x7fff7bab1a30, receiver=0x24cc610, e=0x7fff7bab0370) at kernel/qapplication.cpp:4423
#20 0x00007ff8acb7f1d6 in KApplication::notify (this=0x7fff7bab1a30, receiver=0x24cc610, event=0x7fff7bab0370) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007ff8ac14156e in QCoreApplication::notifyInternal (this=0x7fff7bab1a30, receiver=0x24cc610, event=0x7fff7bab0370) at kernel/qcoreapplication.cpp:915
#22 0x00007ff8ab87e5c4 in QGraphicsViewPrivate::mouseMoveEventHandler (this=this@entry=0x24ccdb0, event=event@entry=0x7fff7bab0da0) at graphicsview/qgraphicsview.cpp:646
#23 0x00007ff8ab88163e in QGraphicsView::mouseMoveEvent (this=0x24ccd80, event=0x7fff7bab0da0) at graphicsview/qgraphicsview.cpp:3276
#24 0x00007ff8ab2bd884 in QWidget::event (this=0x24ccd80, event=0x7fff7bab0da0) at kernel/qwidget.cpp:8356
#25 0x00007ff8ab66cb66 in QFrame::event (this=0x24ccd80, e=0x7fff7bab0da0) at widgets/qframe.cpp:557
#26 0x00007ff8ab88495b in QGraphicsView::viewportEvent (this=0x24ccd80, event=0x7fff7bab0da0) at graphicsview/qgraphicsview.cpp:2866
#27 0x00007ff8ac1416d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x24e0a60, event=0x7fff7bab0da0) at kernel/qcoreapplication.cpp:1025
#28 0x00007ff8ab26de6c in QApplicationPrivate::notify_helper (this=this@entry=0x21ece30, receiver=receiver@entry=0x24e0a60, e=e@entry=0x7fff7bab0da0) at kernel/qapplication.cpp:4558
#29 0x00007ff8ab272b6b in QApplication::notify (this=<optimized out>, receiver=0x24e0a60, e=0x7fff7bab0da0) at kernel/qapplication.cpp:4105
#30 0x00007ff8acb7f1d6 in KApplication::notify (this=0x7fff7bab1a30, receiver=0x24e0a60, event=0x7fff7bab0da0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007ff8ac14156e in QCoreApplication::notifyInternal (this=0x7fff7bab1a30, receiver=0x24e0a60, event=0x7fff7bab0da0) at kernel/qcoreapplication.cpp:915
#32 0x00007ff8ab26ecd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QApplicationPrivate::sendMouseEvent (receiver=0x24e0a60, event=0x7fff7bab0da0, alienWidget=0x24e0a60, nativeWidget=0x234f600, buttonDown=0x7ff8abd4a308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#34 0x00007ff8ab2ec554 in QETWidget::translateMouseEvent (this=this@entry=0x234f600, event=event@entry=0x7fff7bab1520) at kernel/qapplication_x11.cpp:4622
#35 0x00007ff8ab2eb44f in QApplication::x11ProcessEvent (this=0x7fff7bab1a30, event=0x7fff7bab1520) at kernel/qapplication_x11.cpp:3737
#36 0x00007ff8ab312fa2 in x11EventSourceDispatch (s=0x21ec5c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007ff8a6accab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ff8a6accde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ff8a6accea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ff8ac16fbf6 in QEventDispatcherGlib::processEvents (this=0x21bd680, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007ff8ab312c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007ff8ac1402bf in QEventLoop::processEvents (this=this@entry=0x7fff7bab18f0, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007ff8ac140548 in QEventLoop::exec (this=0x7fff7bab18f0, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007ff8ac145708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0x00007ff8af6a7907 in kdemain (argc=1, argv=0x7fff7bab1b68) at ../../../dolphin/src/main.cpp:89
#46 0x00007ff8af2bb76d in __libc_start_main (main=0x4006a0 <main(int, char**)>, argc=1, ubp_av=0x7fff7bab1b68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7bab1b58) at libc-start.c:226
#47 0x00000000004006d1 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-12-06 22:49:10 UTC
#6  0x00007ff8985e0cba in ?? () from /usr/lib/kde4/plugins/styles/libpolyester.so

Looks like a problem of the Polyester widget style. However, I can't reproduce the crash using that style. Does the crash happen when using other widget styles ?
Comment 2 Eric McIntyre 2012-12-11 17:48:05 UTC
You're correct. The crash only happens when using the Polyester style. None of the other styles I have installed causes the crash.
Comment 3 Eric McIntyre 2012-12-11 17:50:32 UTC
BTW, version of Polyester style installed is 2.0.0-3build1, also from the Ubuntu repos.
Comment 4 Frank Reininghaus 2012-12-12 09:48:42 UTC
Thanks for the quick reply. Please report the problem to the Polyester developers then.