Bug 288207 - trying to launch Scangui makes Digikam crash - always
Summary: trying to launch Scangui makes Digikam crash - always
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-04 14:44 UTC by Xavier Ribes
Modified: 2022-11-24 08:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Ribes 2011-12-04 14:44:54 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: I was trying to launch Scangui from inside Digikam 2.1.1. This behaviour happens each time I try to start Scangui 2.1.1

The crash can be reproduced every time.

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

Thread 6 (Thread 0xad5ffb70 (LWP 14307)):
#0  0xb7882424 in __kernel_vsyscall ()
#1  0xb4a3f40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb346d34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb345e896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb345ef9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xaf7eacea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb34855f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3780d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a4e0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xabfa3b70 (LWP 14308)):
#0  0xb7882424 in __kernel_vsyscall ()
#1  0xb3784a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a5bcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d11cc0 in wait (time=4294967295, this=0x91732a8) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x91731d4, mutex=0x91731d0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081faf45 in Digikam::ScanController::run (this=0x9168a58) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#6  0xb4d117b3 in QThreadPrivate::start (arg=0x9168a58) at thread/qthread_unix.cpp:331
#7  0xb3780d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a4e0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xab7a2b70 (LWP 14309)):
#0  0xb7882424 in __kernel_vsyscall ()
#1  0xb4a3f40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb346d34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb345e896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb345ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4e3ab37 in QEventDispatcherGlib::processEvents (this=0x9176318, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb4e0b1dd in QEventLoop::processEvents (this=0xab7a2100, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4e0b421 in QEventLoop::exec (this=0xab7a2100, flags=...) at kernel/qeventloop.cpp:201
#8  0xb4d0e90b in QThread::exec (this=0x9175520) at thread/qthread.cpp:498
#9  0xb4debe2d in QInotifyFileSystemWatcherEngine::run (this=0x9175520) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb4d117b3 in QThreadPrivate::start (arg=0x9175520) at thread/qthread_unix.cpp:331
#11 0xb3780d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb4a4e0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xaafa1b70 (LWP 14311)):
#0  0xb7882424 in __kernel_vsyscall ()
#1  0xb3784a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4a5bcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4d11cc0 in wait (time=4294967295, this=0x937f610) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x91d2c70, mutex=0x91d2c6c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb6bd5f54 in Digikam::ParkingThread::run (this=0x91d2c60) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#6  0xb4d117b3 in QThreadPrivate::start (arg=0x91d2c60) at thread/qthread_unix.cpp:331
#7  0xb3780d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4a4e0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xa1f5ab70 (LWP 14477)):
[KCrash Handler]
#7  register_platform (d=0x4, dispatch=0xb1548380, name=0xb153f726 "usb") at control.c:2014
#8  0xb153289f in usb_init (d=0x4) at control.c:383
#9  0xa54be1d6 in sanei_usb_init () at sanei_usb.c:568
#10 0xa54c2e38 in sane_xerox_mfp_init (version_code=0xa1f5a06c, cb=0xa2774aa0 <KSaneIface::KSaneAuth::authorization(char const*, char*, char*)>) at xerox_mfp.c:895
#11 0xa2747332 in init (be=0xa3ff420) at dll.c:613
#12 0xa2747d3f in sane_dll_get_devices (device_list=0xa1f5a148, local_only=0) at dll.c:1054
#13 0xa2745553 in sane_get_devices (dl=0xa1f5a148, local=0) at dll-s.c:17
#14 0xa2764d96 in KSaneIface::FindSaneDevicesThread::run (this=0xa2fa1e8) at ../../libksane/ksane_find_devices_thread.cpp:84
#15 0xb4d117b3 in QThreadPrivate::start (arg=0xa2fa1e8) at thread/qthread_unix.cpp:331
#16 0xb3780d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb4a4e0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xae9c18c0 (LWP 14304)):
#0  0xb7882424 in __kernel_vsyscall ()
#1  0xb4a3f40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3027000 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0xb3028930 in xcb_wait_for_reply () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0xb45be782 in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#5  0xb45b9e76 in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0xb22b642f in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#7  0xb227545b in gdk_drawable_copy_to_image () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#8  0xb227545b in gdk_drawable_copy_to_image () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#9  0xb2281944 in gdk_pixbuf_get_from_drawable () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#10 0xb5736e7c in QGtkPainter::paintBox (this=0xbfdc292c, gtkWidget=0x9053c10, part=0xb5ab0e0e "button", paintRect=..., state=GTK_STATE_NORMAL, shadow=GTK_SHADOW_OUT, style=0x1, pmKey=...) at styles/qgtkpainter.cpp:315
#11 0xb572560e in QGtkStyle::drawPrimitive (this=0x92e0c68, element=QStyle::PE_PanelButtonCommand, option=0x9054808, painter=0x9053c10, widget=0xa4a7478) at styles/qgtkstyle.cpp:1128
#12 0xb56bad8f in QCommonStyle::drawControl (this=0x92e0c68, element=-1076089568, opt=0xbfdc4f54, p=0xbfdc4f94, widget=0xa4a7478) at styles/qcommonstyle.cpp:1233
#13 0xb5763a7f in QWindowsStyle::drawControl (this=0x92e0c68, ce=QStyle::CE_PushButtonBevel, opt=0xbfdc4f54, p=0xbfdc4f94, widget=0xa4a7478) at styles/qwindowsstyle.cpp:2563
#14 0xb5748a52 in QCleanlooksStyle::drawControl (this=0x92e0c68, element=QStyle::CE_PushButtonBevel, option=0x1, painter=0xbfdc4f94, widget=0xa4a7478) at styles/qcleanlooksstyle.cpp:2367
#15 0xb572d920 in QGtkStyle::drawControl (this=0x92e0c68, element=154012776, option=0xbfdc4f54, painter=0xbfdc4f94, widget=0xa4a7478) at styles/qgtkstyle.cpp:3032
#16 0xb572db24 in QGtkStyle::drawControl (this=0x92e0c68, element=-1076082296, option=0xbfdc4f54, painter=0xbfdc4f94, widget=0xa4a7478) at styles/qgtkstyle.cpp:2851
#17 0xb5fabd6e in drawControl (opt=..., ce=QStyle::CE_PushButton, this=0xbfdc4f94) at /usr/include/qt4/QtGui/qstylepainter.h:89
#18 KPushButton::paintEvent (this=0xa4a7478) at ../../kdeui/widgets/kpushbutton.cpp:382
#19 0xb53c2f3e in QWidget::event (this=0xa4a7478, event=0xbfdc5444) at kernel/qwidget.cpp:8441
#20 0xb577d159 in QAbstractButton::event (this=0xa4a7478, e=0xbfdc5444) at widgets/qabstractbutton.cpp:1080
#21 0xb581f798 in QPushButton::event (this=0xa4a7478, e=0xbfdc5444) at widgets/qpushbutton.cpp:683
#22 0xb5368d54 in notify_helper (e=0xbfdc5444, receiver=0xa4a7478, this=0x8fa5468) at kernel/qapplication.cpp:4486
#23 QApplicationPrivate::notify_helper (this=0x8fa5468, receiver=0xa4a7478, e=0xbfdc5444) at kernel/qapplication.cpp:4458
#24 0xb536e1a8 in QApplication::notify (this=0x8fa5468, receiver=0xa4a7478, e=0xbfdc5444) at kernel/qapplication.cpp:4451
#25 0xb5ebe681 in KApplication::notify (this=0xbfdc70f0, receiver=0xa4a7478, event=0xbfdc5444) at ../../kdeui/kernel/kapplication.cpp:311
#26 0xb4e0c19e in QCoreApplication::notifyInternal (this=0xbfdc70f0, receiver=0xa4a7478, event=0xbfdc5444) at kernel/qcoreapplication.cpp:787
#27 0xb53bfdeb in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 QWidgetPrivate::drawWidget (this=0x9296960, pdev=0x9e7e104, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa5a87c8) at kernel/qwidget.cpp:5528
#29 0xb53c0ae4 in QWidgetPrivate::paintSiblingsRecursive (this=0xa60c910, pdev=0x9e7e104, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa5a87c8) at kernel/qwidget.cpp:5735
#30 0xb53bfb48 in QWidgetPrivate::drawWidget (this=0xa60c910, pdev=0x9e7e104, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa5a87c8) at kernel/qwidget.cpp:5581
#31 0xb53c0ae4 in QWidgetPrivate::paintSiblingsRecursive (this=0x9d62038, pdev=0x9e7e104, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa5a87c8) at kernel/qwidget.cpp:5735
#32 0xb53c09aa in QWidgetPrivate::paintSiblingsRecursive (this=0x9d62038, pdev=0x9e7e104, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa5a87c8) at kernel/qwidget.cpp:5722
#33 0xb53bfb48 in QWidgetPrivate::drawWidget (this=0x9d62038, pdev=0x9e7e104, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0xa5a87c8) at kernel/qwidget.cpp:5581
#34 0xb55a9a83 in QWidgetBackingStore::sync (this=0xa5a87c8) at painting/qbackingstore.cpp:1338
#35 0xb55a9e2b in QWidgetBackingStore::sync (this=0xa5a87c8, exposedWidget=0xa5db488, exposedRegion=...) at painting/qbackingstore.cpp:1135
#36 0xb53b55f4 in QWidgetPrivate::syncBackingStore (this=0x9d62038, region=...) at kernel/qwidget.cpp:1877
#37 0xb53f42a4 in QETWidget::translatePaintEvent (this=0xa5db488, event=0xbfdc622c) at kernel/qapplication_x11.cpp:5535
#38 0xb53f5448 in QApplication::x11ProcessEvent (this=0xbfdc70f0, event=0xbfdc622c) at kernel/qapplication_x11.cpp:3590
#39 0xb542124c in x11EventSourceDispatch (s=0x8fa7ab8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0xb345e25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb345e990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb345ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb4e3aada in QEventDispatcherGlib::processEvents (this=0x8f65050, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0xb5420e3a in QGuiEventDispatcherGlib::processEvents (this=0x8f65050, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb4e0b1dd in QEventLoop::processEvents (this=0xbfdc6530, flags=...) at kernel/qeventloop.cpp:149
#46 0xb4e0b421 in QEventLoop::exec (this=0xbfdc6530, flags=...) at kernel/qeventloop.cpp:201
#47 0xb58a07c9 in QDialog::exec (this=0xa5db488) at dialogs/qdialog.cpp:552
#48 0xa2766d8a in KSaneIface::KSaneWidget::selectDevice (this=0xa1d13a0, parent=0x0) at ../../libksane/ksane_widget.cpp:283
#49 0xa27a5307 in Plugin_AcquireImages::slotActivate (this=0x9e347d8) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/acquireimages/plugin_acquireimages.cpp:102
#50 0xa27a5976 in Plugin_AcquireImages::qt_metacall (this=0x9e347d8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdc6768) at /build/buildd/digikam-2.1.1/obj-i686-linux-gnu/extra/kipi-plugins/acquireimages/plugin_acquireimages.moc:74
#51 0xb4e12b7d in metacall (argv=0xbfdc6768, idx=4, cl=QMetaObject::InvokeMetaMethod, object=0x9e347d8) at kernel/qmetaobject.cpp:237
#52 QMetaObject::metacall (object=0x9e347d8, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfdc6768) at kernel/qmetaobject.cpp:232
#53 0xb4e21a6a in QMetaObject::activate (sender=0x9e27a08, m=0x8528f50, local_signal_index=1, argv=0xbfdc6768) at kernel/qobject.cpp:3278
#54 0xb536183d in QAction::triggered (this=0x9e27a08, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#55 0xb5361adb in QAction::activate (this=0x9e27a08, event=QAction::Trigger) at kernel/qaction.cpp:1257
#56 0xb5362fa8 in trigger (this=0x9e27a08) at kernel/qaction.h:218
#57 QAction::qt_metacall (this=0x9e27a08, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xa179400) at .moc/release-shared/moc_qaction.cpp:174
#58 0xb53ca7f2 in QWidgetAction::qt_metacall (this=0x9e27a08, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xa179400) at .moc/release-shared/moc_qwidgetaction.cpp:67
#59 0xb5dbde22 in KAction::qt_metacall (this=0x9e27a08, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xa179400) at ./kaction.moc:95
#60 0xb4e12b7d in metacall (argv=0xa179400, idx=12, cl=QMetaObject::InvokeMetaMethod, object=0x9e27a08) at kernel/qmetaobject.cpp:237
#61 QMetaObject::metacall (object=0x9e27a08, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xa179400) at kernel/qmetaobject.cpp:232
#62 0xb4e1d685 in QMetaCallEvent::placeMetaCall (this=0xa1e9cd0, object=0x9e27a08) at kernel/qobject.cpp:535
#63 0xb4e24b52 in QObject::event (this=0x9e27a08, e=0xa1e9cd0) at kernel/qobject.cpp:1217
#64 0xb5361bb1 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#65 QAction::event (this=0xffffffff, e=0x1) at kernel/qaction.cpp:1172
#66 0xb5dbc20f in KAction::event (this=0x9e27a08, event=0xa1e9cd0) at ../../kdeui/actions/kaction.cpp:131
#67 0xb5368d54 in notify_helper (e=0xa1e9cd0, receiver=0x9e27a08, this=0x8fa5468) at kernel/qapplication.cpp:4486
#68 QApplicationPrivate::notify_helper (this=0x8fa5468, receiver=0x9e27a08, e=0xa1e9cd0) at kernel/qapplication.cpp:4458
#69 0xb536e103 in QApplication::notify (this=0xa1e9cd0, receiver=0x9e27a08, e=0xa1e9cd0) at kernel/qapplication.cpp:3886
#70 0xb5ebe681 in KApplication::notify (this=0xbfdc70f0, receiver=0x9e27a08, event=0xa1e9cd0) at ../../kdeui/kernel/kapplication.cpp:311
#71 0xb4e0c19e in QCoreApplication::notifyInternal (this=0xbfdc70f0, receiver=0x9e27a08, event=0xa1e9cd0) at kernel/qcoreapplication.cpp:787
#72 0xb4e0ff93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#73 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8f64340) at kernel/qcoreapplication.cpp:1428
#74 0xb4e100ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#75 0xb4e3a6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#76 postEventSourceDispatch (s=0x8fa4968) at kernel/qeventdispatcher_glib.cpp:277
#77 0xb345e25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#78 0xb345e990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#79 0xb345ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#80 0xb4e3aada in QEventDispatcherGlib::processEvents (this=0x8f65050, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#81 0xb5420e3a in QGuiEventDispatcherGlib::processEvents (this=0x8f65050, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#82 0xb4e0b1dd in QEventLoop::processEvents (this=0xbfdc6fd4, flags=...) at kernel/qeventloop.cpp:149
#83 0xb4e0b421 in QEventLoop::exec (this=0xbfdc6fd4, flags=...) at kernel/qeventloop.cpp:201
#84 0xb4e1019d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#85 0xb53668f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#86 0x080b4b64 in main (argc=) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Kåre Särs 2011-12-04 19:32:48 UTC
Thanks,

This looks identical to 287773

Crash in the same function with the same hardware/sane-backend

*** This bug has been marked as a duplicate of bug 287773 ***
Comment 2 caulier.gilles 2022-11-24 08:31:03 UTC
Fixed with #268267