Bug 287633 - scanlite crash
Summary: scanlite crash
Status: RESOLVED WORKSFORME
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 0.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2011-11-26 19:36 UTC by wouter
Modified: 2018-10-27 04:15 UTC (History)
2 users (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 wouter 2011-11-26 19:36:06 UTC
Application: skanlite (0.7)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was testing the Canon canoscan 8800F scanner in a 600 dpi resulotion. This worked okay. Changing the resolution to 2400 and also to 4800 caused the programme (scanlite) to fail.
- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: Skanlite (skanlite), signal: Aborted
[Current thread is 1 (Thread 0xb7892710 (LWP 2922))]

Thread 5 (Thread 0xb5aebb70 (LWP 2923)):
#0  0x03f56833 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x03f57637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x03f57c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x00b60b37 in QEventDispatcherGlib::processEvents (this=0x824dcd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00b311dd in QEventLoop::processEvents (this=0xb5aeb2b0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00b31421 in QEventLoop::exec (this=0xb5aeb2b0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00a3490b in QThread::exec (this=0x82494d0) at thread/qthread.cpp:498
#7  0x00b11e2d in QInotifyFileSystemWatcherEngine::run (this=0x82494d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00a377b3 in QThreadPrivate::start (arg=0x82494d0) at thread/qthread_unix.cpp:331
#9  0x06175d31 in start_thread (arg=0xb5aebb70) at pthread_create.c:304
#10 0x027990ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb46feb70 (LWP 2925)):
#0  0x0278a3b0 in __GI___poll (fds=0x842f898, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:69
#1  0x0384941b in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#2  0x03848f0b in avahi_simple_poll_run () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#3  0x03849175 in avahi_simple_poll_iterate () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#4  0x03849356 in avahi_simple_poll_loop () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#5  0x03849494 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#6  0x06175d31 in start_thread (arg=0xb46feb70) at pthread_create.c:304
#7  0x027990ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb52eab70 (LWP 2926)):
#0  0x06178d21 in __pthread_mutex_unlock_usercnt (mutex=0x8260a94, decr=1) at pthread_mutex_unlock.c:37
#1  0x027a6f54 in pthread_mutex_unlock (mutex=0x8260a94) at forward.c:184
#2  0x03f57785 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03f57c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00b60b37 in QEventDispatcherGlib::processEvents (this=0x84363a8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00b311dd in QEventLoop::processEvents (this=0xb52ea2b0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00b31421 in QEventLoop::exec (this=0xb52ea2b0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00a3490b in QThread::exec (this=0x825dc70) at thread/qthread.cpp:498
#8  0x00b11e2d in QInotifyFileSystemWatcherEngine::run (this=0x825dc70) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00a377b3 in QThreadPrivate::start (arg=0x825dc70) at thread/qthread_unix.cpp:331
#10 0x06175d31 in start_thread (arg=0xb52eab70) at pthread_create.c:304
#11 0x027990ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3c1fb70 (LWP 2933)):
[KCrash Handler]
#7  0x005ed416 in __kernel_vsyscall ()
#8  0x026f4c8f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x026f82b5 in __GI_abort () at abort.c:92
#10 0x067d74ed in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0x067d5283 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0x067d52bf in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0x067d540e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0x00a2cf92 in qBadAlloc () at global/qglobal.cpp:2031
#15 0x00a39a15 in QByteArray::realloc (this=0x824d178, alloc=429715968) at tools/qbytearray.cpp:1429
#16 0x001302e4 in reserve (asize=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:432
#17 KSaneIface::KSaneScanThread::run (this=0x8472148) at ../../libksane/ksane_scan_thread.cpp:136
#18 0x00a377b3 in QThreadPrivate::start (arg=0x8472148) at thread/qthread_unix.cpp:331
#19 0x06175d31 in start_thread (arg=0xb3c1fb70) at pthread_create.c:304
#20 0x027990ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7892710 (LWP 2922)):
#0  0x005ed416 in __kernel_vsyscall ()
#1  0x0278a40e in __GI___poll (fds=0xbfe99fa8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x06b26000 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0x06b27930 in xcb_wait_for_reply () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0x01b37782 in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#5  0x01b32e76 in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0x012d945e in syncX (this=0x82104c0) at painting/qwindowsurface_raster.cpp:127
#7  QRasterWindowSurface::syncX (this=0x82104c0) at painting/qwindowsurface_raster.cpp:123
#8  0x012d989f in QRasterWindowSurface::scroll (this=0x82104c0, area=..., dx=0, dy=31) at painting/qwindowsurface_raster.cpp:373
#9  0x012f4705 in QWidgetBackingStore::bltRect (this=0x8202b60, rect=..., dx=0, dy=31, widget=0x827d700) at painting/qbackingstore.cpp:268
#10 0x012f847d in QWidgetPrivate::moveRect (this=0x8254a30, rect=..., dx=0, dy=31) at painting/qbackingstore.cpp:945
#11 0x0116389c in QWidgetPrivate::setGeometry_sys (this=0x8254a30, x=0, y=315, w=136328056, h=26, isMove=true) at kernel/qwidget_x11.cpp:2613
#12 0x0110fdd5 in QWidget::setGeometry (this=0x8252670, r=...) at kernel/qwidget.cpp:6897
#13 0x010eccc7 in setGeometry (this=<optimized out>, ah=26, aw=297, ay=315, ax=0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1004
#14 setGeometry (rect=..., this=0x827d718) at kernel/qlayoutitem.cpp:490
#15 QWidgetItem::setGeometry (this=0x827d718, rect=...) at kernel/qlayoutitem.cpp:436
#16 0x010ca296 in QBoxLayout::setGeometry (this=0x82d1580, r=...) at kernel/qboxlayout.cpp:868
#17 0x010e8bd2 in QLayoutPrivate::doResize (this=0x8287400, r=...) at kernel/qlayout.cpp:681
#18 0x010ea1a6 in QLayout::activate (this=0x82d1580) at kernel/qlayout.cpp:1259
#19 0x010ea5b1 in QLayout::widgetEvent (this=0x82d1580, e=0x8684bc8) at kernel/qlayout.cpp:752
#20 0x010b9d12 in notify_helper (e=0x8684bc8, receiver=0x827d700, this=0x8167520) at kernel/qapplication.cpp:4477
#21 QApplicationPrivate::notify_helper (this=0x8167520, receiver=0x827d700, e=0x8684bc8) at kernel/qapplication.cpp:4458
#22 0x010bf1a8 in QApplication::notify (this=0x8167520, receiver=0x827d700, e=0x8684bc8) at kernel/qapplication.cpp:4451
#23 0x00334681 in KApplication::notify (this=0xbfe9adac, receiver=0x827d700, event=0x8684bc8) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00b3219e in QCoreApplication::notifyInternal (this=0xbfe9adac, receiver=0x827d700, event=0x8684bc8) at kernel/qcoreapplication.cpp:787
#25 0x00b35f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x814de88) at kernel/qcoreapplication.cpp:1428
#27 0x00b360ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#28 0x00b606a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0x81668b0) at kernel/qeventdispatcher_glib.cpp:277
#30 0x03f5725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x03f57990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x03f57c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x00b60ada in QEventDispatcherGlib::processEvents (this=0x814ebc8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#34 0x01171e3a in QGuiEventDispatcherGlib::processEvents (this=0x814ebc8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00b311dd in QEventLoop::processEvents (this=0xbfe9ad04, flags=...) at kernel/qeventloop.cpp:149
#36 0x00b31421 in QEventLoop::exec (this=0xbfe9ad04, flags=...) at kernel/qeventloop.cpp:201
#37 0x00b3619d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#38 0x010b78f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#39 0x0804fc72 in main (argc=) at /build/buildd/skanlite-0.7/main.cpp:84

Possible duplicates by query: bug 277629, bug 269746, bug 265865.

Reported using DrKonqi
Comment 1 Saurabh Badhwar 2011-11-27 03:41:31 UTC
This bug looks related to bug 287630
Comment 2 Christoph Feck 2011-11-27 17:29:07 UTC
Not related, the backtrace is different (this one crashes in memory allocator, the other one in sane_dll_exit).
Comment 3 Kåre Särs 2011-11-27 18:16:43 UTC
Thanks Christoph, I was just about to comment on this :)

Thanks for the report.

The backtrace indicates that Skanlite(libksane) tries to allocate almost 430 MB for the image. I'm not sure why it would cause a crash, but we can check if that is the case by scanning again, but this time limit the scan area to something smaller that the whole scan area. 

I tried with my Epson scanner to scan full page with 2400 DPI, but got no problems...

/Kåre
Comment 4 Andrew Crouthamel 2018-09-22 02:01:11 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 Andrew Crouthamel 2018-10-27 04:15:45 UTC
Dear Bug Submitter,

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!