Bug 357168 - digikam goes reset
Summary: digikam goes reset
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 4.12.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-26 08:09 UTC by Defrenne M
Modified: 2017-08-16 06:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Defrenne M 2015-12-26 08:09:57 UTC
Application: digikam (4.12.0)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 4.2.0-22-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:selecting another photo for inspection, photo was on the camera Nikkon coolpix s9200 wich was not detected automaticly and neither is in the database so I deceded to use "s9100" in place.

-- 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 0x7f9da52d5b40 (LWP 11341))]

Thread 7 (Thread 0x7f9d7fe42700 (LWP 11345)):
#0  0x00007f9d9e52b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9d8a6e512c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f9d9ba426aa in start_thread (arg=0x7f9d7fe42700) at pthread_create.c:333
#3  0x00007f9d9e536eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f9d7bd54700 (LWP 11350)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9d9f091286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1e35e00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1e35d40, mutex=mutex@entry=0x1e35d38, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005fffb4 in Digikam::ScanController::run (this=0x1e43360) at /build/digikam-131Z2v/digikam-4.12.0/core/app/database/scancontroller.cpp:725
#4  0x00007f9d9f090d1c in QThreadPrivate::start (arg=0x1e43360) at thread/qthread_unix.cpp:349
#5  0x00007f9d9ba426aa in start_thread (arg=0x7f9d7bd54700) at pthread_create.c:333
#6  0x00007f9d9e536eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f9d7b553700 (LWP 11351)):
#0  0x00007f9d98021884 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9d97fdc1ee in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9d97fdd0a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9d97fdd2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9d9f1d120e in QEventDispatcherGlib::processEvents (this=0x7f9d6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f9d9f19f0d1 in QEventLoop::processEvents (this=this@entry=0x7f9d7b552a40, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9d9f19f445 in QEventLoop::exec (this=this@entry=0x7f9d7b552a40, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9d9f08e4f9 in QThread::exec (this=this@entry=0x1ed68e0) at thread/qthread.cpp:538
#8  0x00007f9d9f17f133 in QInotifyFileSystemWatcherEngine::run (this=0x1ed68e0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f9d9f090d1c in QThreadPrivate::start (arg=0x1ed68e0) at thread/qthread_unix.cpp:349
#10 0x00007f9d9ba426aa in start_thread (arg=0x7f9d7b553700) at pthread_create.c:333
#11 0x00007f9d9e536eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f9d7ad52700 (LWP 11365)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9d9f091286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x209da00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1f7cdf0, mutex=mutex@entry=0x1f7cde8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9da340ef02 in Digikam::ParkingThread::run (this=0x1f7cdd0) at /build/digikam-131Z2v/digikam-4.12.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f9d9f090d1c in QThreadPrivate::start (arg=0x1f7cdd0) at thread/qthread_unix.cpp:349
#5  0x00007f9d9ba426aa in start_thread (arg=0x7f9d7ad52700) at pthread_create.c:333
#6  0x00007f9d9e536eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9d7906b700 (LWP 11367)):
#0  0x00007f9d9e52b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9d97fdd1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9d97fdd2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9d9f1d120e in QEventDispatcherGlib::processEvents (this=0x7f9d640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f9d9f19f0d1 in QEventLoop::processEvents (this=this@entry=0x7f9d7906aa40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9d9f19f445 in QEventLoop::exec (this=this@entry=0x7f9d7906aa40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9d9f08e4f9 in QThread::exec (this=this@entry=0x23950a0) at thread/qthread.cpp:538
#7  0x00007f9d9f17f133 in QInotifyFileSystemWatcherEngine::run (this=0x23950a0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f9d9f090d1c in QThreadPrivate::start (arg=0x23950a0) at thread/qthread_unix.cpp:349
#9  0x00007f9d9ba426aa in start_thread (arg=0x7f9d7906b700) at pthread_create.c:333
#10 0x00007f9d9e536eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9d1bfff700 (LWP 11823)):
#0  0x00007f9d9e4b204a in _int_malloc (av=av@entry=0x7f9cc4000020, bytes=bytes@entry=32) at malloc.c:3800
#1  0x00007f9d9e4b450e in __GI___libc_malloc (bytes=32) at malloc.c:2895
#2  0x00007f9d8a6de951 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x00007f9d8a6df733 in libusb_handle_events_timeout_completed () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#4  0x00007f9d8a6df870 in libusb_handle_events_completed () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#5  0x00007f9d8a6e0111 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#6  0x00007f9d8a6e01f9 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#7  0x00007f9d8a6e05bf in libusb_bulk_transfer () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#8  0x00007f9d59dbee0e in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2_port/0.12.0/usb1.so
#9  0x00007f9da41af602 in gp_port_read () from /usr/lib/x86_64-linux-gnu/libgphoto2_port.so.12
#10 0x00007f9d4adf2f9c in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2/2.5.8/ptp2.so
#11 0x00007f9d4adf37d8 in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2/2.5.8/ptp2.so
#12 0x00007f9d4adcf253 in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2/2.5.8/ptp2.so
#13 0x00007f9d4adcf428 in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2/2.5.8/ptp2.so
#14 0x00007f9d4add1b45 in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2/2.5.8/ptp2.so
#15 0x00007f9d4adf020c in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2/2.5.8/ptp2.so
#16 0x00007f9da3f3a02f in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2.so.6
#17 0x00007f9da3f3c217 in gp_filesystem_get_file () from /usr/lib/x86_64-linux-gnu/libgphoto2.so.6
#18 0x00007f9da3f32d49 in gp_camera_file_get () from /usr/lib/x86_64-linux-gnu/libgphoto2.so.6
#19 0x000000000086c827 in Digikam::GPCamera::getMetadata (this=0x4598660, folder=..., itemName=..., meta=...) at /build/digikam-131Z2v/digikam-4.12.0/core/utilities/importui/backend/gpcamera.cpp:976
#20 0x000000000085c769 in Digikam::CameraController::executeCommand (this=this@entry=0x456d1a0, cmd=cmd@entry=0x1c666530) at /build/digikam-131Z2v/digikam-4.12.0/core/utilities/importui/backend/cameracontroller.cpp:588
#21 0x000000000085eb87 in Digikam::CameraController::run (this=0x456d1a0) at /build/digikam-131Z2v/digikam-4.12.0/core/utilities/importui/backend/cameracontroller.cpp:414
#22 0x00007f9d9f090d1c in QThreadPrivate::start (arg=0x456d1a0) at thread/qthread_unix.cpp:349
#23 0x00007f9d9ba426aa in start_thread (arg=0x7f9d1bfff700) at pthread_create.c:333
#24 0x00007f9d9e536eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9da52d5b40 (LWP 11341)):
[KCrash Handler]
#6  QBasicAtomicInt::deref (this=0x1000000001dba6d) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  QString::operator= (this=this@entry=0x1df92421, other=...) at tools/qstring.cpp:1411
#8  0x000000000084684b in Digikam::ImportUI::slotUpdateDownloadName (this=this@entry=0x47bd090) at /build/digikam-131Z2v/digikam-4.12.0/core/utilities/importui/main/importui.cpp:1768
#9  0x0000000000847b16 in Digikam::ImportUI::slotNewSelection (this=0x47bd090, hasSelection=<optimized out>) at /build/digikam-131Z2v/digikam-4.12.0/core/utilities/importui/main/importui.cpp:2322
#10 0x000000000084be9d in Digikam::ImportUI::qt_static_metacall (_o=0x47bd090, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/digikam-131Z2v/digikam-4.12.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:221
#11 0x00007f9d9f1b4f60 in QMetaObject::activate (sender=sender@entry=0x497bba0, m=m@entry=0x959980 <Digikam::ImportView::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcfaeec6e0) at kernel/qobject.cpp:3567
#12 0x000000000089eeeb in Digikam::ImportView::signalNewSelection (_t1=true, this=0x497bba0) at /build/digikam-131Z2v/digikam-4.12.0/obj-x86_64-linux-gnu/core/utilities/importui/importview.moc:206
#13 Digikam::ImportView::slotDispatchImageSelected (this=0x497bba0) at /build/digikam-131Z2v/digikam-4.12.0/core/utilities/importui/views/importview.cpp:451
#14 0x000000000089f27d in Digikam::ImportView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/digikam-131Z2v/digikam-4.12.0/obj-x86_64-linux-gnu/core/utilities/importui/importview.moc:140
#15 0x00007f9d9f1b4f60 in QMetaObject::activate (sender=0x45723d0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#16 0x00007f9d9f1babd3 in QObject::event (this=0x45723d0, e=<optimized out>) at kernel/qobject.cpp:1253
#17 0x00007f9d9fdf5cdc in QApplicationPrivate::notify_helper (this=this@entry=0x1d920b0, receiver=receiver@entry=0x45723d0, e=e@entry=0x7ffcfaeecbc0) at kernel/qapplication.cpp:4570
#18 0x00007f9d9fdfcc16 in QApplication::notify (this=this@entry=0x7ffcfaeed2e0, receiver=receiver@entry=0x45723d0, e=e@entry=0x7ffcfaeecbc0) at kernel/qapplication.cpp:4356
#19 0x00007f9da0b58a2a in KApplication::notify (this=0x7ffcfaeed2e0, receiver=0x45723d0, event=0x7ffcfaeecbc0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f9d9f1a085d in QCoreApplication::notifyInternal (this=0x7ffcfaeed2e0, receiver=0x45723d0, event=event@entry=0x7ffcfaeecbc0) at kernel/qcoreapplication.cpp:955
#21 0x00007f9d9f1d36c0 in QCoreApplication::sendEvent (event=0x7ffcfaeecbc0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QTimerInfoList::activateTimers (this=0x1da3da0) at kernel/qeventdispatcher_unix.cpp:621
#23 0x00007f9d9f1d0869 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#24 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#25 0x00007f9d97fdcff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f9d97fdd250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f9d97fdd2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f9d9f1d11ee in QEventDispatcherGlib::processEvents (this=0x1d0a450, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#29 0x00007f9d9fea0c26 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f9d9f19f0d1 in QEventLoop::processEvents (this=this@entry=0x7ffcfaeece40, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f9d9f19f445 in QEventLoop::exec (this=this@entry=0x7ffcfaeece40, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f9d9f1a5429 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#33 0x00007f9d9fdf3f2c in QApplication::exec () at kernel/qapplication.cpp:3828
#34 0x0000000000492eae in main (argc=<optimized out>, argv=<optimized out>) at /build/digikam-131Z2v/digikam-4.12.0/core/app/main/main.cpp:230

Reported using DrKonqi
Comment 1 caulier.gilles 2015-12-26 15:11:27 UTC
Problem is probably fixed with most recent digiKam releases as 4.13.0 or 4.14.0

Gilles Caulier
Comment 2 Maik Qualmann 2015-12-31 17:09:44 UTC
Git commit 2169684a220f527b445e8c08f6a82c6ffa5f9fe5 by Maik Qualmann.
Committed on 31/12/2015 at 17:06.
Pushed by mqualmann into branch 'master'.

changing QString in slotUpdateDownloadName()
FIXED-IN: 5.0.0

M  +2    -2    NEWS
M  +4    -4    utilities/importui/main/importui.cpp

http://commits.kde.org/digikam/2169684a220f527b445e8c08f6a82c6ffa5f9fe5
Comment 3 Maik Qualmann 2015-12-31 17:14:58 UTC
I have this bug closed, I also think that it no longer occurs with Qt5. If necessary please reopening.

Maik