Bug 235112 - Gwenview crashed trying to save scan as TIFF.
Summary: Gwenview crashed trying to save scan as TIFF.
Status: RESOLVED FIXED
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: imaging-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 22:39 UTC by druid
Modified: 2015-09-17 09:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description druid 2010-04-22 22:39:50 UTC
Application that crashed: gwenview
Version of the application: 2.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
First use of Gwenview. Scanned image, tried to save, creating new Scans folder during save operation. Gwenview created folder and file, but crashed; file is corrupt.

 -- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fac78d8c750 (LWP 2828))]

Thread 3 (Thread 0x7fac63bce910 (LWP 2829)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fac77d894fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x80b218, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x80b218, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fac786de71c in Gwenview::SemanticInfoThread::run() () from /usr/lib/libgwenviewlib.so.4
#4  0x00007fac77d88445 in QThreadPrivate::start (arg=0x80b200) at thread/qthread_unix.cpp:188
#5  0x00007fac72897a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fac75c9880d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fac4ba50910 (LWP 2842)):
#0  0x00007fac75c8c3c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fac4bc6a4da in poll_func (ufds=0x10602e0, nfds=2, timeout=-1, userdata=0x7fac5c041950) at thread-watch.c:58
#2  0x00007fac4bc6902e in avahi_simple_poll_run (s=0x7fac5c041990) at simple-watch.c:526
#3  0x00007fac4bc697ad in avahi_simple_poll_iterate (s=0x7fac5c041990, timeout=<value optimized out>) at simple-watch.c:594
#4  0x00007fac4bc697dd in avahi_simple_poll_loop (s=0x7fac5c041990) at simple-watch.c:638
#5  0x00007fac4bc6a32c in thread (userdata=0x7fac5c041940) at thread-watch.c:73
#6  0x00007fac72897a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fac75c9880d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fac78d8c750 (LWP 2828)):
[KCrash Handler]
#5  0x00007fac6241eda7 in KIPIPlugins::KPWriteImage::write2TIFF(QString const&) () from /usr/lib/libkipiplugins.so.1
#6  0x00007fac5873de3d in ?? () from /usr/lib/kde4/kipiplugin_acquireimages.so
#7  0x00007fac5873e04b in ?? () from /usr/lib/kde4/kipiplugin_acquireimages.so
#8  0x00007fac77e83ddc in QMetaObject::activate (sender=0xfdce80, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#9  0x00007fac58516645 in KSaneIface::KSaneWidget::imageReady (this=0x4f23, _t1=<value optimized out>, _t2=5096, _t3=7016, _t4=0, _t5=16383) at ./ksane.moc:93
#10 0x00007fac58516760 in KSaneIface::KSaneWidget::qt_metacall (this=0xfdce80, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff7a0510d0) at ./ksane.moc:77
#11 0x00007fac77e83ddc in QMetaObject::activate (sender=0x1001100, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#12 0x00007fac5851c565 in KSaneIface::KSaneWidgetPrivate::imageReady (this=0x4f23, _t1=<value optimized out>, _t2=5096, _t3=7016, _t4=0, _t5=16383) at ./ksane_widget_private.moc:118
#13 0x00007fac5851fc60 in KSaneIface::KSaneWidgetPrivate::scanDone (this=0x1001100) at ../../../../libs/libksane/libksane/ksane_widget_private.cpp:868
#14 0x00007fac58520662 in KSaneIface::KSaneWidgetPrivate::processData (this=0x1001100) at ../../../../libs/libksane/libksane/ksane_widget_private.cpp:994
#15 0x00007fac58520a54 in KSaneIface::KSaneWidgetPrivate::qt_metacall (this=0x1001100, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb52e30) at ./ksane_widget_private.moc:106
#16 0x00007fac77e7e0f9 in QObject::event (this=0x1001100, e=0x855840) at kernel/qobject.cpp:1111
#17 0x00007fac76865efc in QApplicationPrivate::notify_helper (this=0x8083c0, receiver=0x1001100, e=0x855840) at kernel/qapplication.cpp:4056
#18 0x00007fac7686d1ce in QApplication::notify (this=0x7fff7a0546c0, receiver=0x1001100, e=0x855840) at kernel/qapplication.cpp:4021
#19 0x00007fac7749cab6 in KApplication::notify (this=0x7fff7a0546c0, receiver=0x1001100, event=0x855840) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007fac77e6ec2c in QCoreApplication::notifyInternal (this=0x7fff7a0546c0, receiver=0x1001100, event=0x855840) at kernel/qcoreapplication.cpp:610
#21 0x00007fac77e6f80a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x7ef850) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x7ef850) at kernel/qcoreapplication.cpp:1247
#23 0x00007fac77e97533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#25 0x00007fac72ae8bce in g_main_dispatch (context=0x80b120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x80b120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#27 0x00007fac72aec598 in g_main_context_iterate (context=0x80b120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#28 0x00007fac72aec6c0 in IA__g_main_context_iteration (context=0x80b120, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#29 0x00007fac77e971a6 in QEventDispatcherGlib::processEvents (this=0x7ef0a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007fac768fa4be in QGuiEventDispatcherGlib::processEvents (this=0x7fff7a050a20, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007fac77e6d532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fac77e6d904 in QEventLoop::exec (this=0x7fff7a051b70, flags=) at kernel/qeventloop.cpp:201
#33 0x00007fac76ce09de in QDialog::exec (this=0x1024740) at dialogs/qdialog.cpp:498
#34 0x00007fac5873a188 in ?? () from /usr/lib/kde4/kipiplugin_acquireimages.so
#35 0x00007fac5873a220 in ?? () from /usr/lib/kde4/kipiplugin_acquireimages.so
#36 0x00007fac77e83ddc in QMetaObject::activate (sender=0xf88a10, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#37 0x00007fac768600a7 in QAction::triggered (this=0x7fff7a050a20, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#38 0x00007fac768614ef in QAction::activate (this=0xf88a10, event=<value optimized out>) at kernel/qaction.cpp:1160
#39 0x00007fac76c4decd in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0xf88a10, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#40 0x00007fac76c53dea in QMenuPrivate::activateAction (this=0xd55360, action=0xf88a10, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#41 0x00007fac7756f2be in KMenu::mouseReleaseEvent (this=0xd00040, e=0x0) at ../../kdeui/widgets/kmenu.cpp:456
#42 0x00007fac768b49c0 in QWidget::event (this=0xd00040, event=0x7fff7a0527b0) at kernel/qwidget.cpp:7549
#43 0x00007fac76c565ab in QMenu::event (this=0xd00040, e=0x7fff7a0527b0) at widgets/qmenu.cpp:2353
#44 0x00007fac76865efc in QApplicationPrivate::notify_helper (this=0x8083c0, receiver=0xd00040, e=0x7fff7a0527b0) at kernel/qapplication.cpp:4056
#45 0x00007fac7686d011 in QApplication::notify (this=<value optimized out>, receiver=0xd00040, e=0x7fff7a0527b0) at kernel/qapplication.cpp:3758
#46 0x00007fac7749cab6 in KApplication::notify (this=0x7fff7a0546c0, receiver=0xd00040, event=0x7fff7a0527b0) at ../../kdeui/kernel/kapplication.cpp:302
#47 0x00007fac77e6ec2c in QCoreApplication::notifyInternal (this=0x7fff7a0546c0, receiver=0xd00040, event=0x7fff7a0527b0) at kernel/qcoreapplication.cpp:610
#48 0x00007fac7686c8e0 in QCoreApplication::sendSpontaneousEvent (receiver=0xd00040, event=0x7fff7a0527b0, alienWidget=0x0, nativeWidget=0xd00040, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#49 QApplicationPrivate::sendMouseEvent (receiver=0xd00040, event=0x7fff7a0527b0, alienWidget=0x0, nativeWidget=0xd00040, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2924
#50 0x00007fac768d2e2e in QETWidget::translateMouseEvent (this=0xd00040, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#51 0x00007fac768d1aa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff7a0542e0) at kernel/qapplication_x11.cpp:3550
#52 0x00007fac768fad0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x00007fac72ae8bce in g_main_dispatch (context=0x80b120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#54 IA__g_main_context_dispatch (context=0x80b120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#55 0x00007fac72aec598 in g_main_context_iterate (context=0x80b120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#56 0x00007fac72aec6c0 in IA__g_main_context_iteration (context=0x80b120, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#57 0x00007fac77e971a6 in QEventDispatcherGlib::processEvents (this=0x7ef0a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#58 0x00007fac768fa4be in QGuiEventDispatcherGlib::processEvents (this=0x7fff7a050a20, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#59 0x00007fac77e6d532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#60 0x00007fac77e6d904 in QEventLoop::exec (this=0x7fff7a054610, flags=) at kernel/qeventloop.cpp:201
#61 0x00007fac77e6fab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#62 0x0000000000440630 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../gwenview/app/main.cpp:95
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 caulier.gilles 2010-10-07 09:02:24 UTC
We need feedback using kipi-plugins 1.4.0

Gilles Caulier
Comment 2 caulier.gilles 2010-11-24 09:16:59 UTC
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
Comment 3 caulier.gilles 2011-11-03 12:44:12 UTC
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 4 Farhan 2011-12-09 04:50:26 UTC
I'm using kipi-plugins 2.3.0 and I successfully scanned from my HP Photosmart and saved as TIFF file. There was no crash and the file was created successfully.