Bug 209398

Summary: crashes with SIGABRT upon free rotation of large image (55 MPixel) in image editor
Product: [Applications] digikam Reporter: Thorsten Traeger <earthbox2>
Component: Plugin-Editor-RotationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.12.0
Sentry Crash Report:

Description Thorsten Traeger 2009-10-04 14:29:13 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

Anwendung: digiKam (digikam), Signal SIGABRT
[Current thread is 0 (LWP 31716)]

Thread 13 (Thread 0xb2fc0b90 (LWP 31717)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56e79b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0x0828f319 in ?? ()
#5  0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xb247ab90 (LWP 31953)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56e79b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71d8d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xb13ffb90 (LWP 31954)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56e79b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71d8d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xaed3ab90 (LWP 31956)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f9412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb17bfae3 in ?? () from /usr/lib/libxine.so.1

Thread 9 (Thread 0xae06cb90 (LWP 31957)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb54e47b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb17e97d6 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 8 (Thread 0xad86bb90 (LWP 31958)):
#0  0xb4a160ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb580806b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5808241 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5809e2c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb580661a in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4ab29c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb4ab2dda in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb4ab3268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb5806457 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb57d906a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb57d94aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb56e3639 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb1b6b20a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xad06ab90 (LWP 31961)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb54e1ae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xae48db19 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xac869b90 (LWP 31962)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb17d0d8e in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xab7e4b90 (LWP 31977)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56e79b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71d8d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa95feb90 (LWP 32001)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56e79b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71d8d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa9dffb90 (LWP 32002)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56e79b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71d8d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaafe3b90 (LWP 32004)):
#0  0xb7fa3430 in __kernel_vsyscall ()
#1  0xb53f90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb54fb2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb56e79b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71d8d4a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb56e696e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53f54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb54ec49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb46a1920 (LWP 31716)):
[KCrash Handler]
#6  0xb7fa3430 in __kernel_vsyscall ()
#7  0xb54336d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5435098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb565d8f8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#10 0xb565b7d5 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb565b812 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb565b8cb in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#13 0xb57eb44c in QObject::event () from /usr/lib/libQtCore.so.4
#14 0xb5cabe9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#15 0xb5cb419e in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0xb68cf94d in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0xb57daa3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0xb57db695 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#19 0xb57db88d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#20 0xb58067ef in ?? () from /usr/lib/libQtCore.so.4
#21 0xb4aafb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb4ab30eb in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb4ab3268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb5806438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#25 0xb5d4d365 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb57d906a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#27 0xb57d94aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#28 0xb57db959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#29 0xb5cabd17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#30 0x082b4e3b in ?? ()
#31 0xb541e775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#32 0x0808ddc1 in _start ()
Comment 1 Andi Clemens 2009-10-04 14:32:32 UTC
This might be related to bug 188334 ...
Comment 2 caulier.gilles 2009-10-04 14:47:57 UTC
Which digiKam version you use ?

Gilles Caulier
Comment 3 Thorsten Traeger 2009-10-04 15:09:45 UTC
digikam 0.10.0 under kde 4.2.2 (sorry for the wrong kde version above)
Comment 4 caulier.gilles 2009-10-04 15:18:20 UTC
Some work hav been done in current implementation from svn (1.0.0-beta5)
Are you able to test it ?

Gilles Caulier
Comment 5 Thorsten Traeger 2009-10-04 15:30:48 UTC
> Are you able to test it ?

Thanks for your prompt replies. No problem, I will compile/test as soon as possible. However, I guess I will not be able to do it within the next 2 - 4 weeks.
Comment 6 caulier.gilles 2009-12-25 20:29:07 UTC
digiKam 1.0.0 is out since few days...

http://www.digikam.org/drupal/node/491

Please try with this version coming with more than 400 bug-fixes.

Thanks in advance

Gilles Caulier
Comment 7 caulier.gilles 2010-04-04 10:44:00 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 8 caulier.gilles 2010-10-07 08:50:33 UTC
we need feedback using digiKam 1.4.0

Gilles Caulier
Comment 9 caulier.gilles 2015-06-25 12:55:52 UTC
Maik Qualmann <metzpinguin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |4.12.0
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/a8b7a0713609fc752bbd718
                   |                            |30f72ae01bd8dbb67
             Status|CONFIRMED                   |RESOLVED

--- Comment #12 from Maik Qualmann <metzpinguin@gmail.com> ---
Git commit a8b7a0713609fc752bbd71830f72ae01bd8dbb67 by Maik Qualmann.
Committed on 22/06/2015 at 17:23.
Pushed by mqualmann into branch 'master'.

corrects the values for width and height of the preview image from the image
data interface
Related: bug 269682, bug 317689, bug 340389
FIXED-IN: 4.12.0

M  +5    -1    NEWS
M  +2    -1    utilities/imageeditor/plugin/imageiface.cpp

http://commits.kde.org/digikam/a8b7a0713609fc752bbd71830f72ae01bd8dbb67