Bug 323982

Summary: Dolphin crashes when converting bmps to jpg
Product: [Unmaintained] kio Reporter: vaniaz
Component: generalAssignee: David Faure <faure>
Status: RESOLVED UPSTREAM    
Severity: crash CC: adawit, frank78ac
Priority: NOR Keywords: drkonqi
Version: 4.11.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description vaniaz 2013-08-24 21:19:23 UTC
Application: dolphin (4.11.00)
KDE Platform Version: 4.11.00
Qt Version: 4.8.5
Operating System: Linux 3.4.47-2.38-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Selected 200+ .bmps and tried to convert them to jpg. Dolphin crashed on both occasions. When I tried to select only 100 bmps at a time, it did the job.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5ddfbed780 (LWP 4341))]

Thread 2 (Thread 0x7f5dc28ca700 (LWP 4345)):
#0  0x00007f5ddd23314f in poll () from /lib64/libc.so.6
#1  0x00007f5dd9f82684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5dd9f827a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5dde8844f6 in QEventDispatcherGlib::processEvents (this=0x7f5db40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f5dde854b2f in QEventLoop::processEvents (this=this@entry=0x7f5dc28c9dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5dde854db8 in QEventLoop::exec (this=0x7f5dc28c9dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5dde757100 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#7  0x00007f5dde83529f in QInotifyFileSystemWatcherEngine::run (this=0x11238f0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f5dde75a0dc in QThreadPrivate::start (arg=0x11238f0) at thread/qthread_unix.cpp:338
#9  0x00007f5dde4c3e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5ddd23b2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5ddfbed780 (LWP 4341)):
[KCrash Handler]
#6  0x00007f5ddd18bd25 in raise () from /lib64/libc.so.6
#7  0x00007f5ddd18d1a8 in abort () from /lib64/libc.so.6
#8  0x00007f5ddd1c9fcb in __libc_message () from /lib64/libc.so.6
#9  0x00007f5ddd2509d7 in __fortify_fail () from /lib64/libc.so.6
#10 0x00007f5ddd24eaf0 in __chk_fail () from /lib64/libc.so.6
#11 0x00007f5ddd250987 in __fdelt_warn () from /lib64/libc.so.6
#12 0x00007f5dde831094 in QProcessPrivate::waitForStarted (this=0x2408620, msecs=30000) at io/qprocess_unix.cpp:1040
#13 0x00007f5dd75617ed in KProcessRunner::KProcessRunner (this=0x24035c0, p=0x24038b0, executable=..., _id=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/krun.cpp:1748
#14 0x00007f5dd756188f in KProcessRunner::run (p=p@entry=0x24038b0, executable=..., id=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/krun.cpp:1730
#15 0x00007f5dd7562302 in runCommandInternal (proc=proc@entry=0x24038b0, service=service@entry=0x1b60d30, executable=..., userVisibleName=..., iconName=..., window=window@entry=0x0, asn=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/krun.cpp:637
#16 0x00007f5dd756571a in runTempService (_service=..., _urls=..., window=window@entry=0x0, tempFiles=tempFiles@entry=false, suggestedFileName=..., asn=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/krun.cpp:737
#17 0x00007f5dd7565544 in runTempService (_service=..., _urls=..., window=window@entry=0x0, tempFiles=tempFiles@entry=false, suggestedFileName=..., asn=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/krun.cpp:714
#18 0x00007f5dd7565f6d in KRun::run (_service=..., _urls=..., window=window@entry=0x0, tempFiles=tempFiles@entry=false, suggestedFileName=..., asn=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/krun.cpp:1000
#19 0x00007f5dd75680cc in KRun::run (_exec=..., _urls=..., window=0x0, _name=..., _icon=..., asn=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/krun.cpp:1050
#20 0x00007f5dd7512c12 in KDesktopFileActions::executeService (urls=..., action=...) at /usr/src/debug/kdelibs-4.11.0/kio/kio/kdesktopfileactions.cpp:368
#21 0x00007f5dd753f271 in KFileItemActionsPrivate::slotExecuteService (this=0x196bc80, act=<optimized out>) at /usr/src/debug/kdelibs-4.11.0/kio/kio/kfileitemactions.cpp:173
#22 0x00007f5dde86b37f in QMetaObject::activate (sender=0x196bcc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff47a7d1c0) at kernel/qobject.cpp:3556
#23 0x00007f5ddd9df16f in QActionGroup::triggered (this=this@entry=0x196bcc0, _t1=_t1@entry=0x1620250) at .moc/release-shared/moc_qactiongroup.cpp:159
#24 0x00007f5ddd9df1f7 in QActionGroupPrivate::_q_actionTriggered (this=<optimized out>) at kernel/qactiongroup.cpp:93
#25 0x00007f5dde86b37f in QMetaObject::activate (sender=0x1620250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff47a7d340) at kernel/qobject.cpp:3556
#26 0x00007f5ddd9dc712 in QAction::triggered (this=this@entry=0x1620250, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#27 0x00007f5ddd9dc900 in QAction::activate (this=0x1620250, event=<optimized out>) at kernel/qaction.cpp:1257
#28 0x00007f5ddde17533 in QMenuPrivate::activateCausedStack (this=this@entry=0x1c49430, causedStack=..., action=action@entry=0x1620250, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#29 0x00007f5ddde1d929 in QMenuPrivate::activateAction (this=0x1c49430, action=0x1620250, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1130
#30 0x00007f5ddf6aee30 in KMenu::mouseReleaseEvent (this=0x1ab5dd0, e=0x7fff47a7dee0) at /usr/src/debug/kdelibs-4.11.0/kdeui/widgets/kmenu.cpp:464
#31 0x00007f5ddda323d9 in QWidget::event (this=0x1ab5dd0, event=0x7fff47a7dee0) at kernel/qwidget.cpp:8376
#32 0x00007f5ddde1ebdb in QMenu::event (this=0x1ab5dd0, e=0x7fff47a7dee0) at widgets/qmenu.cpp:2481
#33 0x00007f5ddd9e291c in QApplicationPrivate::notify_helper (this=this@entry=0xdd2f50, receiver=receiver@entry=0x1ab5dd0, e=e@entry=0x7fff47a7dee0) at kernel/qapplication.cpp:4562
#34 0x00007f5ddd9e75fb in QApplication::notify (this=<optimized out>, receiver=0x1ab5dd0, e=0x7fff47a7dee0) at kernel/qapplication.cpp:4105
#35 0x00007f5ddf5f5d76 in KApplication::notify (this=0x7fff47a81470, receiver=0x1ab5dd0, event=0x7fff47a7dee0) at /usr/src/debug/kdelibs-4.11.0/kdeui/kernel/kapplication.cpp:311
#36 0x00007f5dde855e7e in QCoreApplication::notifyInternal (this=0x7fff47a81470, receiver=0x1ab5dd0, event=0x7fff47a7dee0) at kernel/qcoreapplication.cpp:949
#37 0x00007f5ddd9e375b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#38 QApplicationPrivate::sendMouseEvent (receiver=0x1ab5dd0, event=0x7fff47a7dee0, alienWidget=0x0, nativeWidget=0x1ab5dd0, buttonDown=0x7f5dde4b8268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#39 0x00007f5ddda5defc in QETWidget::translateMouseEvent (this=this@entry=0x1ab5dd0, event=event@entry=0x7fff47a7e650) at kernel/qapplication_x11.cpp:4462
#40 0x00007f5ddda5cdc1 in QApplication::x11ProcessEvent (this=0x7fff47a81470, event=0x7fff47a7e650) at kernel/qapplication_x11.cpp:3651
#41 0x00007f5ddda83162 in x11EventSourceDispatch (s=0xdd5720, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007f5dd9f823b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f5dd9f826e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f5dd9f827a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f5dde8844f6 in QEventDispatcherGlib::processEvents (this=0xc34790, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#46 0x00007f5ddda82dde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f5dde854b2f in QEventLoop::processEvents (this=this@entry=0x7fff47a7ea30, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f5dde854db8 in QEventLoop::exec (this=0x7fff47a7ea30, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f5ddde1b545 in QMenu::exec (this=0x1d8b8e0, p=..., action=0x0) at widgets/qmenu.cpp:2125
#50 0x00007f5dc9d15b63 in DolphinContextMenu::openItemContextMenu (this=0x1d8b8e0) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/dolphincontextmenu.cpp:287
#51 0x00007f5dc9d164e5 in DolphinContextMenu::open (this=0x1d8b8e0) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/dolphincontextmenu.cpp:117
#52 0x00007f5dc9d0c36a in DolphinMainWindow::openContextMenu (this=0x1009390, pos=..., item=..., url=..., customActions=...) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/dolphinmainwindow.cpp:1300
#53 0x00007f5dc9d0f2b9 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.0/build/dolphin/src/dolphinmainwindow.moc:255
#54 DolphinMainWindow::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.0/build/dolphin/src/dolphinmainwindow.moc:176
#55 0x00007f5dde86b37f in QMetaObject::activate (sender=0x11f5710, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff47a7ee80) at kernel/qobject.cpp:3556
#56 0x00007f5dc959e994 in DolphinView::requestContextMenu (this=this@entry=0x11f5710, _t1=..., _t2=..., _t3=..., _t4=...) at /usr/src/debug/kde-baseapps-4.11.0/build/dolphin/src/dolphinview.moc:454
#57 0x00007f5dc95a1bca in DolphinView::slotItemContextMenuRequested (this=0x11f5710, index=214, pos=...) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/views/dolphinview.cpp:860
#58 0x00007f5dc95a3d04 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.0/build/dolphin/src/dolphinview.moc:250
#59 DolphinView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.0/build/dolphin/src/dolphinview.moc:195
#60 0x00007f5dde86b37f in QMetaObject::activate (sender=0x1204470, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff47a7f090) at kernel/qobject.cpp:3556
#61 0x00007f5dc9569c06 in KItemListController::itemContextMenuRequested (this=this@entry=0x1204470, _t1=214, _t2=...) at /usr/src/debug/kde-baseapps-4.11.0/build/dolphin/src/kitemlistcontroller.moc:231
#62 0x00007f5dc956b12a in KItemListController::mousePressEvent (this=0x1204470, event=0x7fff47a7fec0, transform=...) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/kitemviews/kitemlistcontroller.cpp:606
#63 0x00007f5dc9568c8e in KItemListController::processEvent (this=0x1204470, event=0x10f5, event@entry=0x7fff47a7fec0, transform=...) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/kitemviews/kitemlistcontroller.cpp:1009
#64 0x00007f5dc957076b in KItemListView::event (this=0x129dd40, event=0x7fff47a7fec0) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/kitemviews/kitemlistview.cpp:894
#65 0x00007f5ddd9e291c in QApplicationPrivate::notify_helper (this=this@entry=0xdd2f50, receiver=receiver@entry=0x129dd40, e=e@entry=0x7fff47a7fec0) at kernel/qapplication.cpp:4562
#66 0x00007f5ddd9e6d9a in QApplication::notify (this=0x7fff47a81470, receiver=0x129dd40, e=0x7fff47a7fec0) at kernel/qapplication.cpp:4423
#67 0x00007f5ddf5f5d76 in KApplication::notify (this=0x7fff47a81470, receiver=0x129dd40, event=0x7fff47a7fec0) at /usr/src/debug/kdelibs-4.11.0/kdeui/kernel/kapplication.cpp:311
#68 0x00007f5dde855e7e in QCoreApplication::notifyInternal (this=0x7fff47a81470, receiver=0x129dd40, event=0x7fff47a7fec0) at kernel/qcoreapplication.cpp:949
#69 0x00007f5dddfc800b in sendEvent (event=0x7fff47a7fec0, item=0x129dd50, this=<optimized out>) at graphicsview/qgraphicsscene.cpp:1217
#70 QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x129dd50, event=0x7fff47a7fec0) at graphicsview/qgraphicsscene.cpp:1197
#71 0x00007f5dddfc8bf0 in sendMouseEvent (mouseEvent=0x7fff47a7fec0, this=0x121d6a0) at graphicsview/qgraphicsscene.cpp:1295
#72 QGraphicsScenePrivate::sendMouseEvent (this=0x121d6a0, mouseEvent=0x7fff47a7fec0) at graphicsview/qgraphicsscene.cpp:1274
#73 0x00007f5dddfced96 in QGraphicsScenePrivate::mousePressEventHandler (this=this@entry=0x121d6a0, mouseEvent=mouseEvent@entry=0x7fff47a7fec0) at graphicsview/qgraphicsscene.cpp:1422
#74 0x00007f5dddfcf29f in QGraphicsScene::mousePressEvent (this=<optimized out>, mouseEvent=0x7fff47a7fec0) at graphicsview/qgraphicsscene.cpp:4074
#75 0x00007f5dddfdc37a in QGraphicsScene::event (this=0x117fb50, event=0x7fff47a7fec0) at graphicsview/qgraphicsscene.cpp:3455
#76 0x00007f5ddd9e291c in QApplicationPrivate::notify_helper (this=this@entry=0xdd2f50, receiver=receiver@entry=0x117fb50, e=e@entry=0x7fff47a7fec0) at kernel/qapplication.cpp:4562
#77 0x00007f5ddd9e6d9a in QApplication::notify (this=0x7fff47a81470, receiver=0x117fb50, e=0x7fff47a7fec0) at kernel/qapplication.cpp:4423
#78 0x00007f5ddf5f5d76 in KApplication::notify (this=0x7fff47a81470, receiver=0x117fb50, event=0x7fff47a7fec0) at /usr/src/debug/kdelibs-4.11.0/kdeui/kernel/kapplication.cpp:311
#79 0x00007f5dde855e7e in QCoreApplication::notifyInternal (this=0x7fff47a81470, receiver=0x117fb50, event=0x7fff47a7fec0) at kernel/qcoreapplication.cpp:949
#80 0x00007f5dddfed281 in QGraphicsView::mousePressEvent (this=0x117fcd0, event=0x7fff47a807f0) at graphicsview/qgraphicsview.cpp:3164
#81 0x00007f5ddda323c0 in QWidget::event (this=0x117fcd0, event=0x7fff47a807f0) at kernel/qwidget.cpp:8372
#82 0x00007f5dddddda86 in QFrame::event (this=0x117fcd0, e=0x7fff47a807f0) at widgets/qframe.cpp:557
#83 0x00007f5dddff5aab in QGraphicsView::viewportEvent (this=0x117fcd0, event=0x7fff47a807f0) at graphicsview/qgraphicsview.cpp:2866
#84 0x00007f5dde855fe6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1202890, event=0x7fff47a807f0) at kernel/qcoreapplication.cpp:1059
#85 0x00007f5ddd9e28ec in QApplicationPrivate::notify_helper (this=this@entry=0xdd2f50, receiver=receiver@entry=0x1202890, e=e@entry=0x7fff47a807f0) at kernel/qapplication.cpp:4558
#86 0x00007f5ddd9e75fb in QApplication::notify (this=<optimized out>, receiver=0x1202890, e=0x7fff47a807f0) at kernel/qapplication.cpp:4105
#87 0x00007f5ddf5f5d76 in KApplication::notify (this=0x7fff47a81470, receiver=0x1202890, event=0x7fff47a807f0) at /usr/src/debug/kdelibs-4.11.0/kdeui/kernel/kapplication.cpp:311
#88 0x00007f5dde855e7e in QCoreApplication::notifyInternal (this=0x7fff47a81470, receiver=0x1202890, event=0x7fff47a807f0) at kernel/qcoreapplication.cpp:949
#89 0x00007f5ddd9e375b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#90 QApplicationPrivate::sendMouseEvent (receiver=0x1202890, event=0x7fff47a807f0, alienWidget=0x1202890, nativeWidget=0x10161f0, buttonDown=0x7f5dde4b8268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#91 0x00007f5ddda5e034 in QETWidget::translateMouseEvent (this=this@entry=0x10161f0, event=event@entry=0x7fff47a80f60) at kernel/qapplication_x11.cpp:4528
#92 0x00007f5ddda5cdc1 in QApplication::x11ProcessEvent (this=0x7fff47a81470, event=0x7fff47a80f60) at kernel/qapplication_x11.cpp:3651
#93 0x00007f5ddda83162 in x11EventSourceDispatch (s=0xdd5720, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#94 0x00007f5dd9f823b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#95 0x00007f5dd9f826e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#96 0x00007f5dd9f827a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#97 0x00007f5dde8844d6 in QEventDispatcherGlib::processEvents (this=0xc34790, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#98 0x00007f5ddda82dde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#99 0x00007f5dde854b2f in QEventLoop::processEvents (this=this@entry=0x7fff47a81330, flags=...) at kernel/qeventloop.cpp:149
#100 0x00007f5dde854db8 in QEventLoop::exec (this=0x7fff47a81330, flags=...) at kernel/qeventloop.cpp:204
#101 0x00007f5dde859af8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#102 0x00007f5dc9d17d84 in kdemain (argc=5, argv=0xe88ff0) at /usr/src/debug/kde-baseapps-4.11.0/dolphin/src/main.cpp:93
#103 0x0000000000408856 in _start ()

Possible duplicates by query: bug 323711, bug 322782, bug 315194, bug 307829, bug 307143.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2013-08-25 07:32:36 UTC
Thanks for the bug report! The crash happens in KRun/KProcesRunner, so I assume that the problem is there.
Comment 2 Dawit Alemayehu 2013-09-17 12:19:30 UTC
This is an upstream issue. See https://bugreports.qt-project.org/browse/QTBUG-33158.
Comment 3 Dawit Alemayehu 2013-09-17 12:21:20 UTC
For the record the crash is happening because you are running out of file descriptors which QProcess does not handle gracefully.