Bug 348756 - Crash on Startup
Summary: Crash on Startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-05 18:27 UTC by John Moore
Modified: 2017-12-16 10:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Moore 2015-06-05 18:27:14 UTC
New installation of 3.5.0 on Kubuntu 14.04.2 (LTS).
Crash occurs while splash screen displays.  I believe the top line on the splash says "Reading database."
Happens every time.  I have purged the install and reinstalled with no change.

Reproducible: Always

Steps to Reproduce:
1. Click icon to start digikam
2. Note splash screen appears
3. See C rash Assistant appear

Actual Results:  
Splash screen displays a number of legends.  At "Reading database" application crashes

Expected Results:  
Opened the main application window and worked.  Incidentally, Showfoto (also newly installed) does work.

Application: digikam (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.16.0-38-generic x86_64
Distribution: Ubuntu 14.04.2 LTS
-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffa13273ac0 (LWP 27804))]

Thread 6 (Thread 0x7ff9ee904700 (LWP 27806)):
#0  0x00007ffa0cc8612d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff9f34b0248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ffa07f16182 in start_thread (arg=0x7ff9ee904700) at pthread_create.c:312
#3  0x00007ffa0cc9347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7ff9e8014700 (LWP 27807)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffa0da74816 in wait (time=18446744073709551615, this=0x25436b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2541ce0, mutex=mutex@entry=0x2541cd8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x253f330) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007ffa0da7432f in QThreadPrivate::start (arg=0x253f330) at thread/qthread_unix.cpp:349
#5  0x00007ffa07f16182 in start_thread (arg=0x7ff9e8014700) at pthread_create.c:312
#6  0x00007ffa0cc9347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7ff9e7813700 (LWP 27808)):
#0  0x00007ffa0cc8612d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffa0573dfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffa0573e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffa0dba37be in QEventDispatcherGlib::processEvents (this=0x7ff9d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007ffa0db750af in QEventLoop::processEvents (this=this@entry=0x7ff9e7812ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffa0db753a5 in QEventLoop::exec (this=this@entry=0x7ff9e7812ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffa0da71c5f in QThread::exec (this=this@entry=0x250b7d0) at thread/qthread.cpp:537
#7  0x00007ffa0db56823 in QInotifyFileSystemWatcherEngine::run (this=0x250b7d0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ffa0da7432f in QThreadPrivate::start (arg=0x250b7d0) at thread/qthread_unix.cpp:349
#9  0x00007ffa07f16182 in start_thread (arg=0x7ff9e7813700) at pthread_create.c:312
#10 0x00007ffa0cc9347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7ff9e7012700 (LWP 27811)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffa0da74816 in wait (time=18446744073709551615, this=0x25268c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x25275b0, mutex=mutex@entry=0x25275a8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffa108ed79a in Digikam::ParkingThread::run (this=0x2527590) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007ffa0da7432f in QThreadPrivate::start (arg=0x2527590) at thread/qthread_unix.cpp:349
#5  0x00007ffa07f16182 in start_thread (arg=0x7ff9e7012700) at pthread_create.c:312
#6  0x00007ffa0cc9347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ff9e58d4700 (LWP 27812)):
#0  0x00007ffa0577f970 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffa0573dfca in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffa0573e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffa0dba37be in QEventDispatcherGlib::processEvents (this=0x7ff9d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007ffa0db750af in QEventLoop::processEvents (this=this@entry=0x7ff9e58d3ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffa0db753a5 in QEventLoop::exec (this=this@entry=0x7ff9e58d3ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffa0da71c5f in QThread::exec (this=this@entry=0x2838670) at thread/qthread.cpp:537
#7  0x00007ffa0db56823 in QInotifyFileSystemWatcherEngine::run (this=0x2838670) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ffa0da7432f in QThreadPrivate::start (arg=0x2838670) at thread/qthread_unix.cpp:349
#9  0x00007ffa07f16182 in start_thread (arg=0x7ff9e58d4700) at pthread_create.c:312
#10 0x00007ffa0cc9347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffa13273ac0 (LWP 27804)):
[KCrash Handler]
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2467
#8  d_func (this=0x0) at widgets/qabstractbutton.h:171
#9  QAbstractButton::setChecked (this=0x0, checked=checked@entry=true) at widgets/qabstractbutton.cpp:738
#10 0x00007ffa10965988 in Digikam::MetadataWidget::setMode (this=0x2d69560, mode=2) at /build/buildd/digikam-3.5.0/core/libs/widgets/metadata/metadatawidget.cpp:465
#11 0x00007ffa1098c2f0 in Digikam::ImagePropertiesColorsTab::readSettings (this=0x2d12f40, group=...) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagepropertiescolorstab.cpp:337
#12 0x00007ffa10980bd9 in Digikam::ImagePropertiesSideBar::doLoadState (this=this@entry=0x2866d10) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagepropertiessidebar.cpp:357
#13 0x00000000004a7782 in Digikam::ImagePropertiesSideBarDB::doLoadState (this=0x2866d10) at /build/buildd/digikam-3.5.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:643
#14 0x00007ffa10915efa in Digikam::StateSavingObject::loadState (this=0x2866d40) at /build/buildd/digikam-3.5.0/core/libs/widgets/common/statesavingobject.cpp:183
#15 0x0000000000660a36 in Digikam::DigikamView::loadViewState (this=this@entry=0x275da90) at /build/buildd/digikam-3.5.0/core/digikam/views/digikamview.cpp:692
#16 0x0000000000660c89 in Digikam::DigikamView::slotAllAlbumsLoaded (this=0x275da90) at /build/buildd/digikam-3.5.0/core/digikam/views/digikamview.cpp:844
#17 0x0000000000661fba in Digikam::DigikamView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:332
#18 0x00007ffa0db8a87a in QMetaObject::activate (sender=sender@entry=0x253d110, m=m@entry=0x844e60 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#19 0x00000000005af9bb in signalAllAlbumsLoaded (this=0x253d110) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:273
#20 Digikam::AlbumManager::startScan (this=0x253d110) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:1114
#21 0x00000000005984c1 in Digikam::DigikamApp::DigikamApp (this=0x2636940, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/digikamapp.cpp:287
#22 0x0000000000491cfa in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:189

Report to https://bugs.kde.org/
Comment 1 caulier.gilles 2015-06-05 18:47:59 UTC
Probably fixed. You use a very old digiKam release. We are in 4.10.0 now. Please update and try again...
Comment 2 caulier.gilles 2017-12-16 10:30:03 UTC
This crash is not reproducible use current 5.8.0 pre-release bundle available here :

https://files.kde.org/digikam/

I close this file now. Re-open it if necessary.

Gilles Caulier