Bug 302200 - Skanlite crashed saving file
Summary: Skanlite crashed saving file
Status: RESOLVED WORKSFORME
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-06-19 18:04 UTC by Bruno A. Crespo
Modified: 2022-12-18 05:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno A. Crespo 2012-06-19 18:04:25 UTC
Application: skanlite (0.7)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.3.8-1.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:

Scan a high resolution image (1200dpi)
Scan from an scanner attached to a network scand server
Save to a file.

-- Backtrace:
Application: Skanlite (skanlite), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f9823b8e840 (LWP 25044))]

Thread 2 (Thread 0x7f9817e12700 (LWP 25055)):
#0  0x000000388bce85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000388d845448 in g_main_context_poll (n_fds=1, fds=0x7f9810052f90, priority=<optimized out>, timeout=-1, context=0x7f981005f560) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f981005f560, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x000000388d84590c in g_main_context_iteration (context=0x7f981005f560, may_block=1) at gmain.c:3152
#4  0x00000032251a9246 in QEventDispatcherGlib::processEvents (this=0x7f9810052ce0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003225179312 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003225179567 in QEventLoop::exec (this=0x7f9817e11d10, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003225078b87 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x0000003225158f9f in QInotifyFileSystemWatcherEngine::run (this=0x27b5f70) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000322507bbcb in QThreadPrivate::start (arg=0x27b5f70) at thread/qthread_unix.cpp:307
#10 0x000000388c807d90 in start_thread (arg=0x7f9817e12700) at pthread_create.c:309
#11 0x000000388bcf0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9823b8e840 (LWP 25044)):
[KCrash Handler]
#6  0x000000388bc36285 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x000000388bc37b9b in __GI_abort () at abort.c:91
#8  0x000000388bc77a7e in __libc_message (do_abort=2, fmt=0x388bd76678 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x000000388bc7dda6 in malloc_printerr (action=3, str=0x388bd767b0 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:5021
#10 0x00000038a0411088 in sanei_w_array (w=0x7f9810041f58, len_ptr=0x7fff223f4dfc, v=0x7fff223f4eb0, w_element=0x38a0410b20 <sanei_w_word>, element_size=4) at sanei_wire.c:181
#11 0x00000038a0410286 in w_option_value (w=<optimized out>, type=<optimized out>, size=<optimized out>, value=<optimized out>) at sanei_net.c:125
#12 0x00000038a04104f7 in sanei_w_control_option_reply (w=0x7f9810041f58, reply=0x7fff223f4ea0) at sanei_net.c:160
#13 0x00000038a0411b6a in sanei_w_free (w=0x7f9810041f58, w_reply=0x38a04104b0 <sanei_w_control_option_reply>, reply=0x7fff223f4ea0) at sanei_wire.c:647
#14 0x00007f9809edc2cc in sane_net_control_option (handle=0x2418ef0, option=40, action=<optimized out>, value=0x7fff223f4f40, info=0x7fff223f4f2c) at net.c:1778
#15 0x000000325ce305b1 in KSaneIface::KSaneOptCheckBox::readValue (this=0x24227c0) at /usr/src/debug/libksane-4.8.3/libksane/options/ksane_opt_checkbox.cpp:86
#16 0x000000325ce2abab in KSaneIface::KSaneWidgetPrivate::pollPollOptions (this=0x22bb6f0) at /usr/src/debug/libksane-4.8.3/libksane/ksane_widget_private.cpp:1126
#17 0x000000322518e191 in QMetaObject::activate (sender=0x22bb8f8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#18 0x00000032251930f9 in QObject::event (this=0x22bb8f8, e=<optimized out>) at kernel/qobject.cpp:1157
#19 0x00000032257c9ae4 in notify_helper (e=0x7fff223f5850, receiver=0x22bb8f8, this=0x20e6430) at kernel/qapplication.cpp:4551
#20 QApplicationPrivate::notify_helper (this=0x20e6430, receiver=0x22bb8f8, e=0x7fff223f5850) at kernel/qapplication.cpp:4523
#21 0x00000032257ce8b3 in QApplication::notify (this=0x7fff223f5b60, receiver=0x22bb8f8, e=0x7fff223f5850) at kernel/qapplication.cpp:4412
#22 0x0000003259451ff6 in KApplication::notify (this=0x7fff223f5b60, receiver=0x22bb8f8, event=0x7fff223f5850) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#23 0x000000322517a48c in QCoreApplication::notifyInternal (this=0x7fff223f5b60, receiver=0x22bb8f8, event=0x7fff223f5850) at kernel/qcoreapplication.cpp:915
#24 0x00000032251aafb2 in sendEvent (event=0x7fff223f5850, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#25 QTimerInfoList::activateTimers (this=0x20ec280) at kernel/qeventdispatcher_unix.cpp:611
#26 0x00000032251a89bd in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#27 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#28 0x00000032251a89e1 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#29 0x000000388d844f3d in g_main_dispatch (context=0x20e80e0) at gmain.c:2441
#30 g_main_context_dispatch (context=0x20e80e0) at gmain.c:3011
#31 0x000000388d845738 in g_main_context_iterate (context=0x20e80e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#32 0x000000388d84590c in g_main_context_iteration (context=0x20e80e0, may_block=1) at gmain.c:3152
#33 0x00000032251a91df in QEventDispatcherGlib::processEvents (this=0x20c1970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#34 0x000000322586c81e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x0000003225179312 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x0000003225179567 in QEventLoop::exec (this=0x7fff223f5af0, flags=...) at kernel/qeventloop.cpp:204
#37 0x000000322517e225 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#38 0x000000000040a3ae in main (argc=5, argv=0x7fff223f5fb8) at /usr/src/debug/skanlite-0.8/src/main.cpp:84

Possible duplicates by query: bug 302042, bug 301155, bug 300614, bug 299137, bug 296435.

Reported using DrKonqi
Comment 1 Kåre Särs 2012-06-19 20:14:12 UTC
Thanks for the report.

Was this a one time event or is it something that has happened more than once?
Comment 2 Bruno A. Crespo 2012-06-19 20:44:52 UTC
After filling the bug it happens twice.

2012/6/19 Kåre Särs <kare.sars@iki.fi>

> https://bugs.kde.org/show_bug.cgi?id=302200
>
> Kåre Särs <kare.sars@iki.fi> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |NEW
>            Summary|KScanlite crashed saving    |Skanlite crashed saving
>                   |file                        |file
>     Ever confirmed|0                           |1
>
> --- Comment #1 from Kåre Särs <kare.sars@iki.fi> ---
> Thanks for the report.
>
> Was this a one time event or is it something that has happened more than
> once?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Kåre Särs 2013-02-11 16:15:06 UTC
I'm afraid this looks like a backend bug...


Can you reproduce the problem with newer version of sane?

Thanks,
  Kåre
Comment 4 Andrew Crouthamel 2018-09-24 02:24:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bruno A. Crespo 2018-09-24 14:36:24 UTC
With the last version I have the same behavior.  If you try to scan an image that generates a very large file (1200dpi A4 or 600dpi, 16bit A4) skanlite crash.

skanlite 1.1, Fedora 28
Comment 6 Andrew Crouthamel 2018-09-24 15:04:07 UTC
Thanks for the update, I'll mark it confirmed.
Comment 7 Justin Zobel 2020-12-17 05:38:32 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 8 Bruno A. Crespo 2020-12-17 12:23:13 UTC
Hello,

Skanlite still crash, I'm not sure if it crashes in the same point, this is the stack information now:

Application: skanlite (skanlite), signal: Aborted

[KCrash Handler]
#4  0x00007fd5731af9d5 in raise () from /lib64/libc.so.6
#5  0x00007fd5731988a4 in abort () from /lib64/libc.so.6
#6  0x00007fd5731f1f27 in __libc_message () from /lib64/libc.so.6
#7  0x00007fd5731f9c1c in malloc_printerr () from /lib64/libc.so.6
#8  0x00007fd5731fb143 in _int_free () from /lib64/libc.so.6
#9  0x00007fd544c1c9bf in sanei_w_array () from /usr/lib64/sane/libsane-net.so.1
#10 0x00007fd544c1cc08 in bin_w_string () from /usr/lib64/sane/libsane-net.so.1
#11 0x00007fd544c1ac0b in sanei_w_string () from /usr/lib64/sane/libsane-net.so.1
#12 0x00007fd544c1e02c in sanei_w_free () from /usr/lib64/sane/libsane-net.so.1
#13 0x00007fd544c20bb0 in sane_net_control_option () from /usr/lib64/sane/libsane-net.so.1
#14 0x00007fd574ed271f in KSaneIface::KSaneOptSlider::readValue() () from /lib64/libKF5Sane.so.5
#15 0x00007fd574eb9c32 in KSaneIface::KSaneWidgetPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0] () from /lib64/libKF5Sane.so.5
#16 0x00007fd5737d63c0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#17 0x00007fd5737da1fe in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt5Core.so.5
#18 0x00007fd5737cec7f in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007fd57423bec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007fd5737a6bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007fd5737f2a03 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#22 0x00007fd5737f32fc in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#23 0x00007fd5720fd7ef in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007fd57214f5d8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#25 0x00007fd5720fabc3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007fd5737f36f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007fd5737a557b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007fd5737ad1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#29 0x0000555da583396f in main ()
[Inferior 1 (process 16130) detached]

The Info now was:

Skanlite 2.2.0 
KDE Frameworks 5.75.0
Qt 5.15.2 (compilado con 5.15.2)
Fedora 33
Comment 9 Justin Zobel 2022-11-18 03:40:55 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 10 Bug Janitor Service 2022-12-03 05:17:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2022-12-18 05:15:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!