Bug 267414 - Working on albums with viewer and editor
Summary: Working on albums with viewer and editor
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 2.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 23:34 UTC by Bruno Friedmann
Modified: 2012-06-27 10:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Friedmann 2011-03-01 23:34:25 UTC
Application: digikam (2.0.0-beta3)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-2-desktop x86_64
Distribution: "openSUSE 11.4 RC 1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
working on a 300 pictures album doing a lot of edition with contrast / lum adjustment 
crash appear suddently

The crash can be reproduced some of the time.

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

Thread 7 (Thread 0x7fa3ad0fd700 (LWP 17317)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3c634d14b in wait (this=<value optimized out>, mutex=0xcfdc18, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xcfdc18, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000000000621c00 in Digikam::ScanController::run (this=0xc40410) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/digikam/scancontroller.cpp:602
#4  0x00007fa3c634ca5e in QThreadPrivate::start (arg=0xc40410) at thread/qthread_unix.cpp:285
#5  0x00007fa3c60bda3f in start_thread (arg=0x7fa3ad0fd700) at pthread_create.c:297
#6  0x00007fa3c453967d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa3ac8fc700 (LWP 17318)):
#0  0x00007fa3c4530503 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3beb02114 in g_main_context_poll (context=0xcf5330, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3404
#2  g_main_context_iterate (context=0xcf5330, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3086
#3  0x00007fa3beb02650 in g_main_context_iteration (context=0xcf5330, may_block=1) at gmain.c:3154
#4  0x00007fa3c6460976 in QEventDispatcherGlib::processEvents (this=0xd14670, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fa3c6435052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa3c6435265 in QEventLoop::exec (this=0x7fa3ac8fbce0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fa3c634a1e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fa3c6416968 in QInotifyFileSystemWatcherEngine::run (this=0xcfd9e0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fa3c634ca5e in QThreadPrivate::start (arg=0xcfd9e0) at thread/qthread_unix.cpp:285
#10 0x00007fa3c60bda3f in start_thread (arg=0x7fa3ac8fc700) at pthread_create.c:297
#11 0x00007fa3c453967d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa3ac0fb700 (LWP 17333)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3c634d14b in wait (this=<value optimized out>, mutex=0xed5148, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xed5148, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa3ca0010d7 in Digikam::ParkingThread::run (this=0xed5130) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/threads/threadmanager.cpp:119
#4  0x00007fa3c634ca5e in QThreadPrivate::start (arg=0xed5130) at thread/qthread_unix.cpp:285
#5  0x00007fa3c60bda3f in start_thread (arg=0x7fa3ac0fb700) at pthread_create.c:297
#6  0x00007fa3c453967d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa3975e8700 (LWP 19966)):
[KCrash Handler]
#6  Digikam::DImg::rotate (this=0x4b57b60, angle=<value optimized out>) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/dimg/dimg.cpp:2219
#7  0x00007fa3c9e19792 in Digikam::DImg::rotateAndFlip (this=0x4b57b60, orientation=<value optimized out>) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/dimg/dimg.cpp:2434
#8  0x00007fa3c9fb83d1 in Digikam::LoadSaveThread::exifRotate (image=..., filePath=...) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/threadimageio/loadsavethread.cpp:276
#9  0x00007fa3c9fcc6d5 in Digikam::PreviewLoadingTask::execute (this=0x4b57970) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/threadimageio/previewtask.cpp:184
#10 0x00007fa3c9fb9306 in Digikam::LoadSaveThread::run (this=0xfc3590) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/threadimageio/loadsavethread.cpp:117
#11 0x00007fa3ca00252e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xef1350) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/threads/dynamicthread.cpp:323
#12 0x00007fa3c6342e28 in QThreadPoolThread::run (this=0x30ed520) at concurrent/qthreadpool.cpp:106
#13 0x00007fa3c634ca5e in QThreadPrivate::start (arg=0x30ed520) at thread/qthread_unix.cpp:285
#14 0x00007fa3c60bda3f in start_thread (arg=0x7fa3975e8700) at pthread_create.c:297
#15 0x00007fa3c453967d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa37b8c1700 (LWP 19967)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa3c634d0b2 in wait (this=<value optimized out>, mutex=0xef3560, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xef3560, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa3c6342eb8 in QThreadPoolThread::run (this=0x31f6cd0) at concurrent/qthreadpool.cpp:140
#4  0x00007fa3c634ca5e in QThreadPrivate::start (arg=0x31f6cd0) at thread/qthread_unix.cpp:285
#5  0x00007fa3c60bda3f in start_thread (arg=0x7fa37b8c1700) at pthread_create.c:297
#6  0x00007fa3c453967d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa37b0c0700 (LWP 19968)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa3c634d0b2 in wait (this=<value optimized out>, mutex=0xef3560, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xef3560, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa3c6342eb8 in QThreadPoolThread::run (this=0x4153a90) at concurrent/qthreadpool.cpp:140
#4  0x00007fa3c634ca5e in QThreadPrivate::start (arg=0x4153a90) at thread/qthread_unix.cpp:285
#5  0x00007fa3c60bda3f in start_thread (arg=0x7fa37b0c0700) at pthread_create.c:297
#6  0x00007fa3c453967d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa3cd4ec860 (LWP 17279)):
#0  0x00007fa3c4530503 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3ba3b3c2a in _xcb_conn_wait (c=0xb9cf40, cond=<value optimized out>, vector=0x7fff85203878, count=0x7fff85203874) at xcb_conn.c:313
#2  0x00007fa3ba3b41a3 in _xcb_out_send (c=0xb9cf40, vector=0x7fff85203900, count=3) at xcb_out.c:338
#3  0x00007fa3ba3b4234 in xcb_writev (c=0xb9cf40, vector=<value optimized out>, count=<value optimized out>, requests=1) at xcb_out.c:286
#4  0x00007fa3c3246cc6 in _XSend (dpy=0xb98f30, data=<value optimized out>, size=<value optimized out>) at xcb_io.c:428
#5  0x00007fa3c3247075 in _XFlush (dpy=0xb98f30) at xcb_io.c:445
#6  0x00007fa3c322647a in XFlush (dpy=0xb98f30) at Flush.c:39
#7  0x00007fa3c53bdb40 in QWidget::unsetCursor (this=0x27d5ba0) at kernel/qwidget.cpp:4983
#8  0x00007fa3ca0d6182 in Digikam::EditorWindow::slotLoadingFinished (this=0x27d5ba0, success=true) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/utilities/imageeditor/editor/editorwindow.cpp:1784
#9  0x00007fa3ca0ea785 in Digikam::EditorWindow::qt_metacall (this=0x27d5ba0, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0x7fff85203b60) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/build/core/digikam/editorwindow.moc:226
#10 0x0000000000494690 in Digikam::ImageWindow::qt_metacall (this=0x27d5ba0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff85203b60) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/build/core/digikam/imagewindow.moc:129
#11 0x00007fa3c644adef in QMetaObject::activate (sender=0x27f7330, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff85203b60) at kernel/qobject.cpp:3272
#12 0x00007fa3ca0c3606 in Digikam::Canvas::signalLoadingFinished (this=<value optimized out>, _t1=<value optimized out>, _t2=true) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/build/core/digikam/canvas.moc:272
#13 0x00007fa3ca0c7a18 in Digikam::Canvas::slotImageLoaded (this=0x27f7330, filePath=..., success=true) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/utilities/imageeditor/canvas/canvas.cpp:299
#14 0x00007fa3ca0c91d8 in Digikam::Canvas::qt_metacall (this=0x27f7330, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff85203d50) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/build/core/digikam/canvas.moc:185
#15 0x00007fa3c644adef in QMetaObject::activate (sender=0x27f8af0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff85203d50) at kernel/qobject.cpp:3272
#16 0x00007fa3ca0b7156 in Digikam::DImgInterface::signalImageLoaded (this=<value optimized out>, _t1=<value optimized out>, _t2=true) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/build/core/digikam/dimginterface.moc:165
#17 0x00007fa3ca0b8163 in Digikam::DImgInterface::slotImageLoaded (this=0x27f8af0, loadingDescription=<value optimized out>, img=<value optimized out>) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/utilities/imageeditor/canvas/dimginterface.cpp:447
#18 0x00007fa3ca0c0854 in Digikam::DImgInterface::qt_metacall (this=0x27f8af0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x212fbc0) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/build/core/digikam/dimginterface.moc:114
#19 0x00007fa3c6449a6a in QObject::event (this=0x27f8af0, e=<value optimized out>) at kernel/qobject.cpp:1211
#20 0x00007fa3c536cd14 in QApplicationPrivate::notify_helper (this=0xb603c0, receiver=0x27f8af0, e=0x3b0d2c0) at kernel/qapplication.cpp:4445
#21 0x00007fa3c537522a in QApplication::notify (this=<value optimized out>, receiver=0x27f8af0, e=0x3b0d2c0) at kernel/qapplication.cpp:4324
#22 0x00007fa3c6d969e6 in KApplication::notify (this=0x7fff85204970, receiver=0x27f8af0, event=0x3b0d2c0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#23 0x00007fa3c6435bfc in QCoreApplication::notifyInternal (this=0x7fff85204970, receiver=0x27f8af0, event=0x3b0d2c0) at kernel/qcoreapplication.cpp:732
#24 0x00007fa3c64393f5 in sendEvent (receiver=0x0, event_type=0, data=0xb0c540) at kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb0c540) at kernel/qcoreapplication.cpp:1373
#26 0x00007fa3c6460783 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007fa3beb01bd3 in g_main_dispatch (context=0xb71ce0) at gmain.c:2440
#29 g_main_context_dispatch (context=0xb71ce0) at gmain.c:3013
#30 0x00007fa3beb023b0 in g_main_context_iterate (context=0xb71ce0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#31 0x00007fa3beb02650 in g_main_context_iteration (context=0xb71ce0, may_block=1) at gmain.c:3154
#32 0x00007fa3c646091f in QEventDispatcherGlib::processEvents (this=0xb12660, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007fa3c5411d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fa3c6435052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fa3c6435265 in QEventLoop::exec (this=0x7fff852047b0, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007fa3c64396ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x000000000068a42d in main (argc=11820800, argv=0x7fff85205100) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/digikam/main.cpp:232

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-03-02 19:10:42 UTC
You say the crash is sometimes reproducible. Is the relevant part of the backtrace:
[KCrash Handler]
#6  Digikam::DImg::rotate (this=0x4b57b60, angle=<value optimized out>) at
/usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/dimg/dimg.cpp:2219
#7  0x00007fa3c9e19792 in Digikam::DImg::rotateAndFlip (this=0x4b57b60,
orientation=<value optimized out>) at
/usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/dimg/dimg.cpp:2434

always present?

Does this always happen with the same image, or with different images?
Comment 2 caulier.gilles 2011-07-02 10:02:08 UTC
digiKam 2.0.0 RC is out. Please check if crash is reproducible with this version.

Thanks in advance

Gilles Caulier
Comment 3 Marcel Wiesweg 2011-09-25 13:43:24 UTC
See comments #1 and #2
Comment 4 Bruno Friedmann 2011-09-26 05:58:58 UTC
Can be close, can't reproduce on digikam 2.1.1 actually