Bug 253918

Summary: Digikam segfaults on start about 60% of the time
Product: [Applications] digikam Reporter: Landrum Haddix <lhaddix>
Component: Plugin-Bqm-RotateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.5.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Landrum Haddix 2010-10-12 04:04:34 UTC
Application: digikam (1.5.0)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-39.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
On start Digikam 1.5.0 segfaults more often then not. Try again several times will laucnh it

The crash can be reproduced some of the time.

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

Thread 13 (Thread 0x7f83b4ba1710 (LWP 412)):
#0  0x0000003673ada573 in poll () from /lib64/libc.so.6
#1  0x0000003676242374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003676242c82 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x000000367aea5774 in ?? () from /lib64/libgio-2.0.so.0
#4  0x0000003676269446 in ?? () from /lib64/libglib-2.0.so.0
#5  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f83a718f710 (LWP 413)):
#0  0x000000367460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000367ca72d4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000006b1755 in Digikam::ScanController::run (this=0x220dff0) at /home/lhaddix/Downloads/digikam-1.5.0/digikam/scancontroller.cpp:515
#3  0x000000367ca7265e in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#5  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f83a698e710 (LWP 423)):
#0  0x00000036746092be in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x0000003676240b09 in g_main_context_release () from /lib64/libglib-2.0.so.0
#2  0x00000036762423a8 in ?? () from /lib64/libglib-2.0.so.0
#3  0x00000036762428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x000000367cb86936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x000000367cb5ab52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x000000367cb5ad9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x000000367ca6fe44 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f83bbdbf690 in Digikam::ImageFilterModelWorker::Thread::run (this=0x23fe240) at /home/lhaddix/Downloads/digikam-1.5.0/digikam/../libs/models/imagefiltermodelthreads.h:66
#9  0x000000367ca7265e in ?? () from /usr/lib64/libQtCore.so.4
#10 0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#11 0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f839ed8d710 (LWP 424)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f839ed8c990 in ?? ()
#2  0x00007fffcd9ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7f839e58c710 (LWP 425)):
#0  0x000000367460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000367ca72d4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f83bc3480f9 in Digikam::ParkingThread::run (this=0x23f6970) at /home/lhaddix/Downloads/digikam-1.5.0/libs/threads/threadmanager.cpp:101
#3  0x000000367ca7265e in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#5  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f839dd8b710 (LWP 426)):
#0  0x0000003673ada573 in poll () from /lib64/libc.so.6
#1  0x0000003676242374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00000036762428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x000000367cb86936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x000000367cb5ab52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x000000367cb5ad9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x000000367ca6fe44 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x000000367ca7265e in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#9  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f839d58a710 (LWP 427)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f839d5899b0 in ?? ()
#2  0x00007fffcd9ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7f8389236710 (LWP 428)):
#0  0x000000367460bc2e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f838a4ccd21 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#3  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f837fbdc710 (LWP 429)):
#0  0x0000003673adc3a3 in select () from /lib64/libc.so.6
#1  0x00007f838a4f58a4 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f838a4daa69 in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#4  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f837f3db710 (LWP 430)):
#0  0x0000003673ada573 in poll () from /lib64/libc.so.6
#1  0x0000003676242374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00000036762428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x000000367cb86936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x000000367cb5ab52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x000000367cb5ad9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x000000367ca6fe44 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f838a729cf0 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x000000367ca7265e in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#10 0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f837ebda710 (LWP 431)):
#0  0x0000003673ada573 in poll () from /lib64/libc.so.6
#1  0x000000368ae2cc0f in ?? () from /usr/lib64/libpulse.so.0
#2  0x000000368ae1cae6 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x000000368ae1dec9 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x000000368ae1df80 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x000000368ae2ca0b in ?? () from /usr/lib64/libpulse.so.0
#6  0x000000368ba38878 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#7  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#8  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f837e3d9710 (LWP 432)):
#0  0x000000367460b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f838a4dedeb in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003674606d5b in start_thread () from /lib64/libpthread.so.0
#3  0x0000003673ae3f6d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f83bb3618c0 (LWP 411)):
[KCrash Handler]
#6  0x000000367cb78b13 in QVariant::~QVariant() () from /usr/lib64/libQtCore.so.4
#7  0x00007f837c8f28c4 in KIPIJPEGLossLessPlugin::ActionThread::ActionThread (this=0x2efdfa0, interface=<value optimized out>, parent=<value optimized out>) at /home/lhaddix/Downloads/kipi-plugins-1.5.0/jpeglossless/actionthread.cpp:97
#8  0x00007f837c8e7a6c in Plugin_JPEGLossless::setup (this=0x2ef8ff0, widget=<value optimized out>) at /home/lhaddix/Downloads/kipi-plugins-1.5.0/jpeglossless/plugin_jpeglossless.cpp:171
#9  0x0000000000669f83 in Digikam::DigikamApp::slotKipiPluginPlug (this=0x22d5470) at /home/lhaddix/Downloads/digikam-1.5.0/digikam/digikamapp.cpp:2377
#10 0x000000000066b28d in Digikam::DigikamApp::qt_metacall (this=0x22d5470, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffcd8a2ca0) at /home/lhaddix/Downloads/digikam-1.5.0/digikam/digikamapp.moc:228
#11 0x000000367cb7003f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x0000000000657626 in Digikam::DigikamApp::loadPlugins (this=0x22d5470) at /home/lhaddix/Downloads/digikam-1.5.0/digikam/digikamapp.cpp:2320
#13 0x000000000066811e in Digikam::DigikamApp::DigikamApp (this=0x22d5470, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/lhaddix/Downloads/digikam-1.5.0/digikam/digikamapp.cpp:251
#14 0x000000000072240b in main (argc=33535440, argv=0x7fffcd8a38f8) at /home/lhaddix/Downloads/digikam-1.5.0/digikam/main.cpp:172

This bug may be a duplicate of or related to bug 252362.

Possible duplicates by query: bug 252362, bug 248549.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-10-12 06:46:12 UTC

*** This bug has been marked as a duplicate of bug 252362 ***
Comment 2 Martin Klapetek 2010-10-12 09:13:52 UTC
This may be related to new jpeg-turbo library being used as default for jpeg images in new F14 - see http://fedoraproject.org/wiki/Features/libjpeg-turbo for details. Although I'm not sure about its relation to this plugin and lossless jpeg generaly..
Comment 3 caulier.gilles 2022-01-19 03:20:07 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=252362