Bug 308413 - Crashed when filling another open with command
Summary: Crashed when filling another open with command
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-OpenWith (show other bugs)
Version: 2.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-14 22:32 UTC by julien.t43+kde
Modified: 2022-01-31 07:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments
New crash information added by DrKonqi (15.65 KB, text/plain)
2012-10-14 23:30 UTC, julien.t43+kde
Details
New crash information added by DrKonqi (12.83 KB, text/plain)
2012-10-15 05:04 UTC, julien.t43+kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description julien.t43+kde 2012-10-14 22:32:15 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-31-generic i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I try to enter a new path (a script) for open with command while in main digikam window and it crashed.
will re-try.

Digikam 2.8.0 on lubuntu 12.04 from ppa

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

Thread 4 (Thread 0xb3e29b40 (LWP 32350)):
#0  0x006c9416 in __kernel_vsyscall ()
#1  0x00c2d96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00e3785c in __pthread_cond_wait (cond=0xa75d890, mutex=0xa75d878) at forward.c:139
#3  0x07d2e350 in wait (time=4294967295, this=0xa75d878) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa75d7e4, mutex=0xa75d7e0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820fe3e in Digikam::ScanController::run (this=0xa6cf078) at /build/buildd/digikam-2.8.0/core/digikam/database/scancontroller.cpp:698
#6  0x07d2dde0 in QThreadPrivate::start (arg=0xa6cf078) at thread/qthread_unix.cpp:298
#7  0x00c29d4c in start_thread (arg=0xb3e29b40) at pthread_create.c:308
#8  0x00e29f4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb34ffb40 (LWP 32351)):
#0  0x07e7505a in postEventSourcePrepare (s=0xb2b00da8, timeout=0xb34ff07c) at kernel/qeventdispatcher_glib.cpp:255
#1  0x08c66872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x08c66faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x08c67201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07e758e7 in QEventDispatcherGlib::processEvents (this=0xb2b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x07e4150d in QEventLoop::processEvents (this=0xb34ff200, flags=...) at kernel/qeventloop.cpp:149
#6  0x07e417a9 in QEventLoop::exec (this=0xb34ff200, flags=...) at kernel/qeventloop.cpp:204
#7  0x07d2a94c in QThread::exec (this=0xa75e208) at thread/qthread.cpp:501
#8  0x07e1eb5d in QInotifyFileSystemWatcherEngine::run (this=0xa75e208) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x07d2dde0 in QThreadPrivate::start (arg=0xa75e208) at thread/qthread_unix.cpp:298
#10 0x00c29d4c in start_thread (arg=0xb34ffb40) at pthread_create.c:308
#11 0x00e29f4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb2affb40 (LWP 32706)):
#0  0x006c9416 in __kernel_vsyscall ()
#1  0x00c2d96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00e3785c in __pthread_cond_wait (cond=0xa8bc580, mutex=0xa8bc568) at forward.c:139
#3  0x07d2e350 in wait (time=4294967295, this=0xa8bc568) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa8bc8a0, mutex=0xa8bc89c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x039620cc in Digikam::ParkingThread::run (this=0xa8bc890) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:119
#6  0x07d2dde0 in QThreadPrivate::start (arg=0xa8bc890) at thread/qthread_unix.cpp:298
#7  0x00c29d4c in start_thread (arg=0xb2affb40) at pthread_create.c:308
#8  0x00e29f4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5ddd780 (LWP 32347)):
[KCrash Handler]
#7  0x006c9416 in __kernel_vsyscall ()
#8  0x00d691ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x00d6c835 in __GI_abort () at abort.c:91
#10 0x00da65aa in __libc_message (do_abort=2, fmt=0xe9e807 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#11 0x00e3f255 in __GI___fortify_fail (msg=0xe9e788 "buffer overflow detected") at fortify_fail.c:32
#12 0x00e3e02a in __GI___chk_fail () at chk_fail.c:29
#13 0x00e3f1ea in __fdelt_chk (d=4294967295) at fdelt_chk.c:26
#14 0x07e1a443 in QProcessPrivate::waitForStarted (this=0x5b2c79c8, msecs=30000) at io/qprocess_unix.cpp:1038
#15 0x07dcee94 in QProcess::waitForStarted (this=0x5b2d0d88, msecs=30000) at io/qprocess.cpp:1687
#16 0x05b11f4e in KProcessRunner::KProcessRunner (this=0xad4a490, p=0x5b2d0d88, executable=..., _id=...) at ../../kio/kio/krun.cpp:1727
#17 0x05b11ff4 in KProcessRunner::run (p=0x5b2d0d88, executable=..., id=...) at ../../kio/kio/krun.cpp:1709
#18 0x05b12712 in runCommandInternal (proc=0x5b2d0d88, service=0x5b346e20, executable=..., userVisibleName=..., iconName=..., window=<optimized out>, asn=...) at ../../kio/kio/krun.cpp:627
#19 0x05b16617 in runTempService (_service=..., _urls=..., window=0xbf8d60f8, tempFiles=false, suggestedFileName=..., asn=...) at ../../kio/kio/krun.cpp:727
#20 0x05b16f6a in KRun::run (_service=..., _urls=..., window=0xbf8d60f8, tempFiles=false, suggestedFileName=..., asn=...) at ../../kio/kio/krun.cpp:990
#21 0x08289a90 in Digikam::ContextMenuHelper::slotOpenWith (this=0xbf8d612c, action=0xbf8d4ca8) at /build/buildd/digikam-2.8.0/core/digikam/utils/contextmenuhelper.cpp:387
#22 0x07e596b1 in QMetaObject::activate (sender=0xb6b4ac0, m=0x20a2b74, local_signal_index=2, argv=0xbf8d4d98) at kernel/qobject.cpp:3547
#23 0x01bde195 in QMenu::triggered (this=0xb6b4ac0, _t1=0xaa48a38) at .moc/release-shared/moc_qmenu.cpp:178
#24 0x01bdf74d in QMenuPrivate::_q_actionTriggered (this=0x5af3b378) at widgets/qmenu.cpp:1146
#25 0x07e596b1 in QMetaObject::activate (sender=0xaa48a38, m=0x8568258, local_signal_index=1, argv=0xbf8d4ee8) at kernel/qobject.cpp:3547
#26 0x0171c9bd in QAction::triggered (this=0xaa48a38, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#27 0x0171cc5b in QAction::activate (this=0xaa48a38, event=QAction::Trigger) at kernel/qaction.cpp:1257
#28 0x01bde453 in QMenuPrivate::activateCausedStack (this=0x5af3b378, causedStack=..., action=0xaa48a38, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#29 0x01be532f in QMenuPrivate::activateAction (this=0x5af3b378, action=0xaa48a38, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#30 0x01be61d8 in QMenu::keyPressEvent (this=0xb6b4ac0, e=0xbf8d5734) at widgets/qmenu.cpp:2814
#31 0x032ea8a1 in KMenu::keyPressEvent (this=0xb6b4ac0, e=0xbf8d5734) at ../../kdeui/widgets/kmenu.cpp:224
#32 0x0177e250 in QWidget::event (this=0xb6b4ac0, event=0xbf8d5734) at kernel/qwidget.cpp:8397
#33 0x01be6a9c in QMenu::event (this=0xb6b4ac0, e=0xbf8d5734) at widgets/qmenu.cpp:2469
#34 0x01723ed4 in notify_helper (e=0xbf8d5734, receiver=0xb6b4ac0, this=0xa57ba78) at kernel/qapplication.cpp:4559
#35 QApplicationPrivate::notify_helper (this=0xa57ba78, receiver=0xb6b4ac0, e=0xbf8d5734) at kernel/qapplication.cpp:4531
#36 0x01729e68 in QApplication::notify (this=0xbf8d55e4, receiver=0xb6b4ac0, e=0xbf8d5734) at kernel/qapplication.cpp:4000
#37 0x0320ae01 in KApplication::notify (this=0xbf8d72d0, receiver=0xb6b4ac0, event=0xbf8d5734) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x07e4297e in QCoreApplication::notifyInternal (this=0xbf8d72d0, receiver=0xb6b4ac0, event=0xbf8d5734) at kernel/qcoreapplication.cpp:876
#39 0x01721ced in sendSpontaneousEvent (event=0xbf8d5734, receiver=0xb6b4ac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#40 qt_sendSpontaneousEvent (receiver=0xb6b4ac0, event=0xbf8d5734) at kernel/qapplication.cpp:5557
#41 0x017d8401 in QKeyMapper::sendKeyEvent (keyWidget=0xb6b4ac0, grab=false, type=QEvent::KeyPress, code=16777220, modifiers=<error reading variable: Cannot access memory at address 0x6>, text=..., autorepeat=false, count=-1081256140, nativeScanCode=6, nativeVirtualKey=6, nativeModifiers=6) at kernel/qkeymapper_x11.cpp:1866
#42 0x017d88ab in QKeyMapperPrivate::translateKeyEvent (this=0xa59ef88, keyWidget=0xb6b4ac0, event=0xbf8d5d5c, grab=false) at kernel/qkeymapper_x11.cpp:1836
#43 0x017af7b5 in QApplication::x11ProcessEvent (this=0xbf8d72d0, event=0xbf8d5d5c) at kernel/qapplication_x11.cpp:3625
#44 0x017dceac in x11EventSourceDispatch (s=0xa57b980, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x08c66d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x08c67125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x08c67201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x07e75887 in QEventDispatcherGlib::processEvents (this=0xa532848, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x017dcaaa in QGuiEventDispatcherGlib::processEvents (this=0xa532848, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x07e4150d in QEventLoop::processEvents (this=0xbf8d6050, flags=...) at kernel/qeventloop.cpp:149
#51 0x07e417a9 in QEventLoop::exec (this=0xbf8d6050, flags=...) at kernel/qeventloop.cpp:204
#52 0x01be2b87 in QMenu::exec (this=0xbf8d60f8, p=..., action=0x0) at widgets/qmenu.cpp:2113
#53 0x0828c378 in Digikam::ContextMenuHelper::exec (this=0xbf8d612c, pos=..., at=0x0) at /build/buildd/digikam-2.8.0/core/digikam/utils/contextmenuhelper.cpp:1134
#54 0x08240dd2 in Digikam::DigikamImageView::showContextMenuOnInfo (this=0xaa1e698, event=0x0, info=...) at /build/buildd/digikam-2.8.0/core/digikam/items/digikamimageview.cpp:423
#55 0x08245757 in Digikam::ImageCategorizedView::showContextMenuOnIndex (this=0xaa1e698, event=0xbf8d68bc, index=...) at /build/buildd/digikam-2.8.0/core/digikam/items/imagecategorizedview.cpp:682
#56 0x039bb4a6 in Digikam::DCategorizedView::contextMenuEvent (this=0xaa1e698, event=0xbf8d68bc) at /build/buildd/digikam-2.8.0/core/libs/widgets/itemview/dcategorizedview.cpp:748
#57 0x0177ef43 in QWidget::event (this=0xaa1e698, event=0xbf8d68bc) at kernel/qwidget.cpp:8529
#58 0x01b9be55 in QFrame::event (this=0xaa1e698, e=0xbf8d68bc) at widgets/qframe.cpp:557
#59 0x01c305e4 in QAbstractScrollArea::event (this=0xaa1e698, e=0xbf8d68bc) at widgets/qabstractscrollarea.cpp:996
#60 0x01cd5d4c in QAbstractItemView::event (this=0xaa1e698, event=0xbf8d68bc) at itemviews/qabstractitemview.cpp:1580
#61 0x01cf7943 in QListView::event (this=0xaa1e698, e=0xbf8d68bc) at itemviews/qlistview.cpp:1627
#62 0x01723ed4 in notify_helper (e=0xbf8d68bc, receiver=0xaa1e698, this=0xa57ba78) at kernel/qapplication.cpp:4559
#63 QApplicationPrivate::notify_helper (this=0xa57ba78, receiver=0xaa1e698, e=0xbf8d68bc) at kernel/qapplication.cpp:4531
#64 0x01729960 in QApplication::notify (this=0xaa1e698, receiver=0xaa1e698, e=0xbf8d68bc) at kernel/qapplication.cpp:4181
#65 0x0320ae01 in KApplication::notify (this=0xbf8d72d0, receiver=0xaa1e698, event=0xbf8d68bc) at ../../kdeui/kernel/kapplication.cpp:311
#66 0x07e4297e in QCoreApplication::notifyInternal (this=0xbf8d72d0, receiver=0xaa1e698, event=0xbf8d68bc) at kernel/qcoreapplication.cpp:876
#67 0x01721ced in sendSpontaneousEvent (event=0xbf8d68bc, receiver=0xaa1e698) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#68 qt_sendSpontaneousEvent (receiver=0xaa1e698, event=0xbf8d68bc) at kernel/qapplication.cpp:5557
#69 0x017d857b in QKeyMapper::sendKeyEvent (keyWidget=0xaa1e698, grab=false, type=QEvent::KeyPress, code=16777301, modifiers=<error reading variable: Cannot access memory at address 0x6>, text=..., autorepeat=false, count=1, nativeScanCode=6, nativeVirtualKey=6, nativeModifiers=6) at kernel/qkeymapper_x11.cpp:1858
#70 0x017d88ab in QKeyMapperPrivate::translateKeyEvent (this=0xa59ef88, keyWidget=0xaa1e698, event=0xbf8d6ebc, grab=false) at kernel/qkeymapper_x11.cpp:1836
#71 0x017af7b5 in QApplication::x11ProcessEvent (this=0xbf8d72d0, event=0xbf8d6ebc) at kernel/qapplication_x11.cpp:3625
#72 0x017dceac in x11EventSourceDispatch (s=0xa57b980, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0x08c66d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x08c67125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#75 0x08c67201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#76 0x07e75887 in QEventDispatcherGlib::processEvents (this=0xa532848, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#77 0x017dcaaa in QGuiEventDispatcherGlib::processEvents (this=0xa532848, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x07e4150d in QEventLoop::processEvents (this=0xbf8d71b4, flags=...) at kernel/qeventloop.cpp:149
#79 0x07e417a9 in QEventLoop::exec (this=0xbf8d71b4, flags=...) at kernel/qeventloop.cpp:204
#80 0x07e46eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#81 0x01721a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#82 0x080b9980 in main (argc=<error reading variable: Cannot access memory at address 0x7e5b>, argv=<error reading variable: Cannot access memory at address 0x7e5f>) at /build/buildd/digikam-2.8.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 303502, bug 301541, bug 299471, bug 297031.

Reported using DrKonqi
Comment 1 julien.t43+kde 2012-10-14 23:30:35 UTC
Created attachment 74549 [details]
New crash information added by DrKonqi

digikam (2.8.0) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

2nd try. adding a script to open with command. this time checking "in terminal".
crash too.

-- Backtrace (Reduced):
#8  0x033681ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x0336b835 in __GI_abort () at abort.c:91
[...]
#11 0x0343e255 in __GI___fortify_fail (msg=0x349d788 "buffer overflow detected") at fortify_fail.c:32
#12 0x0343d02a in __GI___chk_fail () at chk_fail.c:29
#13 0x0343e1ea in __fdelt_chk (d=4294967295) at fdelt_chk.c:26
Comment 2 julien.t43+kde 2012-10-15 05:04:09 UTC
Created attachment 74553 [details]
New crash information added by DrKonqi

digikam (2.8.0) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

another try.
ok with imageviewer/feh
ok with googleearth, manually selected (but don't read anything, neither the images, neither gps coordinates)
crash when manually entering a script cmd like '/home/julien/script/photo/feh2.sh %f'
(which is needed if you want to execute a customized feh)

-- Backtrace (Reduced):
#8  0x01fa81ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x01fab835 in __GI_abort () at abort.c:91
[...]
#11 0x0207e255 in __GI___fortify_fail (msg=0x20dd788 "buffer overflow detected") at fortify_fail.c:32
#12 0x0207d02a in __GI___chk_fail () at chk_fail.c:29
#13 0x0207e1ea in __fdelt_chk (d=4294967295) at fdelt_chk.c:26
Comment 3 caulier.gilles 2012-10-15 07:17:19 UTC
Similar than 

https://bugs.kde.org/show_bug.cgi?id=301977

==> UPSTREAM, not digiKam

Gilles Caulier
Comment 4 Christoph Feck 2012-10-15 10:35:06 UTC
Bug 301977 is completely unrelated. What happens here is that digiKam runs out of file descriptors.
Comment 5 julien.t43+kde 2012-10-15 13:44:28 UTC
Don't know what is upstream. In the end, workaround or non-usable function ?
Comment 6 Marcel Wiesweg 2012-10-15 17:22:56 UTC
Output on the console during the crash? Particularly the libc error message
Comment 7 julien.t43+kde 2012-10-17 15:47:24 UTC
Retried today and working ...
enter "/home/julien/script/photo/feh2.sh %f" with "run in terminal" and works ok this time.
restarted digikam, try again with or without "run in terminal" and working ...