Bug 280604 - importing pictures from camera brings digikam to crash
Summary: importing pictures from camera brings digikam to crash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 21:33 UTC by Fried
Modified: 2023-05-05 05:50 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 Fried 2011-08-22 21:33:18 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.7.00 (4.7.0) "release 10"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
importing pictures from camera (canon ixus 980 IS), camera attached to usb or later attaching, when digikam is started, both brings digikam to crash

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd6ae222800 (LWP 6358))]

Thread 5 (Thread 0x7fd690f7e700 (LWP 6360)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd6a9617b6b in wait (this=<value optimized out>, mutex=0xe70298, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xe70298, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005b6cf0 in Digikam::ScanController::run() ()
#4  0x00007fd6a9617485 in QThreadPrivate::start (arg=0xef84d0) at thread/qthread_unix.cpp:320
#5  0x00007fd69d6d19e3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#6  0x00007fd6a5a0aa3f in start_thread (arg=0x7fd690f7e700) at pthread_create.c:297
#7  0x00007fd6a7c7467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd69077d700 (LWP 6361)):
#0  0x00007fd6a7c6b503 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd69ff42d14 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007fd69ff43250 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fd6a972b666 in QEventDispatcherGlib::processEvents (this=0xf271b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd6a96ffc92 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd6a96ffea5 in QEventLoop::exec (this=0x7fd69077cc80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd6a9614b94 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fd6a96e13c8 in QInotifyFileSystemWatcherEngine::run (this=0xeee600) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd6a9617485 in QThreadPrivate::start (arg=0xeee600) at thread/qthread_unix.cpp:320
#9  0x00007fd69d6d19e3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007fd6a5a0aa3f in start_thread (arg=0x7fd69077d700) at pthread_create.c:297
#11 0x00007fd6a7c7467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd68ff7c700 (LWP 6363)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd6a9617b6b in wait (this=<value optimized out>, mutex=0x1036528, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1036528, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd6ab861407 in Digikam::ParkingThread::run() () from /usr/lib64/libdigikamcore.so.2
#4  0x00007fd6a9617485 in QThreadPrivate::start (arg=0x1036510) at thread/qthread_unix.cpp:320
#5  0x00007fd69d6d19e3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#6  0x00007fd6a5a0aa3f in start_thread (arg=0x7fd68ff7c700) at pthread_create.c:297
#7  0x00007fd6a7c7467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd67f7bb700 (LWP 6372)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fd6a9617ad2 in wait (this=<value optimized out>, mutex=0x28b2850, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28b2850, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd6a960c328 in QThreadPoolThread::run (this=0x27c5f60) at concurrent/qthreadpool.cpp:140
#4  0x00007fd6a9617485 in QThreadPrivate::start (arg=0x27c5f60) at thread/qthread_unix.cpp:320
#5  0x00007fd69d6d19e3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#6  0x00007fd6a5a0aa3f in start_thread (arg=0x7fd67f7bb700) at pthread_create.c:297
#7  0x00007fd6a7c7467d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd6ae222800 (LWP 6358)):
[KCrash Handler]
#6  __libc_realloc (oldmem=0x6a5f1, bytes=18446744026250252832) at malloc.c:3764
#7  0x00007fd69d6d306b in ?? () from /usr/X11R6/lib64/libGL.so.1
#8  0x00007fd6988189f7 in ?? () from /usr/lib64/tls/libnvidia-tls.so.275.21
#9  0x00007fd69c7ad187 in register_platform (d=0x380ba10, dispatch=0x7fd69c9d2b80, name=<value optimized out>) at control.c:2015
#10 0x00007fd677ec4ec6 in gp_port_library_list (list=0x37ec840) at libusb.c:94
#11 0x00007fd6a799a568 in foreach_func (filename=0x37eafd5 "/usr/lib64/libgphoto2_port/0.8.0/usb", data=0x37ec840) at gphoto2-port-info-list.c:243
#12 0x00007fd6a3861a41 in foreachfile_callback (dirname=0x34cf540 "/usr/lib64/libgphoto2_port/0.8.0", data1=<value optimized out>, data2=0x37ec840) at libltdl/ltdl.c:1836
#13 0x00007fd6a3861697 in foreach_dirinpath (search_path=<value optimized out>, base_name=0x0, func=0x7fd6a3861770 <foreachfile_callback>, data1=0x7fffb658af78, data2=0x37ec840) at libltdl/ltdl.c:710
#14 0x00007fd6a3862681 in lt_dlforeachfile (search_path=<value optimized out>, func=0x7fd6a799a490 <foreach_func>, data=0x37ec840) at libltdl/ltdl.c:1865
#15 0x00007fd6a799a97d in gp_port_info_list_load (list=0x37ec840) at gphoto2-port-info-list.c:290
#16 0x0000000000741c08 in Digikam::GPCamera::findConnectedUsbCamera(int, int, QString&, QString&) ()
#17 0x0000000000567aaf in Digikam::DigikamApp::openSolidCamera(QString const&, QString const&) ()
#18 0x0000000000568ec6 in Digikam::DigikamApp::slotOpenSolidDevice(QString const&) ()
#19 0x000000000056e82d in Digikam::DigikamApp::qt_metacall(QMetaObject::Call, int, void**) ()
#20 0x00007fd6a971475a in QObject::event (this=0xf0eeb0, e=<value optimized out>) at kernel/qobject.cpp:1226
#21 0x00007fd6a88a06ed in QWidget::event (this=0xf0eeb0, event=0x220a480) at kernel/qwidget.cpp:8718
#22 0x00007fd6a8c5f98b in QMainWindow::event (this=0xf0eeb0, event=0x220a480) at widgets/qmainwindow.cpp:1480
#23 0x00007fd6aa242220 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x00007fd6a884f224 in QApplicationPrivate::notify_helper (this=0xbab620, receiver=0xf0eeb0, e=0x220a480) at kernel/qapplication.cpp:4462
#25 0x00007fd6a88577da in QApplication::notify (this=<value optimized out>, receiver=0xf0eeb0, e=0x220a480) at kernel/qapplication.cpp:4341
#26 0x00007fd6aa146736 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#27 0x00007fd6a970083c in QCoreApplication::notifyInternal (this=0x7fffb658cc50, receiver=0xf0eeb0, event=0x220a480) at kernel/qcoreapplication.cpp:731
#28 0x00007fd6a9704035 in sendEvent (receiver=0x0, event_type=0, data=0xb56430) at kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb56430) at kernel/qcoreapplication.cpp:1372
#30 0x00007fd6a972b473 in sendPostedEvents (s=0xbaece0) at kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=0xbaece0) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007fd69ff427d3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007fd69ff42fb0 in ?? () from /lib64/libglib-2.0.so.0
#34 0x00007fd69ff43250 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007fd6a972b60f in QEventDispatcherGlib::processEvents (this=0xb55c00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007fd6a88f4ebe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fd6a96ffc92 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fd6a96ffea5 in QEventLoop::exec (this=0x7fffb658ca80, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007fd6a97042eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#40 0x0000000000687465 in main ()

Possible duplicates by query: bug 279616, bug 271269, bug 270654, bug 268267.

Reported using DrKonqi
Comment 1 Fried 2011-08-22 21:36:42 UTC
openSUSE 11.4, kde 4.7, digikam-2.0.0-6.6.x86_64
Comment 2 caulier.gilles 2011-08-23 07:19:30 UTC

*** This bug has been marked as a duplicate of bug 268267 ***
Comment 3 caulier.gilles 2023-05-05 05:50:54 UTC
Fixed with #268267