[Digikam-devel] [Bug 278320] New: Crash with "-graphicssystem raster"

Christoph Feck christoph at maxiom.de
Sat Jul 23 11:23:03 BST 2011


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

           Summary: Crash with "-graphicssystem raster"
           Product: digikam
           Version: 2.0.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: christoph at maxiom.de


Application: digikam (2.0.0)
KDE Platform Version: 4.7.40 (4.7.40 (KDE 4.8 >= 200110623) (Compiled from
sources)
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.5-desktop i686
Distribution: "openSUSE 11.4 (i586)"

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

I am pretty sure this is a Qt bug, but maybe you can reduce it to a minimal
test case to attach to a Qt bug report.

The crash happens when I hover the small "Prev/Next/Rotate/etc." icons when
they partially overlap the image in the simple builtin image viewer.

When running with "-graphicssystem native" that crash does not happen.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xaea099c0 (LWP 29469))]

Thread 4 (Thread 0xadcb4b70 (LWP 29470)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4005105 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb408a155 in QWaitConditionPrivate::wait (this=0x8631408, time=4294967295)
at /local/git/Qt/qt/src/corelib/thread/qwaitcondition_unix.cpp:88
#3  0xb4089f59 in QWaitCondition::wait (this=0x8613de4, mutex=0x8613de0,
time=4294967295) at
/local/git/Qt/qt/src/corelib/thread/qwaitcondition_unix.cpp:160
#4  0x081e66f8 in Digikam::ScanController::run (this=0x8615908) at
/local/git/extragear/graphics/digikam/digikam/database/scancontroller.cpp:618
#5  0xb4088dfc in QThreadPrivate::start (arg=0x8615908) at
/local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:331
#6  0xb4000b05 in start_thread (arg=0xadcb4b70) at pthread_create.c:297
#7  0xb3ca9d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xad4b3b70 (LWP 29471)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb3c9f03e in __poll (fds=0x8641df0, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb36c00bb in g_poll (fds=0x8641df0, nfds=1, timeout=-1) at gpoll.c:132
#3  0xb36afc46 in g_main_context_poll (context=0x8689ba0, block=1, dispatch=1,
self=0x8670780) at gmain.c:3404
#4  g_main_context_iterate (context=0x8689ba0, block=1, dispatch=1,
self=0x8670780) at gmain.c:3086
#5  0xb36affce in g_main_context_iteration (context=0x8689ba0, may_block=1) at
gmain.c:3154
#6  0xb41c7568 in QEventDispatcherGlib::processEvents (this=0x8689af8,
flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#7  0xb4190aed in QEventLoop::processEvents (this=0xad4b3218, flags=...) at
/local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#8  0xb4190c31 in QEventLoop::exec (this=0xad4b3218, flags=...) at
/local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#9  0xb40866b3 in QThread::exec (this=0x8638538) at
/local/git/Qt/qt/src/corelib/thread/qthread.cpp:492
#10 0xb41720f4 in QInotifyFileSystemWatcherEngine::run (this=0x8638538) at
/local/git/Qt/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:248
#11 0xb4088dfc in QThreadPrivate::start (arg=0x8638538) at
/local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:331
#12 0xb4000b05 in start_thread (arg=0xad4b3b70) at pthread_create.c:297
#13 0xb3ca9d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaccb2b70 (LWP 29473)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4005105 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb408a155 in QWaitConditionPrivate::wait (this=0x868d5b0, time=4294967295)
at /local/git/Qt/qt/src/corelib/thread/qwaitcondition_unix.cpp:88
#3  0xb4089f59 in QWaitCondition::wait (this=0x86f6838, mutex=0x86f6834,
time=4294967295) at
/local/git/Qt/qt/src/corelib/thread/qwaitcondition_unix.cpp:160
#4  0xb651c3c0 in Digikam::ParkingThread::run (this=0x86f6828) at
/local/git/extragear/graphics/digikam/libs/threads/threadmanager.cpp:119
#5  0xb4088dfc in QThreadPrivate::start (arg=0x86f6828) at
/local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:331
#6  0xb4000b05 in start_thread (arg=0xaccb2b70) at pthread_create.c:297
#7  0xb3ca9d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xaea099c0 (LWP 29469)):
[KCrash Handler]
#7  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#8  0x0877fe04 in ?? ()
#9  0xb4932273 in qt_blend_rgb32_on_rgb32 (destPixels=0xa83ee570
"\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377'12\377%13\377%13\377%13\377%13\377&24\377&24\377&24\377%13\377.26\377:19\377\070/4\377O\026%\377I\032(\377?-5\377\227B[\377\302\217\237\377\260m\202\377\241<\\\377)68\377(57\377(57\377(57\377(57\377(57\377(57\377)68\377*79\377"...,
dbpl=4096, srcPixels=0xa4c9a0c4 <Address 0xa4c9a0c4 out of bounds>, sbpl=2796,
w=22, h=11, const_alpha=256) at
/local/git/Qt/qt/src/gui/painting/qblendfunctions.cpp:550
#10 0xb47e352e in qt_blend_rgb32_on_rgb32_sse2 (destPixels=0xa83ee570
"\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377\346\346\346\377'12\377%13\377%13\377%13\377%13\377&24\377&24\377&24\377%13\377.26\377:19\377\070/4\377O\026%\377I\032(\377?-5\377\227B[\377\302\217\237\377\260m\202\377\241<\\\377)68\377(57\377(57\377(57\377(57\377(57\377(57\377)68\377*79\377"...,
dbpl=4096, srcPixels=0xa4c9a0c4 <Address 0xa4c9a0c4 out of bounds>, sbpl=2796,
w=22, h=11, const_alpha=256) at
/local/git/Qt/qt/src/gui/painting/qdrawhelper_sse2.cpp:139
#11 0xb4a05f13 in QRasterPaintEnginePrivate::drawImage (this=0x919bda8, pt=...,
img=..., func=0xb47e2993 <qt_blend_rgb32_on_rgb32_sse2(uchar*, int, uchar
const*, int, int, int, int)>, clip=..., alpha=256, sr=...) at
/local/git/Qt/qt/src/gui/painting/qpaintengine_raster.cpp:1070
#12 0xb4a0eaca in QRasterPaintEngine::drawImage (this=0x936fa98, r=...,
img=..., sr=...) at
/local/git/Qt/qt/src/gui/painting/qpaintengine_raster.cpp:2777
#13 0xb4a0c877 in QRasterPaintEngine::drawPixmap (this=0x936fa98, r=...,
pixmap=..., sr=...) at
/local/git/Qt/qt/src/gui/painting/qpaintengine_raster.cpp:2435
#14 0xb4982699 in QPainter::drawPixmap (this=0xbfe7fdec, r=..., pm=..., sr=...)
at /local/git/Qt/qt/src/gui/painting/qpainter.cpp:5387
#15 0xb658415a in QPainter::drawPixmap (this=0xbfe7fdec, p=..., pm=..., sr=...)
at /local/qt4/include/QtGui/qpainter.h:879
#16 0xb65c4dc9 in Digikam::GraphicsDImgItem::paint (this=0x8782170,
painter=0xbfe7fdec, option=0x877fe04) at
/local/git/extragear/graphics/digikam/libs/widgets/graphicsview/graphicsdimgitem.cpp:197
#17 0xb4f18ddd in QGraphicsScenePrivate::draw (this=0x877fcb0, item=0x8782178,
painter=0xbfe7fdec, viewTransform=0xbfe7fd20, transformPtr=0xbfe7f948,
exposedRegion=0x8768598, widget=0x877f708, opacity=1, effectTransform=0x0,
wasDirtyParentSceneTransform=false, drawItem=true) at
/local/git/Qt/qt/src/gui/graphicsview/qgraphicsscene.cpp:4962
#18 0xb4f18776 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x877fcb0,
item=0x8782178, painter=0xbfe7fdec, viewTransform=0xbfe7fd20,
exposedRegion=0x8768598, widget=0x877f708, parentOpacity=1,
effectTransform=0x0) at
/local/git/Qt/qt/src/gui/graphicsview/qgraphicsscene.cpp:4855
#19 0xb4f17ce6 in QGraphicsScenePrivate::drawItems (this=0x877fcb0,
painter=0xbfe7fdec, viewTransform=0xbfe7fd20, exposedRegion=0x8768598,
widget=0x877f708) at
/local/git/Qt/qt/src/gui/graphicsview/qgraphicsscene.cpp:4737
#20 0xb4f42340 in QGraphicsView::paintEvent (this=0x877a200, event=0xbfe80814)
at /local/git/Qt/qt/src/gui/graphicsview/qgraphicsview.cpp:3469
#21 0xb485f25a in QWidget::event (this=0x877a200, event=0xbfe80814) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:8425
#22 0xb4cc5a3c in QFrame::event (this=0x877a200, e=0xbfe80814) at
/local/git/Qt/qt/src/gui/widgets/qframe.cpp:557
#23 0xb4d6683b in QAbstractScrollArea::viewportEvent (this=0x877a200,
e=0xbfe80814) at /local/git/Qt/qt/src/gui/widgets/qabstractscrollarea.cpp:1043
#24 0xb4f3f868 in QGraphicsView::viewportEvent (this=0x877a200,
event=0xbfe80814) at
/local/git/Qt/qt/src/gui/graphicsview/qgraphicsview.cpp:2864
#25 0xb4d673b3 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8768248,
event=0xbfe80814) at
/local/git/Qt/qt/src/gui/widgets/qabstractscrollarea_p.h:100
#26 0xb4d67490 in QAbstractScrollAreaFilter::eventFilter (this=0x870c320,
o=0x877f708, e=0xbfe80814) at
/local/git/Qt/qt/src/gui/widgets/qabstractscrollarea_p.h:116
#27 0xb4193067 in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x855c5a8, receiver=0x877f708, event=0xbfe80814) at
/local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:902
#28 0xb47fe88a in QApplicationPrivate::notify_helper (this=0x855c5a8,
receiver=0x877f708, e=0xbfe80814) at
/local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4458
#29 0xb47fe5e3 in QApplication::notify (this=0xbfe8240c, receiver=0x877f708,
e=0xbfe80814) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4427
#30 0xb54eebbe in KApplication::notify (this=0xbfe8240c, receiver=0x877f708,
event=0xbfe80814) at
/local/git/KDE/libs/kdelibs/kdeui/kernel/kapplication.cpp:311
#31 0xb4192d8f in QCoreApplication::notifyInternal (this=0xbfe8240c,
receiver=0x877f708, event=0xbfe80814) at
/local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:787
#32 0xb48011c9 in QCoreApplication::sendSpontaneousEvent (receiver=0x877f708,
event=0xbfe80814) at
../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:218
#33 0xb4857a03 in QWidgetPrivate::drawWidget (this=0x877fa18, pdev=0x9761fa8,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5512
#34 0xb4858782 in QWidgetPrivate::paintSiblingsRecursive (this=0x8768248,
pdev=0x9761fa8, siblings=..., index=1, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5719
#35 0xb4858651 in QWidgetPrivate::paintSiblingsRecursive (this=0x8768248,
pdev=0x9761fa8, siblings=..., index=14, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5706
#36 0xb4858651 in QWidgetPrivate::paintSiblingsRecursive (this=0x8768248,
pdev=0x9761fa8, siblings=..., index=18, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5706
#37 0xb4857dec in QWidgetPrivate::drawWidget (this=0x8768248, pdev=0x9761fa8,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5565
#38 0xb4858782 in QWidgetPrivate::paintSiblingsRecursive (this=0x86f80a0,
pdev=0x9761fa8, siblings=..., index=7, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5719
#39 0xb4857dec in QWidgetPrivate::drawWidget (this=0x86f80a0, pdev=0x9761fa8,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5565
#40 0xb4858782 in QWidgetPrivate::paintSiblingsRecursive (this=0x8703398,
pdev=0x9761fa8, siblings=..., index=1, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5719
#41 0xb4857dec in QWidgetPrivate::drawWidget (this=0x8703398, pdev=0x9761fa8,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5565
#42 0xb4858782 in QWidgetPrivate::paintSiblingsRecursive (this=0x8714920,
pdev=0x9761fa8, siblings=..., index=0, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5719
#43 0xb4857dec in QWidgetPrivate::drawWidget (this=0x8714920, pdev=0x9761fa8,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5565
#44 0xb4858782 in QWidgetPrivate::paintSiblingsRecursive (this=0x87051e8,
pdev=0x9761fa8, siblings=..., index=4, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5719
#45 0xb4857dec in QWidgetPrivate::drawWidget (this=0x87051e8, pdev=0x9761fa8,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5565
#46 0xb4858782 in QWidgetPrivate::paintSiblingsRecursive (this=0x8720bc0,
pdev=0x9761fa8, siblings=..., index=10, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5719
#47 0xb4857dec in QWidgetPrivate::drawWidget (this=0x8720bc0, pdev=0x9761fa8,
rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x86dea08) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5565
#48 0xb4a66eb8 in QWidgetBackingStore::sync (this=0x86dea08) at
/local/git/Qt/qt/src/gui/painting/qbackingstore.cpp:1338
#49 0xb484ee3a in QWidgetPrivate::syncBackingStore (this=0x8720bc0) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:1862
#50 0xb485f750 in QWidget::event (this=0x87110d0, event=0x9931130) at
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:8572
#51 0xb4ce7367 in QMainWindow::event (this=0x87110d0, event=0x9931130) at
/local/git/Qt/qt/src/gui/widgets/qmainwindow.cpp:1480
#52 0xb55ce82c in KMainWindow::event (this=0x87110d0, ev=0x9931130) at
/local/git/KDE/libs/kdelibs/kdeui/widgets/kmainwindow.cpp:1100
#53 0xb56154d3 in KXmlGuiWindow::event (this=0x87110d0, ev=0x9931130) at
/local/git/KDE/libs/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126
#54 0xb47fe8ae in QApplicationPrivate::notify_helper (this=0x855c5a8,
receiver=0x87110d0, e=0x9931130) at
/local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4462
#55 0xb47fe5e3 in QApplication::notify (this=0xbfe8240c, receiver=0x87110d0,
e=0x9931130) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4427
#56 0xb54eebbe in KApplication::notify (this=0xbfe8240c, receiver=0x87110d0,
event=0x9931130) at
/local/git/KDE/libs/kdelibs/kdeui/kernel/kapplication.cpp:311
#57 0xb4192d8f in QCoreApplication::notifyInternal (this=0xbfe8240c,
receiver=0x87110d0, event=0x9931130) at
/local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:787
#58 0xb4196691 in QCoreApplication::sendEvent (receiver=0x87110d0,
event=0x9931130) at
../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215
#59 0xb4193e28 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
event_type=0, data=0x851ea90) at
/local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1428
#60 0xb4193ae5 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1321
#61 0xb41c7c20 in QCoreApplication::sendPostedEvents () at
../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:220
#62 0xb41c6d82 in postEventSourceDispatch (s=0x855e708) at
/local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#63 0xb36af509 in g_main_dispatch (context=0x855e678) at gmain.c:2440
#64 g_main_context_dispatch (context=0x855e678) at gmain.c:3013
#65 0xb36afd10 in g_main_context_iterate (context=0x855e678, block=1,
dispatch=1, self=0x855c440) at gmain.c:3091
#66 0xb36affce in g_main_context_iteration (context=0x855e678, may_block=1) at
gmain.c:3154
#67 0xb41c7548 in QEventDispatcherGlib::processEvents (this=0x855c260,
flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422
#68 0xb48c7a98 in QGuiEventDispatcherGlib::processEvents (this=0x855c260,
flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#69 0xb4190aed in QEventLoop::processEvents (this=0xbfe8231c, flags=...) at
/local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#70 0xb4190c31 in QEventLoop::exec (this=0xbfe8231c, flags=...) at
/local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#71 0xb419347a in QCoreApplication::exec () at
/local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1064
#72 0xb47fbddc in QApplication::exec () at
/local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3736
#73 0x082a93bf in main (argc=1, argv=0xbfe82694) at
/local/git/extragear/graphics/digikam/digikam/main/main.cpp:232

Reported using DrKonqi

-- 
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 Digikam-devel mailing list