Bug 240116

Summary: DCP-770cw
Product: [Plasma] Oxygen Reporter: vanstef
Component: styleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: crash CC: bcooksley, hugo.pereira.da.costa
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description vanstef 2010-05-30 18:28:50 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
printer print te hoog op een A4 blad bij de testafdruk !

The crash can be reproduced every time.

 -- Backtrace:
Application: Systeeminstellingen (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb773a710 (LWP 7257))]

Thread 2 (Thread 0xb4e61b70 (LWP 7258)):
#0  0x00f59e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x008806fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00885825 in QTimerInfoList::updateCurrentTime (this=0x8d896cc) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0088586a in QTimerInfoList::timerWait (this=0x8d896cc, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00883818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4e610cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x008838a5 in timerSourcePrepare (source=0x0, timeout=0xf5dff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x07c13aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x07c13ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x07c144b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0088360f in QEventDispatcherGlib::processEvents (this=0x8bd7df8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00856059 in QEventLoop::processEvents (this=0xb4e61290, flags=) at kernel/qeventloop.cpp:149
#11 0x008564aa in QEventLoop::exec (this=0xb4e61290, flags=...) at kernel/qeventloop.cpp:201
#12 0x007525a8 in QThread::exec (this=0x8d4b190) at thread/qthread.cpp:487
#13 0x00835c1b in QInotifyFileSystemWatcherEngine::run (this=0x8d4b190) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0075532e in QThreadPrivate::start (arg=0x8d4b190) at thread/qthread_unix.cpp:248
#15 0x00dc696e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x03ddba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb773a710 (LWP 7257)):
[KCrash Handler]
#6  0x03d7debc in free () from /lib/tls/i686/cmov/libc.so.6
#7  0x0074fa5d in qFree (ptr=0x9945770) at global/qmalloc.cpp:60
#8  0x007aec93 in QVectorData::free (x=0x0, alignment=4) at tools/qvector.cpp:82
#9  0x0122b9f5 in QVectorTypedData<QPair<double, QColor> >::free (this=0x9668ce0, x=0x9945770) at ../../include/QtCore/../../src/corelib/tools/qvector.h:96
#10 QVector<QPair<double, QColor> >::free (this=0x9668ce0, x=0x9945770) at ../../include/QtCore/../../src/corelib/tools/qvector.h:438
#11 0x012ea687 in QHash<unsigned long long, QGradientCache::CacheInfo>::remove(unsigned long long const&) () from /usr/lib/libQtGui.so.4
#12 0x012eb825 in QGradientCache::addCacheElement(unsigned long long, QGradient const&, int) () from /usr/lib/libQtGui.so.4
#13 0x012e2ee7 in QGradientCache::getBuffer (this=0x9a0b020, brush=..., alpha=256, compositionMode=QPainter::CompositionMode_SourceOver) at painting/qpaintengine_raster.cpp:4824
#14 QSpanData::setup (this=0x9a0b020, brush=..., alpha=256, compositionMode=QPainter::CompositionMode_SourceOver) at painting/qpaintengine_raster.cpp:5009
#15 0x012e32fc in QRasterPaintEngine::updateBrush (this=0x9984e50, brush=...) at painting/qpaintengine_raster.cpp:872
#16 0x012e35cb in QRasterPaintEngine::ensureBrush (this=0x9984e50, path=..., brush=...) at painting/qpaintengine_raster_p.h:268
#17 QRasterPaintEngine::fill (this=0x9984e50, path=..., brush=...) at painting/qpaintengine_raster.cpp:1803
#18 0x0124e6c6 in QPaintEngineEx::draw (this=0x9984e50, path=...) at painting/qpaintengineex.cpp:598
#19 0x0124ea35 in QPaintEngineEx::drawPath (this=0x9984e50, path=...) at painting/qpaintengineex.cpp:847
#20 0x01265f9f in QPainter::drawPath (this=0xbfb38efc, path=...) at painting/qpainter.cpp:3354
#21 0x012605aa in QPainterPrivate::draw_helper (this=0x99842d8, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:458
#22 0x01262370 in QPainter::drawEllipse (this=0xbfb3920c, r=...) at painting/qpainter.cpp:4241
#23 0x01b93f2c in OxygenHelper::drawSlab (this=0x8ab5138, p=..., color=..., shade=0) at ../../../kstyles/oxygen/lib/helper.cpp:727
#24 0x01b9582f in OxygenHelper::slab (this=0x8ab5138, color=..., shade=0, size=7) at ../../../kstyles/oxygen/lib/helper.cpp:642
#25 0x01bcca38 in OxygenStyle::renderButtonSlab (this=0x8a8c2f0, p=0xbfb3abb4, r=..., color=..., opts=) at ../../../kstyles/oxygen/oxygen.cpp:4158
#26 0x01bd605c in OxygenStyle::drawPushButtonPrimitive (this=0x8a8c2f0, primitive=0, opt=0xbfb39b3c, r=..., pal=..., flags=..., p=0xbfb3abb4, widget=0x8bdabb0, kOpt=0x0)
    at ../../../kstyles/oxygen/oxygen.cpp:857
#27 0x01bcd35a in OxygenStyle::drawKStylePrimitive (this=0x8a8c2f0, widgetType=KStyle::WT_PushButton, primitive=0, opt=0xbfb39b3c, r=..., palette=..., flags=..., p=0xbfb3abb4, widget=0x8bdabb0, kOpt=
    0x0) at ../../../kstyles/oxygen/oxygen.cpp:756
#28 0x00c031bb in KStyle::drawPrimitive (this=0x8a8c2f0, elem=QStyle::PE_PanelButtonCommand, option=0xbfb39b3c, painter=0xbfb3abb4, widget=0x8bdabb0) at ../../kdeui/kernel/kstyle.cpp:1182
#29 0x01bcd9a7 in OxygenStyle::drawPrimitive (this=0x8a8c2f0, element=QStyle::PE_Q3CheckListController, option=0xbfb39b3c, p=0xbfb3abb4, widget=0x8bdabb0) at ../../../kstyles/oxygen/oxygen.cpp:482
#30 0x00bfff58 in KStyle::drawControl (this=0x8a8c2f0, element=QStyle::CE_PushButtonBevel, option=0xbfb3ab74, p=0xbfb3abb4, widget=0x8bdabb0) at ../../kdeui/kernel/kstyle.cpp:1393
#31 0x01bd6635 in OxygenStyle::drawControl (this=0x8a8c2f0, element=QStyle::CE_PushButton, option=0xbfb3ab74, p=0xbfb3abb4, widget=0x1) at ../../../kstyles/oxygen/oxygen.cpp:635
#32 0x00bfff9e in KStyle::drawControl (this=0x8a8c2f0, element=QStyle::CE_PushButton, option=0xbfb3ab74, p=0xbfb3abb4, widget=0x8bdabb0) at ../../kdeui/kernel/kstyle.cpp:1342
#33 0x01bd6635 in OxygenStyle::drawControl (this=0x8a8c2f0, element=QStyle::CE_PushButton, option=0xbfb3ab74, p=0xbfb3abb4, widget=0x1) at ../../../kstyles/oxygen/oxygen.cpp:635
#34 0x00cee361 in QStylePainter::drawControl (this=0x8bdabb0) at /usr/include/qt4/QtGui/qstylepainter.h:89
#35 KPushButton::paintEvent (this=0x8bdabb0) at ../../kdeui/widgets/kpushbutton.cpp:376
#36 0x011496b6 in QWidget::event (this=0x8bdabb0, event=0xbfb3b1c4) at kernel/qwidget.cpp:8144
#37 0x014f5d4e in QAbstractButton::event (this=0x8bdabb0, e=0x9945768) at widgets/qabstractbutton.cpp:1080
#38 0x015a01f2 in QPushButton::event (this=0x8bdabb0, e=0xbfb3b1c4) at widgets/qpushbutton.cpp:679
#39 0x010eb4dc in QApplicationPrivate::notify_helper (this=0x8a4b358, receiver=0x8bdabb0, e=0xbfb3b1c4) at kernel/qapplication.cpp:4300
#40 0x010f20f9 in QApplication::notify (this=0xbfb3cf6c, receiver=0x8bdabb0, e=0xbfb3b1c4) at kernel/qapplication.cpp:4265
#41 0x00be9f5a in KApplication::notify (this=0xbfb3cf6c, receiver=0x8bdabb0, event=0xbfb3b1c4) at ../../kdeui/kernel/kapplication.cpp:302
#42 0x00857a3b in QCoreApplication::notifyInternal (this=0xbfb3cf6c, receiver=0x8bdabb0, event=0xbfb3b1c4) at kernel/qcoreapplication.cpp:704
#43 0x011529d6 in QCoreApplication::sendSpontaneousEvent (this=0x8bda9f0, pdev=0x8bc9a04, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8bc54b0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#44 QWidgetPrivate::drawWidget (this=0x8bda9f0, pdev=0x8bc9a04, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8bc54b0) at kernel/qwidget.cpp:5339
#45 0x01153815 in QWidgetPrivate::paintSiblingsRecursive (this=0x8c88260, pdev=0x8bc9a04, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8bc54b0)
    at kernel/qwidget.cpp:5452
#46 0x0115364e in QWidgetPrivate::paintSiblingsRecursive (this=0x8c88260, pdev=0x8bc9a04, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8bc54b0)
    at kernel/qwidget.cpp:5439
#47 0x01152725 in QWidgetPrivate::drawWidget (this=0x8c88260, pdev=0x8bc9a04, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8bc54b0) at kernel/qwidget.cpp:5388
#48 0x01153815 in QWidgetPrivate::paintSiblingsRecursive (this=0x8c80218, pdev=0x8bc9a04, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8bc54b0)
    at kernel/qwidget.cpp:5452
#49 0x01152725 in QWidgetPrivate::drawWidget (this=0x8c80218, pdev=0x8bc9a04, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8bc54b0) at kernel/qwidget.cpp:5388
#50 0x01153815 in QWidgetPrivate::paintSiblingsRecursive (this=0x8c7ff58, pdev=0x8bc9a04, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8bc54b0)
    at kernel/qwidget.cpp:5452
#51 0x01152725 in QWidgetPrivate::drawWidget (this=0x8c7ff58, pdev=0x8bc9a04, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8bc54b0) at kernel/qwidget.cpp:5388
#52 0x01153815 in QWidgetPrivate::paintSiblingsRecursive (this=0x8ad8528, pdev=0x8bc9a04, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8bc54b0)
    at kernel/qwidget.cpp:5452
#53 0x01152725 in QWidgetPrivate::drawWidget (this=0x8ad8528, pdev=0x8bc9a04, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8bc54b0) at kernel/qwidget.cpp:5388
#54 0x01153815 in QWidgetPrivate::paintSiblingsRecursive (this=0x8adb698, pdev=0x8bc9a04, siblings=..., index=18, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8bc54b0)
    at kernel/qwidget.cpp:5452
#55 0x01152725 in QWidgetPrivate::drawWidget (this=0x8adb698, pdev=0x8bc9a04, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8bc54b0) at kernel/qwidget.cpp:5388
#56 0x01329890 in QWidgetBackingStore::sync (this=0x8bc54b0) at painting/qbackingstore.cpp:1291
#57 0x01142b93 in QWidgetPrivate::syncBackingStore (this=0x8adb698) at kernel/qwidget.cpp:1672
#58 0x01149e76 in QWidget::event (this=0x8ad9218, event=0x9a08790) at kernel/qwidget.cpp:8291
#59 0x01564bc7 in QMainWindow::event (this=0x8ad9218, event=0x9a08790) at widgets/qmainwindow.cpp:1433
#60 0x00cdbae4 in KMainWindow::event (this=0x8ad9218, ev=0x9a08790) at ../../kdeui/widgets/kmainwindow.cpp:1103
#61 0x00d238ef in KXmlGuiWindow::event (this=0x8ad9218, ev=0x9a08790) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#62 0x010eb4dc in QApplicationPrivate::notify_helper (this=0x8a4b358, receiver=0x8ad9218, e=0x9a08790) at kernel/qapplication.cpp:4300
#63 0x010f20f9 in QApplication::notify (this=0xbfb3cf6c, receiver=0x8ad9218, e=0x9a08790) at kernel/qapplication.cpp:4265
#64 0x00be9f5a in KApplication::notify (this=0xbfb3cf6c, receiver=0x8ad9218, event=0x9a08790) at ../../kdeui/kernel/kapplication.cpp:302
#65 0x00857a3b in QCoreApplication::notifyInternal (this=0xbfb3cf6c, receiver=0x8ad9218, event=0x9a08790) at kernel/qcoreapplication.cpp:704
#66 0x0085a473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8a2c2c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8a2c2c0) at kernel/qcoreapplication.cpp:1345
#68 0x0085a5dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#69 0x00883adf in QCoreApplication::sendPostedEvents (s=0x8a4cb90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#70 postEventSourceDispatch (s=0x8a4cb90) at kernel/qeventdispatcher_glib.cpp:276
#71 0x07c105e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#72 0x07c142d8 in ?? () from /lib/libglib-2.0.so.0
#73 0x07c144b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#74 0x008835d5 in QEventDispatcherGlib::processEvents (this=0x8a2c4a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#75 0x011ab135 in QGuiEventDispatcherGlib::processEvents (this=0x8a2c4a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00856059 in QEventLoop::processEvents (this=0xbfb3cec4, flags=) at kernel/qeventloop.cpp:149
#77 0x008564aa in QEventLoop::exec (this=0xbfb3cec4, flags=...) at kernel/qeventloop.cpp:201
#78 0x0085a69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#79 0x010eb577 in QApplication::exec () at kernel/qapplication.cpp:3579
#80 0x08056b5e in main (argc=5, argv=0xbfb3d0b4) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Ben Cooksley 2010-05-30 22:33:07 UTC
Seems to be a crash in the Oxygen style.
Comment 2 Hugo Pereira Da Costa 2010-05-30 22:56:12 UTC
Can someone translate "printer print te hoog op een A4 blad bij de testafdruk !"
to me ? 
I have no idea how to try reproduce this crash.
It seems there is some corruption with QGradientCache insertion/removal of data.
(which would be a Qt bug and not and oxygen bug, but ...)
Comment 3 Ben Cooksley 2010-05-31 05:50:05 UTC
According to Google Translate, it is Dutch, and translates to:

printer prints too high on an A4 sheet with the test print!
Comment 4 vanstef 2010-05-31 09:23:22 UTC
hello,


It was Dutch.


"Printer is printing to high on a A4 sheet of paper while printing a test  
print "

sorry for my englisch.

best regards

stephan



Op Sun, 30 May 2010 22:56:14 +0200 schreef Hugo Pereira Da Costa  
<hugo.pereira@free.fr>:

> https://bugs.kde.org/show_bug.cgi?id=240116
>
>
> Hugo Pereira Da Costa <hugo.pereira@free.fr> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |hugo.pereira@free.fr
>
>
>
>
> --- Comment #2 from Hugo Pereira Da Costa <hugo pereira free fr>   
> 2010-05-30 22:56:12 ---
> Can someone translate "printer print te hoog op een A4 blad bij de  
> testafdruk
> !"
> to me ?
> I have no idea how to try reproduce this crash.
> It seems there is some corruption with QGradientCache insertion/removal  
> of
> data.
> (which would be a Qt bug and not and oxygen bug, but ...)
>
Comment 5 vanstef 2010-06-01 14:37:12 UTC
When I change the Top-Margin value in Printer Configuration
my Brother DCP770cw prints even higher on the A4 sheet.

reinstalled the EXTRA drivers for Brother printers
until now no crash of the Printer Configuration.




Op Mon, 31 May 2010 05:50:08 +0200 schreef Ben Cooksley  
<sourtooth@gmail.com>:

> https://bugs.kde.org/show_bug.cgi?id=240116
>
>
>
>
>
> --- Comment #3 from Ben Cooksley <sourtooth gmail com>  2010-05-31  
> 05:50:05 ---
> According to Google Translate, it is Dutch, and translates to:
>
> printer prints too high on an A4 sheet with the test print!
>
Comment 6 Hugo Pereira Da Costa 2011-09-23 12:56:44 UTC
... so closing (though this all bug sound weird).
Anyway. We're kde@4.7 now, things have changed a lot, and hopefully the real crash is gone.