Bug 169965 - KStyle crash triggered by Amarok
Summary: KStyle crash triggered by Amarok
Status: RESOLVED DUPLICATE of bug 176014
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kstyle (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Maksim Orlovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 08:29 UTC by Mark Eaton
Modified: 2009-08-11 20:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Eaton 2008-08-28 08:29:46 UTC
Version:           1.90 (2 beta) (using KDE 4.1.0)
OS:                Linux
Installed from:    Ubuntu Packages

I opened the magnatune.com module which downloaded the database and filled in the list. When I went to scroll down it (had already ?) hung for a few minutes (music still playing fine) then crashed (see stack trace below).

Application: Amarok (amarok), signal SIGFPE
[Thread debugging using libthread_db enabled]
[New Thread 0x7f5ba23c37e0 (LWP 25054)]
[New Thread 0x4553a950 (LWP 28766)]
[New Thread 0x43d37950 (LWP 28644)]
[New Thread 0x44538950 (LWP 28643)]
[New Thread 0x43536950 (LWP 28642)]
[New Thread 0x42d35950 (LWP 28641)]
[New Thread 0x44d39950 (LWP 25077)]
[New Thread 0x42534950 (LWP 25070)]
[New Thread 0x41ac6950 (LWP 25060)]
[New Thread 0x4097b950 (LWP 25059)]
[New Thread 0x4117c950 (LWP 25058)]
[KCrash handler]
#5  0x00007f5bad826aa1 in blend_tiled_generic<RegularSpans> (count=21, 
    spans=0x7fffb7659d20, userData=<value optimized out>)
    at painting/qdrawhelper.cpp:4871
#6  0x00007f5bad82cf30 in blend_tiled_argb<RegularSpans> (count=21, 
    spans=0x7fffb7659d20, userData=0xffffffff)
    at painting/qdrawhelper.cpp:4921
#7  0x00007f5bad806f3f in fillRect (r=<value optimized out>, 
    data=0x7fffb765a600, pe=<value optimized out>)
    at painting/qpaintengine_raster.cpp:1580
#8  0x00007f5bad80daa8 in QRasterPaintEngine::drawTiledPixmap (
    this=0x16c2ef0, r=@0x7fffb765a8b0, pixmap=@0x2f79888, sr=@0x7fffb765a8f0)
    at painting/qpaintengine_raster.cpp:2330
#9  0x00007f5bad7ac872 in QPainter::drawTiledPixmap (this=0x7fffb765ece0, 
    r=@0x7fffb765a990, pixmap=@0x2f79888, sp=<value optimized out>)
    at painting/qpainter.cpp:5634
#10 0x00007f5baeacaec2 in QPainter::drawTiledPixmap (this=0x7fffb765ece0, 
    rect=@0x7fffb765ac20, pm=@0x2f79888, offset=<value optimized out>)
    at /usr/include/qt4/QtGui/qpainter.h:731
#11 0x00007f5baeac5b94 in KStyle::drawPrimitive (this=0x6c14e0, 
    elem=<value optimized out>, option=<value optimized out>, 
    painter=0x7fffb765ece0, widget=<value optimized out>)
    at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kstyle.cpp:1058
#12 0x00007f5bad927fac in QCommonStyle::drawControl (this=0x6c14e0, 
    element=<value optimized out>, opt=0xffffffff, p=0x7fffb765ece0, 
    widget=0xd2f210) at styles/qcommonstyle.cpp:2059
#13 0x00007f5baeabe738 in KStyle::drawControl (this=0x6c14e0, 
    element=QStyle::CE_ItemViewItem, option=0x7fffb765d670, p=0x7fffb765ece0, 
    widget=0xd2f210)
    at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kstyle.cpp:2239
#14 0x00007f5ba196f94d in ?? ()
   from /usr/lib/kde4/lib/kde4/plugins/styles/oxygen.so
#15 0x00007f5bad949757 in QStyleSheetStyle::drawControl (this=0xd58f50, 
    ce=<value optimized out>, opt=<value optimized out>, p=0x7fffb765ece0, 
    w=0xd2f210) at styles/qstylesheetstyle.cpp:3824
#16 0x00007f5badbbb4ad in QStyledItemDelegate::paint (this=0xd315f0, 
    painter=0x7fffb765ece0, option=@0x7fffb765eb80, 
    index=<value optimized out>) at itemviews/qstyleditemdelegate.cpp:416
#17 0x00007f5badb23ba5 in QAbstractItemViewPrivate::renderToPixmap (
    this=0xd2f2e0, indexes=@0x7fffb765edb0, r=0x7fffb765ed90)
    at itemviews/qabstractitemview.cpp:3727
#18 0x00007f5badb24020 in QAbstractItemView::startDrag (this=0xd2f210, 
    supportedActions=@0x7fffb765f0d0) at itemviews/qabstractitemview.cpp:3060
#19 0x00007f5baefa7079 in CollectionTreeView::startDrag (this=0xd2f210, 
    supportedActions=@0x7fffb765f270)
    at /build/buildd/amarok-kde4-1.90/src/browsers/collectionbrowser/CollectionTreeView.cpp:391
#20 0x00007f5badb214d8 in QAbstractItemView::mouseMoveEvent (this=0xd2f210, 
    event=<value optimized out>) at itemviews/qabstractitemview.cpp:1505
#21 0x00007f5bad707512 in QWidget::event (this=0xd2f210, event=0x7fffb765ff00)
    at kernel/qwidget.cpp:6912
#22 0x00007f5bada06a76 in QFrame::event (this=0xd2f210, e=0x7fffb765ff00)
    at widgets/qframe.cpp:657
#23 0x00007f5bada8b169 in QAbstractScrollArea::viewportEvent (this=0x0, 
    e=0x7f5bad6b1300) at widgets/qabstractscrollarea.cpp:941
#24 0x00007f5badb26bb5 in QAbstractItemView::viewportEvent (this=0xd2f210, 
    event=0x7fffb765ff00) at itemviews/qabstractitemview.cpp:1426
#25 0x00007f5badb5a0db in QTreeView::viewportEvent (this=0xd2f210, 
    event=0x7fffb765ff00) at itemviews/qtreeview.cpp:1254
#26 0x00007f5bada8c308 in QAbstractScrollAreaFilter::eventFilter (
    this=<value optimized out>, o=<value optimized out>, e=0xffffffff)
    at widgets/qabstractscrollarea_p.h:102
#27 0x00007f5bae19b40e in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xd30fe0, event=0x7fffb765ff00)
    at kernel/qcoreapplication.cpp:694
#28 0x00007f5bad6b9520 in QApplicationPrivate::notify_helper (this=0x63eba0, 
    receiver=0xd30fe0, e=0x7fffb765ff00) at kernel/qapplication.cpp:3768
#29 0x00007f5bad6be329 in QApplication::notify (this=0x7fffb7660b80, 
    receiver=0xd30fe0, e=0x7fffb765ff00) at kernel/qapplication.cpp:3501
#30 0x00007f5baeab1bd1 in KApplication::notify (this=0x7fffb7660b80, 
    receiver=0xd30fe0, event=0x7fffb765ff00)
    at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:311
#31 0x00007f5bae19b109 in QCoreApplication::notifyInternal (
    this=0x7fffb7660b80, receiver=0xd30fe0, event=0x7fffb765ff00)
    at kernel/qcoreapplication.cpp:587
#32 0x00007f5bad6bb455 in QApplicationPrivate::sendMouseEvent (
    receiver=0xd30fe0, event=0x7fffb765ff00, 
    alienWidget=<value optimized out>, nativeWidget=0x7557f0, 
    buttonDown=<value optimized out>, lastMouseReceiver=@0x7f5bae04c280)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#33 0x00007f5bad71d756 in QETWidget::translateMouseEvent (this=0x7557f0, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4133
#34 0x00007f5bad71c66b in QApplication::x11ProcessEvent (this=0x7fffb7660b80, 
    event=0x7fffb7660810) at kernel/qapplication_x11.cpp:3255
#35 0x00007f5bad7428f3 in x11EventSourceDispatch (s=0x642250, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#36 0x00007f5ba6f5a3d4 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#37 0x00007f5ba6f5d6e5 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x00007f5ba6f5dbcb in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#39 0x00007f5bae1c43af in QEventDispatcherGlib::processEvents (this=0x631730, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#40 0x00007f5bad74272f in QGuiEventDispatcherGlib::processEvents (this=0x0, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f5bae19a585 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fffb7660af0)
    at kernel/qeventloop.cpp:149
#42 0x00007f5bae19a6db in QEventLoop::exec (this=0x7fffb7660b30, 
    flags=@0x7fffb7660b40) at kernel/qeventloop.cpp:200
#43 0x00007f5bae19c729 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#44 0x000000000040311d in main (argc=1, argv=0x7fffb7661d38)
    at /build/buildd/amarok-kde4-1.90/src/main.cpp:127
#0  0x00007f5bad22cb81 in nanosleep () from /lib/libc.so.6
Comment 1 Mark Kretschmann 2008-08-28 08:47:24 UTC
This crash appears to stem from KStyle (possibly Oxygen), rather than Amarok itself. I'm reassigning the report.
Comment 2 Mark Eaton 2008-08-28 11:43:47 UTC
Yes I was using Oxygen style and window decoration.
Comment 3 Dario Andres 2009-01-09 18:18:53 UTC
Have you experienced this bug again using a recent KDE (4.1.3 / 4.1.4 / 4.2beta2 / 4.2rc1 / 4.2svn) ? Thanks :)
Comment 4 Christoph Feck 2009-03-26 04:50:26 UTC
Looking at the backtrace, I see references to raster paint engine, so this is maybe a very early Qt 4.5 snapshot using the "-graphicssystem raster" option?

Mark, could you retest with "-graphicssystem native"?
Comment 5 Dario Andres 2009-08-11 20:36:12 UTC
Merging with bug 176014. Thanks

*** This bug has been marked as a duplicate of bug 176014 ***