Bug 289806 - Digikam crash when try to import photo from digital camera
Summary: Digikam crash when try to import photo from digital camera
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-25 20:38 UTC by king_mantus
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 king_mantus 2011-12-25 20:38:12 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

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

Select Import and clic on detected camera crashes digikam, or click Import button from toolbar

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7f2bae47ba20 (LWP 5499))]

Thread 4 (Thread 0x7f2b8697d700 (LWP 5500)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2ba87a11ab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00000000005e3597 in Digikam::ScanController::run (this=0x2003650) at /home/viorel/digikam-software-compilation/core/digikam/database/scancontroller.cpp:647
#3  0x00007f2ba87a0d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2ba34deefc in start_thread (arg=0x7f2b8697d700) at pthread_create.c:304
#5  0x00007f2ba7a4389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2b8617c700 (LWP 5501)):
#0  0x00007f2ba7a37773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2ba116df68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2ba116e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2ba88b2f3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2ba8886cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f2ba8886ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f2ba879e27f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f2ba8869cbf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f2ba87a0d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f2ba34deefc in start_thread (arg=0x7f2b8617c700) at pthread_create.c:304
#10 0x00007f2ba7a4389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2b8597b700 (LWP 5504)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2ba87a11ab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f2babc746ff in Digikam::ParkingThread::run (this=0x22c6ab0) at /home/viorel/digikam-software-compilation/core/libs/threads/threadmanager.cpp:119
#3  0x00007f2ba87a0d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f2ba34deefc in start_thread (arg=0x7f2b8597b700) at pthread_create.c:304
#5  0x00007f2ba7a4389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2bae47ba20 (LWP 5499)):
[KCrash Handler]
#6  0x00007f2ba79983a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2ba799bb0b in __GI_abort () at abort.c:92
#8  0x00007f2ba79d0113 in __libc_message (do_abort=2, fmt=0x7f2ba7ac10d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f2ba79daa96 in malloc_printerr (action=3, str=0x7f2ba7abe1eb "realloc(): invalid old size", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f2ba79dd797 in _int_realloc (av=0x7f2ba7cfc1c0, oldp=0x1fe3d80, oldsize=6007606530375172928, nb=<optimized out>) at malloc.c:5238
#11 0x00007f2ba79deee9 in __GI___libc_realloc (oldmem=0x1fe3d90, bytes=32) at malloc.c:3821
#12 0x00007f2b9bd7cc37 in register_platform () from /usr/lib/libdc1394.so.22
#13 0x00007f2b725dc76b in ?? () from /usr/lib/libgphoto2_port/0.8.0/usb.so
#14 0x00007f2bab237560 in gp_port_set_info () from /usr/lib/libgphoto2_port.so.0
#15 0x0000000000749e88 in Digikam::GPCamera::findConnectedUsbCamera (vendorId=1034, productId=1549, model=..., port=...) at /home/viorel/digikam-software-compilation/core/utilities/cameragui/devices/gpcamera.cpp:1782
#16 0x00000000004f98b7 in Digikam::CameraList::findConnectedCamera (vendorId=1034, productId=1549, model=..., port=...) at /home/viorel/digikam-software-compilation/core/utilities/setup/cameralist.cpp:310
#17 0x0000000000594523 in Digikam::DigikamApp::openSolidCamera (this=0x1ff2aa0, udi=..., cameraLabel=...) at /home/viorel/digikam-software-compilation/core/digikam/main/digikamapp.cpp:1967
#18 0x00000000005941c7 in Digikam::DigikamApp::slotOpenSolidCamera (this=0x1ff2aa0, action=0x4ee61e0) at /home/viorel/digikam-software-compilation/core/digikam/main/digikamapp.cpp:1914
#19 0x0000000000580e3e in Digikam::DigikamApp::qt_metacall (this=0x1ff2aa0, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0x7fff2d870e20) at /home/viorel/digikam-software-compilation/build/core/digikam/digikamapp.moc:260
#20 0x00007f2ba889aeba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007f2ba928483f in QActionGroup::triggered(QAction*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007f2ba92848c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f2ba9284b81 in QActionGroup::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f2ba889aeba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f2ba9281b62 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f2ba9281d4f in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007f2ba96bc609 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f2ba96c2252 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007f2baa05dcb0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007f2ba92d8c9a in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f2ba96c37fb in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f2ba9288424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f2ba928dc6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f2ba9f9c126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#35 0x00007f2ba8887afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007f2ba92893f2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f2ba9309001 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007f2ba93078be in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007f2ba9330412 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007f2ba116da5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f2ba116e258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f2ba116e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f2ba88b2ed6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00007f2ba933007e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007f2ba8886cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007f2ba8886ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007f2ba888b789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00000000006ba574 in main (argc=1, argv=0x7fff2d872db8) at /home/viorel/digikam-software-compilation/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 289793, bug 289453, bug 289341, bug 288597, bug 286234.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-12-25 20:52:52 UTC

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