Application: gwenview (2.5.2) KDE Platform Version: 4.5.2 (KDE 4.5.2) Qt Version: 4.6.3 Operating System: Linux 2.6.34.7-61.fc13.i686.PAE i686 Distribution (Platform): Fedora RPMs -- Information about the crash: - What I was doing when the application crashed: After downloading images from USB stick to harddrive using Gwenview, selected multiple images then Plugins>Images>PrintImages. Selected printer, then set ImageSettings to Scale to (default size) and Photos per page to 2. After sending to print, progress bar progresses to > 60% then crash without printing. The crash can be reproduced every time. -- Backtrace: Application: Gwenview (gwenview), signal: Segmentation fault [Current thread is 1 (Thread 0xb7704780 (LWP 3979))] Thread 4 (Thread 0xb37fdb70 (LWP 3986)): #0 0x00a99424 in __kernel_vsyscall () #1 0x0054e22c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169 #2 0x066896af in wait (this=0x9d17500, mutex=0x9d174fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 QWaitCondition::wait (this=0x9d17500, mutex=0x9d174fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x024e1b9a in Gwenview::SemanticInfoThread::run (this=0x9d174f0) at /usr/src/debug/kdegraphics-4.5.2/gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:135 #5 0x0668874f in QThreadPrivate::start (arg=0x9d174f0) at thread/qthread_unix.cpp:248 #6 0x0054a919 in start_thread (arg=0xb37fdb70) at pthread_create.c:301 #7 0x00460cce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 3 (Thread 0xb2dfcb70 (LWP 4014)): #0 0x00a99424 in __kernel_vsyscall () #1 0x0054e22c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169 #2 0x066896af in wait (this=0xa55aab0, mutex=0xa55aaac, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 QWaitCondition::wait (this=0xa55aab0, mutex=0xa55aaac, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x074e9cea in QFileInfoGatherer::run (this=0xa55aaa4) at dialogs/qfileinfogatherer.cpp:203 #5 0x0668874f in QThreadPrivate::start (arg=0xa55aaa4) at thread/qthread_unix.cpp:248 #6 0x0054a919 in start_thread (arg=0xb2dfcb70) at pthread_create.c:301 #7 0x00460cce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 2 (Thread 0xafbf6b70 (LWP 4015)): #0 0x00a99424 in __kernel_vsyscall () #1 0x00455df6 in __poll (fds=0xb47006a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0x0088064c in IA__g_poll (fds=0xb47006a0, nfds=1, timeout=-1) at gpoll.c:127 #3 0x00873044 in g_main_context_poll (context=0x54d490, block=1, dispatch=1, self=0xb4700678) at gmain.c:2904 #4 g_main_context_iterate (context=0x54d490, block=1, dispatch=1, self=0xb4700678) at gmain.c:2586 #5 0x00873449 in IA__g_main_context_iteration (context=0xb470ba88, may_block=1) at gmain.c:2654 #6 0x067a247f in QEventDispatcherGlib::processEvents (this=0xb470c448, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #7 0x0677880a in QEventLoop::processEvents (this=0xafbf6210, flags=...) at kernel/qeventloop.cpp:149 #8 0x06778b4a in QEventLoop::exec (this=0xafbf6210, flags=...) at kernel/qeventloop.cpp:201 #9 0x066862fe in QThread::exec (this=0xa55b180) at thread/qthread.cpp:487 #10 0x0675aa1c in QInotifyFileSystemWatcherEngine::run (this=0xa55b180) at io/qfilesystemwatcher_inotify.cpp:248 #11 0x0668874f in QThreadPrivate::start (arg=0xa55b180) at thread/qthread_unix.cpp:248 #12 0x0054a919 in start_thread (arg=0xafbf6b70) at pthread_create.c:301 #13 0x00460cce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 1 (Thread 0xb7704780 (LWP 3979)): [KCrash Handler] #7 KIPIPrintImagesPlugin::LayoutNode::computeDivisions (this=0x0) at /usr/src/debug/kipi-plugins-1.5.0/printimages/layouttree.cpp:151 #8 0x09b8350a in KIPIPrintImagesPlugin::LayoutTree::addImage (this=0xa659e38, aspectRatio=-nan(0x8000000000000), relativeArea=0) at /usr/src/debug/kipi-plugins-1.5.0/printimages/layouttree.cpp:261 #9 0x09b839a6 in KIPIPrintImagesPlugin::AtkinsPageLayout::addLayoutItem (this=0xbfb684a8, key=1, aspectRatio=-nan(0x8000000000000), relativeArea=0) at /usr/src/debug/kipi-plugins-1.5.0/printimages/atkinspagelayout.cpp:84 #10 0x09b83ba9 in KIPIPrintImagesPlugin::AtkinsPageLayout::addLayoutItem (this=0xbfb684a8, key=1, size=...) at /usr/src/debug/kipi-plugins-1.5.0/printimages/atkinspagelayout.cpp:79 #11 0x09b626a6 in KIPIPrintImagesPlugin::PrintHelper::print (this=0xbfb68538, fileList=...) at /usr/src/debug/kipi-plugins-1.5.0/printimages/printhelper.cpp:270 #12 0x09b607c1 in Plugin_PrintImages::slotPrintImagesActivate (this=0xa383560) at /usr/src/debug/kipi-plugins-1.5.0/printimages/plugin_printimages.cpp:130 #13 0x09b615f2 in Plugin_PrintImages::qt_metacall (this=0xa383560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb68698) at /usr/src/debug/kipi-plugins-1.5.0/i686-redhat-linux-gnu/printimages/plugin_printimages.moc:76 #14 0x0677ebcb in QMetaObject::metacall (object=0xa383560, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfb68698) at kernel/qmetaobject.cpp:237 #15 0x0678da75 in QMetaObject::activate (sender=0xa2d5788, m=0x78a5038, local_signal_index=1, argv=0xbfb68698) at kernel/qobject.cpp:3295 #16 0x06fb1e6a in QAction::triggered (this=0xa2d5788, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #17 0x06fb37fc in QAction::activate (this=0xa2d5788, event=QAction::Trigger) at kernel/qaction.cpp:1255 #18 0x0741b7e0 in QMenuPrivate::activateCausedStack (this=0xa105838, causedStack=..., action=0xa2d5788, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002 #19 0x0742152b in QMenuPrivate::activateAction (this=0xa105838, action=0xa2d5788, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094 #20 0x07422c3e in QMenu::keyPressEvent (this=0xa107070, e=0xbfb68ec4) at widgets/qmenu.cpp:2687 #21 0x0700a323 in QWidget::event (this=0xa107070, event=0xbfb68ec4) at kernel/qwidget.cpp:8079 #22 0x0742396c in QMenu::event (this=0xa107070, e=0xbfb68ec4) at widgets/qmenu.cpp:2421 #23 0x06fb777c in QApplicationPrivate::notify_helper (this=0x9c83f78, receiver=0xa107070, e=0xbfb68ec4) at kernel/qapplication.cpp:4306 #24 0x06fbfc0f in QApplication::notify (this=0xbfb6993c, receiver=0xa107070, e=0xbfb68ec4) at kernel/qapplication.cpp:3769 #25 0x04be6f7b in KApplication::notify (this=0xbfb6993c, receiver=0xa107070, event=0xbfb68ec4) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310 #26 0x0677a133 in QCoreApplication::notifyInternal (this=0xbfb6993c, receiver=0xa107070, event=0xbfb68ec4) at kernel/qcoreapplication.cpp:726 #27 0x06fb83bf in sendSpontaneousEvent (receiver=0xa107070, event=0xbfb68ec4) at ../../src/corelib/kernel/qcoreapplication.h:218 #28 qt_sendSpontaneousEvent (receiver=0xa107070, event=0xbfb68ec4) at kernel/qapplication.cpp:5285 #29 0x0706101e in QKeyMapper::sendKeyEvent (keyWidget=0xa107070, grab=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1875 #30 0x070633e9 in QKeyMapperPrivate::translateKeyEvent (this=0x9cb6e18, keyWidget=0xa107070, event=0xbfb6958c, grab=false) at kernel/qkeymapper_x11.cpp:1845 #31 0x07039987 in QApplication::x11ProcessEvent (this=0xbfb6993c, event=0xbfb6958c) at kernel/qapplication_x11.cpp:3406 #32 0x0706674a in x11EventSourceDispatch (s=0x9c87140, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #33 0x0086f525 in g_main_dispatch (context=0x9c862f8) at gmain.c:1960 #34 IA__g_main_context_dispatch (context=0x9c862f8) at gmain.c:2513 #35 0x00873268 in g_main_context_iterate (context=0x54d490, block=1, dispatch=1, self=0x9c841c0) at gmain.c:2591 #36 0x00873449 in IA__g_main_context_iteration (context=0x9c862f8, may_block=1) at gmain.c:2654 #37 0x067a2446 in QEventDispatcherGlib::processEvents (this=0x9c6f910, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #38 0x07066336 in QGuiEventDispatcherGlib::processEvents (this=0x9c6f910, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #39 0x0677880a in QEventLoop::processEvents (this=0xbfb69884, flags=...) at kernel/qeventloop.cpp:149 #40 0x06778b4a in QEventLoop::exec (this=0xbfb69884, flags=...) at kernel/qeventloop.cpp:201 #41 0x0677c807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #42 0x06fb7828 in QApplication::exec () at kernel/qapplication.cpp:3585 #43 0x0807d2ad in main (argc=174768272, argv=0xa6d8128) at /usr/src/debug/kdegraphics-4.5.2/gwenview/app/main.cpp:139 Reported using DrKonqi
does that happen with a given number or pictures or not?
Selecting 4 images then sending 3 to a page works for the first 3, but second page does not have the fourth image. Sending 2 or 4 to a page causes crash. Sending 1 per page works fine. Selecting 7 and printing 5 per page works fine.
Thanks Simon, tonight i'll test it with your suggestions.
Sorry for the alte answer. I made some tests but i seem i cannot reproduce it. I selected 4 images and printed to pdf 1xpage, then 2xpage, 3xp and 4xp, without any problems. Then i chose 7 pictures and again from 1 to 7 per pages i got no errors/crashes... I use kde 4.4.3 and Qt 4.6.2 on linux Mandriva 2010.1 though
kipi-plugins 1.6.0 is out: http://www.digikam.org/drupal/node/551 Please update and check if this entry still valid. Thanks in advance Gilles Caulier
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ? Gilles Caulier
I'm using kipi-plugins 2.3.0 and I've not been able to reproduce this. Using Plugins -> Images -> Print Assistant, I printed 4 images in one page using a HP inkjet with drivers installed. So I think it has been fixed.