Bug 319690

Summary: Digikam crashes at startup after configuration
Product: [Applications] digikam Reporter: Sean Quinlan <gilant>
Component: Setup-ColorManagementAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description Sean Quinlan 2013-05-11 22:33:21 UTC
Application: digikam (3.0.0)
KDE Platform Version: 4.10.2 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Starting the application for the first time, it took me into the configuration process. After choosing all the first time user configurations it crashed. Digikam now crashes every time on start-up, immediately.

- Unusual behavior I noticed:
None. I just did a fresh install od suse 12.3.

- Custom settings of the application:
The directory I keep pictures under, and which I this time allowed to also be the place to store the digikam dbs, is on a local raid array (mirror). This is not networked or under LVM.

Trying to start digikam from the command line I get:
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
"/org/freedesktop/UDisks2/drives/ST3120026AS_3JT439FL" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/ST3120026AS_3JT439FL" : property "Device" does not exist 
KCrash: Application 'digikam' crashing...

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe1ea991800 (LWP 22974))]

Thread 4 (Thread 0x7fe1cb9e4700 (LWP 22975)):
#0  0x00007fe1e227f964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe1e5d9962b in wait (time=18446744073709551615, this=0x16c7210) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x16c7108, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d4338 in ?? ()
#4  0x00007fe1e5d990cc in QThreadPrivate::start (arg=0x169d620) at thread/qthread_unix.cpp:338
#5  0x00007fe1e227be0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe1e43037dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe1cb1e3700 (LWP 22976)):
#0  0x00007fe1e227de25 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fe1dbd85a71 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe1dbd48a8a in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe1dbd48bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe1e5ec31f6 in QEventDispatcherGlib::processEvents (this=0x7fe1bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fe1e5e939ef in QEventLoop::processEvents (this=this@entry=0x7fe1cb1e2d50, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe1e5e93c78 in QEventLoop::exec (this=0x7fe1cb1e2d50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe1e5d960f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007fe1e5e741af in QInotifyFileSystemWatcherEngine::run (this=0x16c95a0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fe1e5d990cc in QThreadPrivate::start (arg=0x16c95a0) at thread/qthread_unix.cpp:338
#10 0x00007fe1e227be0f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe1e43037dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe1ca9e2700 (LWP 22982)):
#0  0x00007fe1e227f964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe1e5d9962b in wait (time=18446744073709551615, this=0x1dab730) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1ed5bd8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe1e81cda19 in ?? () from /usr/lib64/libdigikamcore.so.3
#4  0x00007fe1e5d990cc in QThreadPrivate::start (arg=0x1ed5bc0) at thread/qthread_unix.cpp:338
#5  0x00007fe1e227be0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe1e43037dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe1ea991800 (LWP 22974)):
[KCrash Handler]
#5  0x00007fe1e42a8f6a in strchrnul () from /lib64/libc.so.6
#6  0x00007fe1e4261c6d in vfprintf () from /lib64/libc.so.6
#7  0x00007fe1e43169f0 in __vsnprintf_chk () from /lib64/libc.so.6
#8  0x00007fe1e0327a58 in vsnprintf (__ap=0x7fffbf6e95d8, __fmt=0x7fe1def42cb0 "Tag '%lx' not found", __n=1023, __s=0x7fffbf6e95f0 "") at /usr/include/bits/stdio2.h:77
#9  cmsSignalError (ContextID=ContextID@entry=0x3000, ErrorCode=ErrorCode@entry=3740544176, ErrorText=ErrorText@entry=0x64657363 <Address 0x64657363 out of bounds>) at cmserr.c:409
#10 0x00007fe1def257ad in _cmsSearchTag (sig=icSigProfileDescriptionTag, Profile=<optimized out>, lSignalError=<optimized out>) at cmsio0.c:292
#11 _cmsSearchTag (Profile=Profile@entry=0x254b730, sig=sig@entry=icSigProfileDescriptionTag, lSignalError=lSignalError@entry=1) at cmsio0.c:279
#12 0x00007fe1def2b0d0 in cmsReadICCTextEx (hProfile=hProfile@entry=0x254b730, sig=sig@entry=icSigProfileDescriptionTag, Name=Name@entry=0x7fe1df14e320 <Name.7711> "", size_max=size_max@entry=512) at cmsio1.c:1675
#13 0x00007fe1def2b16a in cmsReadICCText (hProfile=hProfile@entry=0x254b730, sig=sig@entry=icSigProfileDescriptionTag, Text=Text@entry=0x7fe1df14e320 <Name.7711> "") at cmsio1.c:1706
#14 0x00007fe1def2bf36 in cmsTakeProductDesc (hProfile=0x254b730) at cmsio1.c:2218
#15 0x00007fe1e80a2625 in Digikam::IccProfile::description() () from /usr/lib64/libdigikamcore.so.3
#16 0x00007fe1e823e90b in ?? () from /usr/lib64/libdigikamcore.so.3
#17 0x00007fe1e823eee7 in Digikam::IccProfilesComboBox::addProfilesSqueezed(QList<Digikam::IccProfile> const&) () from /usr/lib64/libdigikamcore.so.3
#18 0x00007fe1e823f012 in Digikam::IccProfilesComboBox::replaceProfilesSqueezed(QList<Digikam::IccProfile> const&) () from /usr/lib64/libdigikamcore.so.3
#19 0x00000000004cabfa in ?? ()
#20 0x00000000004cb3e0 in ?? ()
#21 0x00007fe1e5eaa1af in QMetaObject::activate (sender=0x26116b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbf6ea080) at kernel/qobject.cpp:3548
#22 0x00007fe1e5626742 in QAbstractButton::toggled (this=<optimized out>, _t1=true) at .moc/release-shared/moc_qabstractbutton.cpp:227
#23 0x00007fe1e537bb9e in QAbstractButton::setChecked (this=0x26116b0, checked=true) at widgets/qabstractbutton.cpp:768
#24 0x00000000004cb2e7 in ?? ()
#25 0x00000000004cea02 in ?? ()
#26 0x00000000004dcacd in ?? ()
#27 0x00000000004ded80 in ?? ()
#28 0x00000000005aabb8 in ?? ()
#29 0x000000000049879f in ?? ()
#30 0x00007fe1e423ca15 in __libc_start_main () from /lib64/libc.so.6
#31 0x000000000049a96d in _start ()

Possible duplicates by query: bug 319166, bug 319144, bug 319070, bug 318991, bug 318989.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-05-11 22:36:12 UTC

*** This bug has been marked as a duplicate of bug 318721 ***
Comment 2 caulier.gilles 2021-08-26 09:23:40 UTC
Fixed with #318721