Bug 318154

Summary: Digikam crashes after a few seconds
Product: [Applications] digikam Reporter: Romain Henriet <romain.pub>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: critical CC: caulier.gilles
Priority: NOR    
Version: 3.1.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 3.2.0
Sentry Crash Report:

Description Romain Henriet 2013-04-10 18:49:24 UTC
Digikam crashes even if I am not doing anything.
Crash report only says "Application: digiKam (digikam), signal: Aborted" and claims that debugging symbols are not available for /usr/bin/digikam, although digikam-debuginfo is installed.

Reproducible: Always

Steps to Reproduce:
1. Run Digikam
2. Wait about 30 seconds (no need to do anything else)
Actual Results:  
Digikam crashes


QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
[0x2d1a4c8] main services discovery error: no suitable services discovery module
digikam(9781)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list url:  "" 
digikam(9781)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list url:  "" 
Scaling with darkness 0, saturation 3967, and
multipliers 1,984848 1,000000 1,428030 1,000000
Converting to sRGB colorspace...
*** glibc detected *** digikam: munmap_chunk(): invalid pointer: 0x00007f62f0d856b0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x78b66)[0x7f62f53b7b66]
/usr/lib64/libglib-2.0.so.0(+0x2dbdd)[0x7f62ed0adbdd]
/lib64/libpthread.so.0(+0x7bd2)[0x7f62f33adbd2]
/lib64/libpthread.so.0(+0x7e1c)[0x7f62f33ade1c]
/lib64/libc.so.6(clone+0x6d)[0x7f62f54232cd]
======= Memory map: ========
00400000-00952000 r-xp 00000000 08:01 791787                             /usr/bin/digikam
00b51000-00b52000 r--p 00551000 08:01 791787                             /usr/bin/digikam
00b52000-00b5c000 rw-p 00552000 08:01 791787                             /usr/bin/digikam
00b5c000-00b60000 rw-p 00000000 00:00 0 
015ee000-06b5b000 rw-p 00000000 00:00 0                                  [heap]
7f6233e4a000-7f62351ec000 rw-p 00000000 00:00 0 
7f62359ed000-7f62359ee000 ---p 00000000 00:00 0 
7f62359ee000-7f62361ee000 rw-p 00000000 00:00 0 
7f62369ef000-7f62369f0000 ---p 00000000 00:00 0 
7f62369f0000-7f62371f0000 rw-p 00000000 00:00 0                          [stack:9852]
7f6238f94000-7f6238f95000 ---p 00000000 00:00 0 
7f6238f95000-7f6239795000 rw-p 00000000 00:00 0                          [stack:9853]
7f6239795000-7f6239796000 ---p 00000000 00:00 0 
7f6239796000-7f6239f96000 rw-p 00000000 00:00 0                          [stack:9842]
7f6239f96000-7f6239f97000 ---p 00000000 00:00 0 
7f6239f97000-7f623a797000 rw-p 00000000 00:00 0                          [stack:9841]
7f623a797000-7f623a798000 ---p 00000000 00:00 0 
7f623a798000-7f623af98000 rw-p 00000000 00:00 0                          [stack:9840]
7f623af98000-7f623af9d000 r-xp 00000000 08:01 261505                     /lib64/libnss_dns-2.15.so
7f623af9d000-7f623b19c000 ---p 00005000 08:01 261505                     /lib64/libnss_dns-2.15.so
7f623b19c000-7f623b19d000 r--p 00004000 08:01 261505                     /lib64/libnss_dns-2.15.so
7f623b19d000-7f623b19e000 rw-p 00005000 08:01 261505                     /lib64/libnss_dns-2.15.so
7f623b99f000-7f623c000000 rw-s 00000000 00:04 11796529                   /SYSV00000000 (deleted)
7f623c000000-7f623c066000 rw-p 00000000 00:00 0 
7f623c066000-7f6240000000 ---p 00000000 00:00 0 
7f62400ff000-7f6240112000 r-xp 00000000 08:01 267645                     /lib64/libresolv-2.15.so
7f6240112000-7f6240312000 ---p 00013000 08:01 267645                     /lib64/libresolv-2.15.so
7f6240312000-7f6240313000 r--p 00013000 08:01 267645                     /lib64/libresolv-2.15.so
7f6240313000-7f6240314000 rw-p 00014000 08:01 267645                     /lib64/libresolv-2.15.so
7f6240314000-7f6240316000 rw-p 00000000 00:00 0 
7f6240316000-7f6240317000 ---p 00000000 00:00 0 
7f6240317000-7f6240b17000 rw-p 00000000 00:00 0                          [stack:9826]
7f6240b17000-7f6240b18000 ---p 00000000 00:00 0 
7f6240b18000-7f6241318000 rw-p 00000000 00:00 0                          [stack:9825]
7f6241318000-7f6241319000 ---p 00000000 00:00 0 
7f6241319000-7f6241b19000 rw-p 00000000 00:00 0                          [stack:9824]
7f6241b19000-7f6241b61000 r-xp 00000000 08:01 552014                     /usr/lib64/kde4/digikamimageplugin_transform.so
7f6241b61000-7f6241d61000 ---p 00048000 08:01 552014                     /usr/lib64/kde4/digikamimageplugin_transform.so
7f6241d61000-7f6241d63000 r--p 00048000 08:01 552014                     /usr/lib64/kde4/digikamimageplugin_transform.so
7f6241d63000-7f6241d64000 rw-p 0004a000 08:01 552014                     /usr/lib64/kde4/digikamimageplugin_transform.so
7f6241d64000-7f6241d81000 r-xp 00000000 08:01 552007                     /usr/lib64/kde4/digikamimageplugin_fxfilters.so
7f6241d81000-7f6241f80000 ---p 0001d000 08:01 552007                     /usr/lib64/kde4/digikamimageplugin_fxfilters.so
7f6241f80000-7f6241f82000 r--p 0001c000 08:01 552007                     /usr/lib64/kde4/digikamimageplugin_fxfilters.so
7f6241f82000-7f6241f83000 rw-p 0001e000 08:01 552007                     /usr/lib64/kde4/digikamimageplugin_fxfilters.so
7f6241f83000-7f6241fc6000 r-xp 00000000 08:01 552002                     /usr/lib64/kde4/digikamimageplugin_enhance.so
7f6241fc6000-7f62421c5000 ---p 00043000 08:01 552002                     /usr/lib64/kde4/digikamimageplugin_enhance.so
7f62421c5000-7f62421c8000 r--p 00042000 08:01 552002                     /usr/lib64/kde4/digikamimageplugin_enhance.so
7f62421c8000-7f62421c9000 rw-p 00045000 08:01 552002                     /usr/lib64/kde4/digikamimageplugin_enhance.so
7f62421c9000-7f62421ca000 rw-p 00000000 00:00 0 
7f62421ca000-7f62421e5000 r-xp 00000000 08:01 551219                     /usr/lib64/kde4/digikamimageplugin_decorate.so
7f62421e5000-7f62423e4000 ---p 0001b000 08:01 551219                     /usr/lib64/kde4/digikamimageplugin_decorate.so
7f62423e4000-7f62423e5000 r--p 0001a000 08:01 551219                     /usr/lib64/kde4/digikamimageplugin_decorate.so
7f62423e5000-7f62423e6000 rw-p 0001b000 08:01 551219                     /usr/lib64/kde4/digikamimageplugin_decorate.so
7f62423e6000-7f624241d000 r-xp 00000000 08:01 546240                     /usr/lib64/kde4/digikamimageplugin_color.so
7f624241d000-7f624261d000 ---p 00037000 08:01 546240                     /usr/lib64/kde4/digikamimageplugin_color.so
7f624261d000-7f624261f000 r--p 00037000 08:01 546240                     /usr/lib64/kde4/digikamimageplugin_color.so
7f624261f000-7f6242620000 rw-p 00039000 08:01 546240                     /usr/lib64/kde4/digikamimageplugin_color.so
7f6242620000-7f6242629000 r-xp 00000000 08:01 550945                     /usr/lib64/kde4/kipiplugin_kopete.so
7f6242629000-7f6242829000 ---p 00009000 08:01 550945                     /usr/lib64/kde4/kipiplugin_kopete.so
7f6242829000-7f624282a000 r--p 00009000 08:01 550945                     /usr/lib64/kde4/kipiplugin_kopete.so
7f624282a000-7f624282b000 rw-p 0000a000 08:01 550945                     /usr/lib64/kde4/kipiplugin_kopete.so
7f624282b000-7f6242851000 r-xp 00000000 08:01 546929                     /usr/lib64/libqjson.so.0.8.1
7f6242851000-7f6242a51000 ---p 00026000 08:01 546929                     /usr/lib64/libqjson.so.0.8.1
7f6242a51000-7f6242a52000 r--p 00026000 08:01 546929                     /usr/lib64/libqjson.so.0.8.1
7f6242a52000-7f6242a53000 rw-p 00027000 08:01 546929                     /usr/lib64/libqjson.so.0.8.1
7f6242a53000-7f6242a7f000 r-xp 00000000 08:01 541108                     /usr/lib64/kde4/kipiplugin_facebook.so
7f6242a7f000-7f6242c7f000 ---p 0002c000 08:01 541108                     /usr/lib64/kde4/kipiplugin_facebook.so
7f6242c7f000-7f6242c80000 r--p 0002c000 08:01 541108                     /usr/lib64/kde4/kipiplugin_facebook.so
7f6242c80000-7f6242c81000 rw-p 0002d000 08:01 541108                     /usr/lib64/kde4/kipiplugin_facebook.so
7f6242c81000-7f6242cf2000 r-xp 00000000 08:01 540626                     /usr/lib64/kde4/kipiplugin_metadataedit.so
7f6242cf2000-7f6242ef1000 ---p 00071000 08:01 540626                     /usr/lib64/kde4/kipiplugin_metadataedit.soKCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/romain/.kde4/socket-romain-pc/kdeinit4__0
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 56 and type 'Read', disabling...
QSocketNotifier: Invalid socket 62 and type 'Read', disabling...
QSocketNotifier: Invalid socket 57 and type 'Read', disabling...
QSocketNotifier: Invalid socket 66 and type 'Read', disabling...
QSocketNotifier: Invalid socket 64 and type 'Read', disabling...
digikam: Fatal IO error: client killed
Unable to start Dr. Konqi
Comment 1 caulier.gilles 2013-04-10 18:52:26 UTC
Run digiKam in GDB directly to get  a backtrace :

http://www.digikam.org/contrib
Comment 2 Romain Henriet 2013-04-10 19:15:28 UTC
Running with gdb, Digikam only freezes.
Backtrace is :
#0  0x00007ffff167cd25 in raise () from /lib64/libc.so.6
#1  0x00007ffff167e1a8 in abort () from /lib64/libc.so.6
Cannot access memory at address 0x7fff657f9448
Comment 3 caulier.gilles 2013-04-10 19:17:47 UTC
Its sound like a binary compatibility issue with your distro package. Which linux distribution you use ?
Comment 4 caulier.gilles 2013-04-10 19:18:33 UTC
Also, if you have installed debug package and if there is no debug symbol, there is really a problem with your system...
Comment 5 Romain Henriet 2013-04-10 19:25:59 UTC
I'm using Opensuse 12.2. I'll try to check the system. Thanks.
Comment 6 Romain Henriet 2013-04-12 22:12:45 UTC
I finally made Digikam work again by moving all my photos outside of my local collection, starting digikam and adding the photos again into the collection.
Database may have been corrupted during last days...
I think the report can be closed.