Bug 306511 - Crash during start
Summary: Crash during start
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-09 18:01 UTC by dippon
Modified: 2018-02-04 11:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dippon 2012-09-09 18:01:21 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-30-generic x86_64
Distribution: Linux Mint 13 Maya

-- Information about the crash:
- What I was doing when the application crashed:
Tried to start digikam as usual, but it crashes always (restarted my computer several times..). 

- Unusual behavior I noticed:
Digikam became unstabel after a regular update of my Linux Mint 13 system on july 7th. Before that it worked perfectly. No issues with other software than digikam

The crash can be reproduced every time.

-- 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 0x7fece79f0800 (LWP 2812))]

Thread 5 (Thread 0x7fecbf033700 (LWP 2814)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fece1e574db in wait (time=18446744073709551615, this=0x2a449a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a44898, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d6a30 in Digikam::ScanController::run (this=0x2a44630) at /build/buildd/digikam-2.8.0/core/digikam/database/scancontroller.cpp:698
#4  0x00007fece1e56fcb in QThreadPrivate::start (arg=0x2a44630) at thread/qthread_unix.cpp:298
#5  0x00007fecdc83de9a in start_thread (arg=0x7fecbf033700) at pthread_create.c:308
#6  0x00007fece10834bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fecbe832700 (LWP 2815)):
#0  0x00007fece1077b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fecda48d036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fecda48d164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fece1f85426 in QEventDispatcherGlib::processEvents (this=0x7fecb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fece1f54c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fece1f54ed7 in QEventLoop::exec (this=0x7fecbe831d50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fece1e53fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fece1f349ff in QInotifyFileSystemWatcherEngine::run (this=0x2a46d60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fece1e56fcb in QThreadPrivate::start (arg=0x2a46d60) at thread/qthread_unix.cpp:298
#9  0x00007fecdc83de9a in start_thread (arg=0x7fecbe832700) at pthread_create.c:308
#10 0x00007fece10834bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fecbe031700 (LWP 2817)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fece1e574db in wait (time=18446744073709551615, this=0x2bf0ce0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b6fd18, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fece5278a11 in Digikam::ParkingThread::run (this=0x2b6fd00) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fece1e56fcb in QThreadPrivate::start (arg=0x2b6fd00) at thread/qthread_unix.cpp:298
#5  0x00007fecdc83de9a in start_thread (arg=0x7fecbe031700) at pthread_create.c:308
#6  0x00007fece10834bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7feca60d0700 (LWP 2826)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007fece1e5743f in wait (time=30000, this=0x2c216b0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2c21658, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fece1e4a5bf in QThreadPoolThread::run (this=0x2c407d0) at concurrent/qthreadpool.cpp:141
#4  0x00007fece1e56fcb in QThreadPrivate::start (arg=0x2c407d0) at thread/qthread_unix.cpp:298
#5  0x00007fecdc83de9a in start_thread (arg=0x7feca60d0700) at pthread_create.c:308
#6  0x00007fece10834bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fece79f0800 (LWP 2812)):
[KCrash Handler]
#6  0x00007fecaa246b60 in __cxa_atexit@plt () from /usr/lib/libkipiplugins.so.2
#7  0x00007fece7842306 in call_init (l=<optimized out>, argc=1, argv=0x7fff8aa9e6f8, env=0x31cf730) at dl-init.c:85
#8  0x00007fece78423df in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:52
#9  _dl_init (main_map=0x3b653d0, argc=1, argv=0x7fff8aa9e6f8, env=0x31cf730) at dl-init.c:134
#10 0x00007fece7846ada in dl_open_worker (a=0x7fff8aa9bbb0) at dl-open.c:549
#11 0x00007fece7842176 in _dl_catch_error (objname=0x7fff8aa9bbf8, errstring=0x7fff8aa9bc00, mallocedp=0x7fff8aa9bc0f, operate=0x7fece7846700 <dl_open_worker>, args=0x7fff8aa9bbb0) at dl-error.c:178
#12 0x00007fece784631a in _dl_open (file=0x3b65358 "/usr/lib/kde4/kipiplugin_imageshackexport.so", mode=-2147483647, caller_dlopen=0x7fece1f480ab, nsid=-2, argc=1, argv=<optimized out>, env=0x31cf730) at dl-open.c:639
#13 0x00007fecd9300f26 in dlopen_doit (a=0x7fff8aa9bdd0) at dlopen.c:67
#14 0x00007fece7842176 in _dl_catch_error (objname=0x26e05a0, errstring=0x26e05a8, mallocedp=0x26e0598, operate=0x7fecd9300ec0 <dlopen_doit>, args=0x7fff8aa9bdd0) at dl-error.c:178
#15 0x00007fecd930152f in _dlerror_run (operate=0x7fecd9300ec0 <dlopen_doit>, args=0x7fff8aa9bdd0) at dlerror.c:164
#16 0x00007fecd9300fc1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:88
#17 0x00007fece1f480ab in QLibraryPrivate::load_sys (this=0x3b84d40) at plugin/qlibrary_unix.cpp:209
#18 0x00007fece1f44a9a in load (this=0x3b84d40) at plugin/qlibrary.cpp:466
#19 QLibraryPrivate::load (this=0x3b84d40) at plugin/qlibrary.cpp:458
#20 0x00007fece1f44d83 in QLibraryPrivate::loadPlugin (this=0x3b84d40) at plugin/qlibrary.cpp:516
#21 0x00007fece24ccd78 in KPluginLoader::load (this=0x7fff8aa9d410) at ../../kdecore/util/kpluginloader.cpp:239
#22 0x00007fece24cd929 in KPluginLoader::factory (this=0x7fff8aa9d410) at ../../kdecore/util/kpluginloader.cpp:204
#23 0x00007fece5c194d0 in KIPI::PluginLoader::Info::plugin() const () from /usr/lib/libkipi.so.9
#24 0x00000000005227fd in Digikam::KipiPluginLoader::slotKipiPluginPlug (this=0x2c208e0) at /build/buildd/digikam-2.8.0/core/utilities/kipiiface/kipipluginloader.cpp:207
#25 0x00007fece1f6a281 in QMetaObject::activate (sender=0x3e4d560, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#26 0x0000000000521ac8 in Digikam::KipiPluginLoader::loadPlugins (this=0x2c208e0) at /build/buildd/digikam-2.8.0/core/utilities/kipiiface/kipipluginloader.cpp:167
#27 0x0000000000521d9c in Digikam::KipiPluginLoader::KipiPluginLoader (this=0x2c208e0, parent=<optimized out>, splash=0x2b9f8d0) at /build/buildd/digikam-2.8.0/core/utilities/kipiiface/kipipluginloader.cpp:103
#28 0x00000000005810dc in Digikam::DigikamApp::loadPlugins (this=0x2bb14e0) at /build/buildd/digikam-2.8.0/core/digikam/main/digikamapp.cpp:2522
#29 0x0000000000597e19 in Digikam::DigikamApp::DigikamApp (this=0x2bb14e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/buildd/digikam-2.8.0/core/digikam/main/digikamapp.cpp:287
#30 0x000000000048f3a4 in main (argc=1, argv=<optimized out>) at /build/buildd/digikam-2.8.0/core/digikam/main/main.cpp:188

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2012-10-03 13:17:14 UTC
The crash arises when attempting to load the kipi plugin from
/usr/lib/kde4/kipiplugin_imageshackexport.so

It's unclear why it crashes, but some sort of binary incompatibiliy sounds probable, given it happens since a system upgrade.
Comment 2 caulier.gilles 2018-02-04 11:46:03 UTC
Problem fixed in 6.0.0 where all tools are now in digiKam core