Bug 293248 - Crash when trying to import photos from digital camera
Summary: Crash when trying to import photos from digital camera
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.5.0
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 23:08 UTC by Alex Dănilă
Modified: 2023-05-05 05:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Dănilă 2012-02-03 23:08:44 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-1-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.9 (lenny)

-- Information about the crash:
- What I was doing when the application crashed:

Clicked on my digital camera from the "Import" menu (Import->Cameras->Nikon Some_camera_name).

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4a9a327a00 (LWP 9499))]

Thread 6 (Thread 0x7f4a745b1700 (LWP 9590)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4a945a683b in wait (time=18446744073709551615, this=0x14b84e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1533b48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e6eb3 in Digikam::ScanController::run() ()
#4  0x00007f4a945a632b in QThreadPrivate::start (arg=0x1559430) at thread/qthread_unix.cpp:298
#5  0x00007f4a8efa4b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#6  0x00007f4a9385990d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4a73db0700 (LWP 9591)):
#0  0x00007f4a8efa862e in __pthread_mutex_unlock_usercnt (mutex=0x1532e88, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f4a8c96ed78 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4a8c96f5f2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4a8c96fa99 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4a946d3df6 in QEventDispatcherGlib::processEvents (this=0x14b8fd0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4a946a35f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4a946a3847 in QEventLoop::exec (this=0x7f4a73dafb50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4a945a3307 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f4a946833af in QInotifyFileSystemWatcherEngine::run (this=0x152af00) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f4a945a632b in QThreadPrivate::start (arg=0x152af00) at thread/qthread_unix.cpp:298
#10 0x00007f4a8efa4b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f4a9385990d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4a735af700 (LWP 9609)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4a945a683b in wait (time=18446744073709551615, this=0x1a09420) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1908538, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4a97b138f3 in Digikam::ParkingThread::run() () from /usr/lib/libdigikamcore.so.2
#4  0x00007f4a945a632b in QThreadPrivate::start (arg=0x1908520) at thread/qthread_unix.cpp:298
#5  0x00007f4a8efa4b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#6  0x00007f4a9385990d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4a620e1700 (LWP 9683)):
#0  0x00007f4a937f9082 in _int_malloc (av=0x7f4a54000020, bytes=49) at malloc.c:4249
#1  0x00007f4a937fc456 in _int_realloc (av=0x7f4a54000020, oldp=0x7f4a54014e60, oldsize=48, nb=64) at malloc.c:5290
#2  0x00007f4a937fc9a0 in *__GI___libc_realloc (oldmem=0x7f4a54014e70, bytes=48) at malloc.c:3821
#3  0x00007f4a99f56ec1 in QVector<QVariant>::realloc (this=0x7f4a5400dd70, asize=2, aalloc=2) at ../../include/QtCore/../../src/corelib/tools/qvector.h:509
#4  0x00007f4a99f63326 in QSqlResult::bindValue (this=0x7f4a540947e0, index=1, val=..., paramType=...) at kernel/qsqlresult.cpp:701
#5  0x00007f4a99f5634c in QSqlQuery::bindValue (this=<optimized out>, pos=<optimized out>, val=..., paramType=...) at kernel/qsqlquery.cpp:1041
#6  0x00007f4a97aacdfa in Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/libdigikamcore.so.2
#7  0x00007f4a97aacacf in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib/libdigikamcore.so.2
#8  0x00007f4a97aac5d9 in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/libdigikamcore.so.2
#9  0x00007f4a97ab82ed in Digikam::ThumbnailDB::insertThumbnail(Digikam::DatabaseThumbnailInfo const&, QVariant*) () from /usr/lib/libdigikamcore.so.2
#10 0x00007f4a97aef921 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib/libdigikamcore.so.2
#11 0x00007f4a97aecdbd in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib/libdigikamcore.so.2
#12 0x00007f4a97aec970 in Digikam::ThumbnailCreator::load(QString const&) const () from /usr/lib/libdigikamcore.so.2
#13 0x00007f4a97afb594 in Digikam::ThumbnailLoadingTask::execute() () from /usr/lib/libdigikamcore.so.2
#14 0x00007f4a97ad7283 in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.2
#15 0x00007f4a97b16042 in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.2
#16 0x00007f4a94599862 in QThreadPoolThread::run (this=0x2054970) at concurrent/qthreadpool.cpp:107
#17 0x00007f4a945a632b in QThreadPrivate::start (arg=0x2054970) at thread/qthread_unix.cpp:298
#18 0x00007f4a8efa4b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#19 0x00007f4a9385990d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4a58ca2700 (LWP 9686)):
#0  0x00007f4a8f9347e6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f4a8f93307e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f4a8efa4b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#3  0x00007f4a9385990d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4a9a327a00 (LWP 9499)):
[KCrash Handler]
#6  0x00007f4a937b3475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f4a937b66f0 in *__GI_abort () at abort.c:92
#8  0x00007f4a937f6cba in __malloc_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>, function=<optimized out>) at malloc.c:351
#9  0x00007f4a937fc7e3 in mremap_chunk (p=0x1b72fa0, new_size=48) at malloc.c:3574
#10 0x00007f4a937fca63 in *__GI___libc_realloc (oldmem=0x1b72fb0, bytes=32) at malloc.c:3790
#11 0x00007f4a87127e07 in register_platform () from /usr/lib/libdc1394.so.22
#12 0x00007f4a5b0708bb in ?? () from /usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0/usb.so
#13 0x00007f4a970d8ac0 in gp_port_set_info () from /usr/lib/x86_64-linux-gnu/libgphoto2_port.so.0
#14 0x0000000000749d71 in Digikam::GPCamera::findConnectedUsbCamera(int, int, QString&, QString&) ()
#15 0x0000000000501359 in Digikam::CameraList::findConnectedCamera(int, int, QString&, QString&) ()
#16 0x0000000000598ca3 in Digikam::DigikamApp::openSolidCamera(QString const&, QString const&) ()
#17 0x0000000000598935 in Digikam::DigikamApp::slotOpenSolidCamera(QAction*) ()
#18 0x0000000000586246 in Digikam::DigikamApp::qt_metacall(QMetaObject::Call, int, void**) ()
#19 0x00007f4a946b8df9 in QMetaObject::activate (sender=0x282b020, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff49377090) at kernel/qobject.cpp:3566
#20 0x00007f4a950c457f in QActionGroup::triggered (this=<optimized out>, _t1=0x24716f0) at .moc/release-shared/moc_qactiongroup.cpp:160
#21 0x00007f4a950c4607 in QActionGroupPrivate::_q_actionTriggered (this=<optimized out>) at kernel/qactiongroup.cpp:93
#22 0x00007f4a946b8bf1 in QMetaObject::activate (sender=0x24716f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff49377200) at kernel/qobject.cpp:3547
#23 0x00007f4a950c1a12 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#24 0x00007f4a950c1bff in QAction::activate (this=0x24716f0, event=<optimized out>) at kernel/qaction.cpp:1257
#25 0x00007f4a95510279 in QMenuPrivate::activateCausedStack (this=0x290eba0, causedStack=..., action=0x24716f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#26 0x00007f4a95516382 in QMenuPrivate::activateAction (this=0x290eba0, action=0x24716f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#27 0x00007f4a95ee7640 in KMenu::mouseReleaseEvent (this=0x296ac50, e=0x7fff49377dd0) at ../../kdeui/widgets/kmenu.cpp:464
#28 0x00007f4a951185f4 in QWidget::event (this=0x296ac50, event=0x7fff49377dd0) at kernel/qwidget.cpp:8361
#29 0x00007f4a9551791b in QMenu::event (this=0x296ac50, e=0x7fff49377dd0) at widgets/qmenu.cpp:2460
#30 0x00007f4a950c7ec4 in notify_helper (e=0x7fff49377dd0, receiver=0x296ac50, this=0x145ee00) at kernel/qapplication.cpp:4555
#31 QApplicationPrivate::notify_helper (this=0x145ee00, receiver=0x296ac50, e=0x7fff49377dd0) at kernel/qapplication.cpp:4527
#32 0x00007f4a950cd613 in QApplication::notify (this=<optimized out>, receiver=0x296ac50, e=0x7fff49377dd0) at kernel/qapplication.cpp:4098
#33 0x00007f4a95e25ae6 in KApplication::notify (this=0x7fff49378bf0, receiver=0x296ac50, event=0x7fff49377dd0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f4a946a480c in QCoreApplication::notifyInternal (this=0x7fff49378bf0, receiver=0x296ac50, event=0x7fff49377dd0) at kernel/qcoreapplication.cpp:876
#35 0x00007f4a950c8e92 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QApplicationPrivate::sendMouseEvent (receiver=0x296ac50, event=0x7fff49377dd0, alienWidget=0x0, nativeWidget=0x296ac50, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3166
#37 0x00007f4a95145901 in QETWidget::translateMouseEvent (this=0x296ac50, event=<optimized out>) at kernel/qapplication_x11.cpp:4449
#38 0x00007f4a9514411a in QApplication::x11ProcessEvent (this=0x7fff49378bf0, event=0x7fff49378690) at kernel/qapplication_x11.cpp:3641
#39 0x00007f4a9516c852 in x11EventSourceDispatch (s=0x1461a90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f4a8c96f0cf in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f4a8c96f8c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f4a8c96fa99 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f4a946d3d8f in QEventDispatcherGlib::processEvents (this=0x13ffb80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0x00007f4a9516c4de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f4a946a35f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f4a946a3847 in QEventLoop::exec (this=0x7fff49378a60, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f4a946a88d7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#48 0x00000000006bb08c in main ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-02-04 11:06:38 UTC

*** This bug has been marked as a duplicate of bug 268267 ***
Comment 2 caulier.gilles 2023-05-05 05:37:16 UTC
Fixed with #268267