Bug 278890

Summary: showfoto crashes with qt 4.8
Product: [Applications] digikam Reporter: nucleo <nucleo>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, cfeck, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description nucleo 2011-07-30 22:29:22 UTC
Version:           2.0.0 (using KDE 4.7.0) 
OS:                Linux

There are two builds:
digikam-2.0.0-rc built with qt-4.7.3 and KDE 4.6.90 http://koji.fedoraproject.org/koji/buildinfo?buildID=251991

and digikam-2.0.0 built with qt 4.8 beta1 and KDE 4.7.0 http://koji.fedoraproject.org/koji/buildinfo?buildID=256199

Crashes only second build digikam-2.0.0.
So if there is no any regressions then maybe this crash related with qt 4.8.

Reproducible: Always

Steps to Reproduce:
showfoto crashes in Apply Texture filter (and other filters)
when moving Relief slider.



Actual Results:  
 

Expected Results:  
 

Application: showFoto (showfoto), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb55c48d0 (LWP 1352))]

Thread 4 (Thread 0xb4865b70 (LWP 1353)):
#0  0x001e5416 in __kernel_vsyscall ()
#1  0x0015a80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x04870498 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x008b07c4 in ?? () from /usr/lib/libdigikamcore.so.2
#4  0x0486ff11 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00156c8e in start_thread () from /lib/libpthread.so.0
#6  0x0427074e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb37cfb70 (LWP 1356)):
#0  0x001e5416 in __kernel_vsyscall ()
#1  0x0015abb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x04870410 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x0486274c in ?? () from /usr/lib/libQtCore.so.4
#4  0x0486ff11 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00156c8e in start_thread () from /lib/libpthread.so.0
#6  0x0427074e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb2afeb70 (LWP 1357)):
#0  0x001e5416 in __kernel_vsyscall ()
#1  0x0015abb4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x04870410 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x0486274c in ?? () from /usr/lib/libQtCore.so.4
#4  0x0486ff11 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00156c8e in start_thread () from /lib/libpthread.so.0
#6  0x0427074e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb55c48d0 (LWP 1352)):
[KCrash Handler]
#7  0x042bf520 in __memcpy_ssse3 () from /lib/libc.so.6
#8  0x01388a9c in ?? () from /usr/lib/libQtGui.so.4
#9  0x01268be6 in ?? () from /usr/lib/libQtGui.so.4
#10 0x01460988 in ?? () from /usr/lib/libQtGui.so.4
#11 0x014676f9 in ?? () from /usr/lib/libQtGui.so.4
#12 0x01471bd5 in ?? () from /usr/lib/libQtGui.so.4
#13 0x013eb87c in QPainter::drawPixmap(QRectF const&, QPixmap const&, QRectF const&) () from /usr/lib/libQtGui.so.4
#14 0x00912ae6 in Digikam::ImageRegionWidget::viewportPaintExtraData() () from /usr/lib/libdigikamcore.so.2
#15 0x0090618c in Digikam::PreviewWidget::viewportPaintEvent(QPaintEvent*) () from /usr/lib/libdigikamcore.so.2
#16 0x00e75197 in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt3Support.so.4
#17 0x04983f26 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x012736a3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x01278c1b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x05230352 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x04983d7e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x012c9c9b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#23 0x014be417 in ?? () from /usr/lib/libQtGui.so.4
#24 0x012bf45b in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#25 0x012ced33 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x01704284 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x0530ec14 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#28 0x05357e23 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x012736d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x01278c1b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x05230352 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x04983d7e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x04987cd8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#34 0x0498800d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#35 0x049b65f5 in ?? () from /usr/lib/libQtCore.so.4
#36 0x05a6d21f in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x05a6d960 in ?? () from /lib/libglib-2.0.so.0
#38 0x05a6dc0f in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x049b69f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x01327b3b in ?? () from /usr/lib/libQtGui.so.4
#41 0x04982c6e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0x04982f19 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x049880bb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#44 0x012714d5 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#45 0x08057644 in ?? ()
#46 0x041a1583 in __libc_start_main () from /lib/libc.so.6
#47 0x08057d35 in _start ()
Comment 1 caulier.gilles 2011-07-31 09:47:39 UTC
Crash appears in Qt4, with SSE3 4 bugs. It's not a digiKam bugs.

Gilles Caulier
Comment 2 nucleo 2011-07-31 10:21:23 UTC
Can you please give a link to fix of this bug in Qt upstream?
Comment 3 Christoph Feck 2011-07-31 12:10:39 UTC
Probably same as bug 278320. Try running with "-graphicssystem native".
Comment 4 nucleo 2011-07-31 12:47:00 UTC
(In reply to comment #3)
> Probably same as bug 278320. Try running with "-graphicssystem native".

Yes, no crash when running digikam and showforo with "-graphicssystem native".
Comment 5 caulier.gilles 2011-07-31 12:51:39 UTC

*** This bug has been marked as a duplicate of bug 278320 ***
Comment 6 caulier.gilles 2018-09-03 21:29:13 UTC
Not reproducible with 6.0.0