Bug 300843 - just a random crash, just browsing photos
Summary: just a random crash, just browsing photos
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 03:23 UTC by Gus Gustafson
Modified: 2020-09-22 04:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gus Gustafson 2012-05-30 03:23:30 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

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

just a random crash, while browsing through photos using the keyboard (pg up, pg down)

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7fac30c7ba00 (LWP 3960))]

Thread 6 (Thread 0x7fac0bc09700 (LWP 3963)):
#0  0x00007fac25a2cf69 in __pthread_mutex_lock (mutex=0x16719a0) at pthread_mutex_lock.c:92
#1  0x00007fac236b3561 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fac23677ef5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fac2367845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fac0bc0e98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5  0x00007fac236999a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fac25a2ae9a in start_thread (arg=0x7fac0bc09700) at pthread_create.c:308
#7  0x00007fac2a1124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fac0b408700 (LWP 3964)):
#0  0x00007fac25a2e05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fac0400ff70) at pthread_mutex_unlock.c:290
#2  0x00007fac236b3591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fac23677a09 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fac23677f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fac2367845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fac194462c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007fac236999a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fac25a2ae9a in start_thread (arg=0x7fac0b408700) at pthread_create.c:308
#9  0x00007fac2a1124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fabf9aef700 (LWP 3967)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac2aee64db in wait (time=18446744073709551615, this=0x18bf1d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x18bf0c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005ca1d0 in Digikam::ScanController::run (this=0x18bee60) at /build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007fac2aee5fcb in QThreadPrivate::start (arg=0x18bee60) at thread/qthread_unix.cpp:298
#5  0x00007fac25a2ae9a in start_thread (arg=0x7fabf9aef700) at pthread_create.c:308
#6  0x00007fac2a1124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fabf92ee700 (LWP 3968)):
#0  0x00007fac2a1200c0 in pthread_mutex_lock (mutex=0x7fabec000a60) at forward.c:182
#1  0x00007fac236b3561 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fac23677a3e in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fac23677f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fac23678124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fac2b014426 in QEventDispatcherGlib::processEvents (this=0x7fabec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fac2afe3c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fac2afe3ed7 in QEventLoop::exec (this=0x7fabf92edb50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fac2aee2fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fac2afc39ff in QInotifyFileSystemWatcherEngine::run (this=0x18c1990) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fac2aee5fcb in QThreadPrivate::start (arg=0x18c1990) at thread/qthread_unix.cpp:298
#11 0x00007fac25a2ae9a in start_thread (arg=0x7fabf92ee700) at pthread_create.c:308
#12 0x00007fac2a1124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fabb6841700 (LWP 4421)):
[KCrash Handler]
#6  0x00007fac2a056445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fac2a059bab in __GI_abort () at abort.c:91
#8  0x00007fac2a093e2e in __libc_message (do_abort=2, fmt=0x7fac2a19c0d0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007fac2a09e626 in malloc_printerr (action=3, str=0x7fac2a19c230 "double free or corruption (out)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007fac2e0e2d59 in Digikam::DImg::rotate (this=0x4989d50, angle=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/dimg/dimg.cpp:2436
#11 0x00007fac2e0e3282 in Digikam::DImg::rotateAndFlip (this=0x4989d50, orientation=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/dimg/dimg.cpp:2647
#12 0x00007fac2e2a0d99 in Digikam::LoadSaveThread::exifRotate (image=..., filePath=...) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/loadsavethread.cpp:276
#13 0x00007fac2e2b7245 in Digikam::PreviewLoadingTask::execute (this=0x4989b50) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/previewtask.cpp:185
#14 0x00007fac2e2a068e in Digikam::LoadSaveThread::run (this=0x1e3ec00) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/loadsavethread.cpp:118
#15 0x00007fac2e2e5ece in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1612390) at /build/buildd/digikam-2.5.0/core/libs/threads/dynamicthread.cpp:328
#16 0x00007fac2aed94f2 in QThreadPoolThread::run (this=0x2cc2760) at concurrent/qthreadpool.cpp:107
#17 0x00007fac2aee5fcb in QThreadPrivate::start (arg=0x2cc2760) at thread/qthread_unix.cpp:298
#18 0x00007fac25a2ae9a in start_thread (arg=0x7fabb6841700) at pthread_create.c:308
#19 0x00007fac2a1124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fac30c7ba00 (LWP 3960)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac2aee64db in wait (time=18446744073709551615, this=0x1b962b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b961b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fac2aed8c7e in QThreadPoolPrivate::waitForDone (this=0x1b96130, msecs=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007fac2aeda6a4 in QThreadPool::~QThreadPool (this=0x1b96110, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007fac2aeda6e9 in QThreadPool::~QThreadPool (this=0x1b96110, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007fac2aff7935 in QObjectPrivate::deleteChildren (this=0x1b95d40) at kernel/qobject.cpp:1908
#7  0x00007fac2affdb9c in QObject::~QObject (this=0x1b93fa0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#8  0x00007fac2e2e2ea7 in ~ThreadManagerCreator (this=0x1b93fa0, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:236
#9  destroy () at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:241
#10 0x00007fac2a05b921 in __run_exit_handlers (status=1, listp=0x7fac2a3d6688, run_list_atexit=true) at exit.c:78
#11 0x00007fac2a05b9a5 in __GI_exit (status=<optimized out>) at exit.c:100
#12 0x00007fac1fb2c624 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#13 0x00007fac2c710e08 in KApplication::xioErrhandler (this=0x7ffffbe03d40, dpy=0x1672340) at ../../kdeui/kernel/kapplication.cpp:419
#14 0x00007fac2862441e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fac2862238b in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fac28607421 in XGetImage () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x00007fac28607651 in XGetSubImage () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007fac1fb2904f in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#19 0x00007fac1faec9ea in gdk_drawable_copy_to_image () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#20 0x00007fac1faec9ea in gdk_drawable_copy_to_image () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#21 0x00007fac1faf7f70 in gdk_pixbuf_get_from_drawable () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#22 0x00007fac2bd6e4a2 in QGtkPainter::paintSlider (this=0x7ffffbe01aa0, gtkWidget=0x1784480, part=0x7fac2c09edd4 "slider", rect=..., state=GTK_STATE_NORMAL, shadow=GTK_SHADOW_OUT, style=0x17bff20, orientation=GTK_ORIENTATION_VERTICAL, pmKey=...) at styles/qgtkpainter.cpp:562
#23 0x00007fac2bd5e39e in QGtkStyle::drawComplexControl (this=<optimized out>, control=<optimized out>, option=0xffffffffffffffd8, painter=<optimized out>, widget=<optimized out>) at styles/qgtkstyle.cpp:1755
#24 0x00007fac2be3a27b in QScrollBar::paintEvent (this=0x2e60f90) at widgets/qscrollbar.cpp:565
#25 0x00007fac2ba2a0f6 in QWidget::event (this=0x2e60f90, event=0x7ffffbe02b30) at kernel/qwidget.cpp:8508
#26 0x00007fac2be3a17a in QScrollBar::event (this=0x2e60f90, event=0x7ffffbe02b30) at widgets/qscrollbar.cpp:545
#27 0x00007fac2b9d9894 in notify_helper (e=0x7ffffbe02b30, receiver=0x2e60f90, this=0x15db860) at kernel/qapplication.cpp:4559
#28 QApplicationPrivate::notify_helper (this=0x15db860, receiver=0x2e60f90, e=0x7ffffbe02b30) at kernel/qapplication.cpp:4531
#29 0x00007fac2b9de713 in QApplication::notify (this=0x7ffffbe03d40, receiver=0x2e60f90, e=0x7ffffbe02b30) at kernel/qapplication.cpp:4420
#30 0x00007fac2c712b46 in KApplication::notify (this=0x7ffffbe03d40, receiver=0x2e60f90, event=0x7ffffbe02b30) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fac2afe4e9c in QCoreApplication::notifyInternal (this=0x7ffffbe03d40, receiver=0x2e60f90, event=0x7ffffbe02b30) at kernel/qcoreapplication.cpp:876
#32 0x00007fac2ba25d96 in sendSpontaneousEvent (event=0x7ffffbe02b30, receiver=0x2e60f90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#33 QWidgetPrivate::drawWidget (this=0x2e60fc0, pdev=0x316fa00, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x2e42180) at kernel/qwidget.cpp:5585
#34 0x00007fac2bbf6afc in QWidgetBackingStore::sync (this=0x2e42180) at painting/qbackingstore.cpp:1365
#35 0x00007fac2ba1cac0 in QWidgetPrivate::syncBackingStore (this=0x2e3f4d0) at kernel/qwidget.cpp:1891
#36 0x00007fac2ba2a60c in QWidget::event (this=0x2e3f1f0, event=0x32be560) at kernel/qwidget.cpp:8655
#37 0x00007fac2be03c4b in QMainWindow::event (this=0x2e3f1f0, event=0x32be560) at widgets/qmainwindow.cpp:1478
#38 0x00007fac2c80e428 in KXmlGuiWindow::event (this=0x2e3f1f0, ev=0x32be560) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#39 0x00007fac2b9d9894 in notify_helper (e=0x32be560, receiver=0x2e3f1f0, this=0x15db860) at kernel/qapplication.cpp:4559
#40 QApplicationPrivate::notify_helper (this=0x15db860, receiver=0x2e3f1f0, e=0x32be560) at kernel/qapplication.cpp:4531
#41 0x00007fac2b9de713 in QApplication::notify (this=0x7ffffbe03d40, receiver=0x2e3f1f0, e=0x32be560) at kernel/qapplication.cpp:4420
#42 0x00007fac2c712b46 in KApplication::notify (this=0x7ffffbe03d40, receiver=0x2e3f1f0, event=0x32be560) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00007fac2afe4e9c in QCoreApplication::notifyInternal (this=0x7ffffbe03d40, receiver=0x2e3f1f0, event=0x32be560) at kernel/qcoreapplication.cpp:876
#44 0x00007fac2afe8c6a in sendEvent (event=0x32be560, receiver=0x2e3f1f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x157b4a0) at kernel/qcoreapplication.cpp:1500
#46 0x00007fac2b013f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#48 0x00007fac23677c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fac23678060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fac23678124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fac2b0143bf in QEventDispatcherGlib::processEvents (this=0x157cd80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0x00007fac2ba81d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fac2afe3c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fac2afe3ed7 in QEventLoop::exec (this=0x7ffffbe03bc0, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fac2afe8f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#56 0x000000000048bc5d in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 299917, bug 299828, bug 299137, bug 297549, bug 296435.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-05-30 06:59:58 UTC
Crash is a memory corruption like 

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

But trace is a little bit different...

Can you try with 2.6.0-RC please ?

Gilles Caulier
Comment 2 Gus Gustafson 2012-05-30 14:45:58 UTC
It only happened once. If it happens again, I'll try the different version
and let you know.
On May 30, 2012 1:59 AM, "Gilles Caulier" <caulier.gilles@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=300843
>
> Gilles Caulier <caulier.gilles@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |caulier.gilles@gmail.com
>
> --- Comment #1 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Crash is a memory corruption like
>
> https://bugs.kde.org/show_bug.cgi?id=299828
>
> But trace is a little bit different...
>
> Can you try with 2.6.0-RC please ?
>
> Gilles Caulier
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 caulier.gilles 2012-06-02 16:19:20 UTC

*** This bug has been marked as a duplicate of bug 301051 ***
Comment 4 caulier.gilles 2020-09-22 04:22:38 UTC
Fixed with #301051