Bug 269364 - AcquireImages crash on save
Summary: AcquireImages crash on save
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: imaging-bugs-null
URL:
Keywords:
: 292368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-25 05:18 UTC by Yasha B.-K.
Modified: 2015-09-17 09:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yasha B.-K. 2011-03-25 05:18:36 UTC
Application: scangui (1.2.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32.26-175.fc12.i686 i686
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
AcquireImages crashed when saving a scanned file as a png.

 -- Backtrace:
Application: Acquire images (scangui), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77c97e0 (LWP 7350))]

Thread 2 (Thread 0xb4b27b70 (LWP 7982)):
[KCrash Handler]
#6  0x05ece6d3 in KIPIPlugins::KPWriteImage::write2PNG (this=0xb4b27204, destPath=...) at /usr/src/debug/kipi-plugins-1.2.0/common/libkipiplugins/tools/kpwriteimage.cpp:483
#7  0x08050175 in KIPIAcquireImagesPlugin::SaveImgThread::run (this=0x968aa90) at /usr/src/debug/kipi-plugins-1.2.0/acquireimages/saveimgthread.cpp:164
#8  0x0600575f in QThreadPrivate::start (arg=0x968aa90) at thread/qthread_unix.cpp:248
#9  0x00900925 in start_thread (arg=0xb4b27b70) at pthread_create.c:297
#10 0x0082a07e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77c97e0 (LWP 7350)):
#0  0x00e2f416 in __kernel_vsyscall ()
#1  0x0081f406 in __poll (fds=0xbfd94498, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00b830c0 in _xcb_conn_wait (c=<value optimized out>, cond=<value optimized out>, vector=<value optimized out>, count=<value optimized out>) at xcb_conn.c:306
#3  0x00b8362b in _xcb_out_send (c=<value optimized out>, vector=<value optimized out>, count=<value optimized out>) at xcb_out.c:338
#4  0x00b839c8 in xcb_writev (c=<value optimized out>, vector=0xbfd94598, count=3, requests=<value optimized out>) at xcb_out.c:286
#5  0x00a84d59 in _XSend (dpy=<value optimized out>, data=<value optimized out>, size=<value optimized out>) at xcb_io.c:332
#6  0x00a7102d in SendZImage (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, 
    req_yoffset=<value optimized out>, x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>, dest_bits_per_pixel=<value optimized out>, 
    dest_scanline_pad=<value optimized out>) at PutImage.c:804
#7  PutImageRequest (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, req_yoffset=<value optimized out>, 
    x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>, dest_bits_per_pixel=<value optimized out>, 
    dest_scanline_pad=<value optimized out>) at PutImage.c:872
#8  PutSubImage (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, req_yoffset=<value optimized out>, 
    x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>, dest_bits_per_pixel=<value optimized out>, 
    dest_scanline_pad=<value optimized out>) at PutImage.c:910
#9  0x00a7120d in XPutImage (dpy=<value optimized out>, d=<value optimized out>, gc=<value optimized out>, image=<value optimized out>, req_xoffset=<value optimized out>, 
    req_yoffset=<value optimized out>, x=<value optimized out>, y=<value optimized out>, req_width=<value optimized out>, req_height=<value optimized out>) at PutImage.c:1029
#10 0x0693a8ba in QX11PixmapData::fromImage (this=0x9b4d9b0, img=..., flags=...) at image/qpixmap_x11.cpp:1124
#11 0x0692691d in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:1993
#12 0x06989bee in QPaintEngine::drawImage (this=0x979d428, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:623
#13 0x06a460c1 in QX11PaintEngine::drawImage (this=0x979d428, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#14 0x0699fb4c in QPainterPrivate::draw_helper (this=0x9b44bc8, originalPath=..., op=StrokeAndFillDraw) at painting/qpainter.cpp:484
#15 0x069a20b0 in QPainter::drawRects (this=0xbfd9786c, rects=0xbfd97820, rectCount=1) at painting/qpainter.cpp:3571
#16 0x069a227b in drawRect (this=0xbfd9786c, r=..., brush=...) at ../../src/gui/painting/qpainter.h:622
#17 QPainter::fillRect (this=0xbfd9786c, r=..., brush=...) at painting/qpainter.cpp:6698
#18 0x00e42829 in OxygenHelper::verticalGradient (this=0x93fe1a8, color=..., height=300, offset=0) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/lib/helper.cpp:260
#19 0x00e3ec31 in OxygenHelper::renderWindowBackground (this=0x93fe1a8, p=0xbfd97d3c, clipRect=..., widget=0x9570b90, window=0x9570b90, pal=..., y_shift=-23, gradientHeight=64)
    at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/lib/helper.cpp:113
#20 0x00e76810 in OxygenHelper::renderWindowBackground (this=0x93fe1a8, p=<value optimized out>, clipRect=..., widget=0x9570b90, pal=..., gradientHeight=64, y_shift=-23)
    at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/lib/helper.h:69
#21 0x00e83c0a in OxygenStyle::eventFilter (this=0x93ef570, obj=0x9570b90, ev=0xbfd98224) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.cpp:6391
#22 0x060f5f8a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x93a0b18, receiver=0x9570b90, event=0xbfd98224) at kernel/qcoreapplication.cpp:841
#23 0x068456aa in QApplicationPrivate::notify_helper (this=0x93a0b18, receiver=0x9570b90, e=0xbfd98224) at kernel/qapplication.cpp:4302
#24 0x0684c2a1 in QApplication::notify (this=0xbfd98e6c, receiver=0x9570b90, e=0xbfd98224) at kernel/qapplication.cpp:4271
#25 0x07317a6b in KApplication::notify (this=0xbfd98e6c, receiver=0x9570b90, event=0xbfd98224) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#26 0x060f6d53 in QCoreApplication::notifyInternal (this=0xbfd98e6c, receiver=0x9570b90, event=0xbfd98224) at kernel/qcoreapplication.cpp:726
#27 0x068a0d37 in sendSpontaneousEvent (this=0x9688398, pdev=0x94cb904, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x968ab78) at ../../src/corelib/kernel/qcoreapplication.h:218
#28 QWidgetPrivate::drawWidget (this=0x9688398, pdev=0x94cb904, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x968ab78) at kernel/qwidget.cpp:5363
#29 0x06a60c95 in QWidgetBackingStore::sync (this=0x968ab78) at painting/qbackingstore.cpp:1300
#30 0x06891d63 in QWidgetPrivate::syncBackingStore (this=0x9688398) at kernel/qwidget.cpp:1688
#31 0x06898b5e in QWidget::event (this=0x9570b90, event=0x97fc460) at kernel/qwidget.cpp:8337
#32 0x068456cc in QApplicationPrivate::notify_helper (this=0x93a0b18, receiver=0x9570b90, e=0x97fc460) at kernel/qapplication.cpp:4306
#33 0x0684c2a1 in QApplication::notify (this=0xbfd98e6c, receiver=0x9570b90, e=0x97fc460) at kernel/qapplication.cpp:4271
#34 0x07317a6b in KApplication::notify (this=0xbfd98e6c, receiver=0x9570b90, event=0x97fc460) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#35 0x060f6d53 in QCoreApplication::notifyInternal (this=0xbfd98e6c, receiver=0x9570b90, event=0x97fc460) at kernel/qcoreapplication.cpp:726
#36 0x060f91dc in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x938aad0) at kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x938aad0) at kernel/qcoreapplication.cpp:1367
#38 0x060f935e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#39 0x0611f5d0 in sendPostedEvents (s=0x93a2f10) at kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x93a2f10) at kernel/qeventdispatcher_glib.cpp:276
#41 0x0096dfb8 in g_main_dispatch (context=0x93a2e90) at gmain.c:1960
#42 IA__g_main_context_dispatch (context=0x93a2e90) at gmain.c:2513
#43 0x009718e8 in g_main_context_iterate (context=0x9040b0, block=1, dispatch=1, self=0x93a0d60) at gmain.c:2591
#44 0x00971a14 in IA__g_main_context_iteration (context=0x93a2e90, may_block=1) at gmain.c:2654
#45 0x0611f0c6 in QEventDispatcherGlib::processEvents (this=0x938a790, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0x068f3e86 in QGuiEventDispatcherGlib::processEvents (this=0x938a790, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x060f542a in QEventLoop::processEvents (this=0xbfd98de4, flags=...) at kernel/qeventloop.cpp:149
#48 0x060f576a in QEventLoop::exec (this=0xbfd98de4, flags=...) at kernel/qeventloop.cpp:201
#49 0x060f9427 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#50 0x06845778 in QApplication::exec () at kernel/qapplication.cpp:3585
#51 0x0804d11d in main (argc=5, argv=0xbfd98f74) at /usr/src/debug/kipi-plugins-1.2.0/acquireimages/scangui.cpp:85

Reported using DrKonqi
Comment 1 caulier.gilles 2011-03-25 11:23:35 UTC
update to last kipi-plugins 1.9.0. It have been fixed...

Gilles Caulier
Comment 2 caulier.gilles 2011-11-03 12:44:27 UTC
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 3 Dario Andres 2012-01-25 22:57:55 UTC
[Comment from a bug report cleaner]
Bug 292368 seems to be the same crash (kipi-plugins 1.9.0)
Comment 4 caulier.gilles 2012-01-26 06:19:47 UTC
*** Bug 292368 has been marked as a duplicate of this bug. ***
Comment 5 caulier.gilles 2015-06-28 10:02:24 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 6 caulier.gilles 2015-08-23 14:31:52 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.