Bug 279833 - scangui crashed when zooming out
Summary: scangui crashed when zooming out
Status: RESOLVED WORKSFORME
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2011-08-10 18:07 UTC by erik6350
Modified: 2018-10-27 03:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.91 KB, text/plain)
2011-08-10 18:12 UTC, erik6350
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erik6350 2011-08-10 18:07:07 UTC
Application: scangui (1.9.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0-1.slh.5-aptosid-686 i686
Distribution: Debian GNU/Linux 5.0.8 (lenny)

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

1. I wanted to deselect areas, that scangui should scan
2 While zooming out, the window disappeared and the error message has been displayed

-- Backtrace:
Application: Bilder scannen (scangui), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4b0bad0 (LWP 6070))]

Thread 2 (Thread 0xb1047b70 (LWP 6072)):
#0  0xb781c424 in __kernel_vsyscall ()
#1  0xb5ad1f86 in __poll (fds=0xb5b68ff4, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb10613e2 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#3  0xb1060dbc in avahi_simple_poll_run () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#4  0xb1061028 in avahi_simple_poll_iterate () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#5  0xb10612c0 in avahi_simple_poll_loop () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#6  0xb1061376 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#7  0xb52bcc39 in start_thread (arg=0xb1047b70) at pthread_create.c:304
#8  0xb5adf96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4b0bad0 (LWP 6070)):
[KCrash Handler]
#7  0xb6afb56a in QGraphicsSceneFindItemBspTreeVisitor::visit (this=0xb1b109d0, items=0x9250648) at graphicsview/qgraphicsscene_bsp.cpp:79
#8  0xb6af9ffc in QGraphicsSceneBspTree::climbTree (this=0xb1b13cd8, visitor=0xb1b109d0, rect=..., index=51) at graphicsview/qgraphicsscene_bsp.cpp:247
#9  0xb6afa078 in QGraphicsSceneBspTree::climbTree (this=0xb1b13cd8, visitor=0xb1b109d0, rect=..., index=25) at graphicsview/qgraphicsscene_bsp.cpp:261
#10 0xb6afa036 in QGraphicsSceneBspTree::climbTree (this=0xb1b13cd8, visitor=0xb1b109d0, rect=..., index=5) at graphicsview/qgraphicsscene_bsp.cpp:252
#11 0xb6afa036 in QGraphicsSceneBspTree::climbTree (this=0xb1b13cd8, visitor=0xb1b109d0, rect=..., index=0) at graphicsview/qgraphicsscene_bsp.cpp:252
#12 0xb6afa873 in QGraphicsSceneBspTree::items (this=0xb1b13cd8, rect=..., onlyTopLevelItems=true) at graphicsview/qgraphicsscene_bsp.cpp:154
#13 0xb6afd535 in QGraphicsSceneBspTreeIndexPrivate::estimateItems (this=0xb1b13c78, rect=..., order=Qt::AscendingOrder, onlyTopLevelItems=true) at graphicsview/qgraphicsscenebsptreeindex.cpp:387
#14 0xb6afd753 in QGraphicsSceneBspTreeIndex::estimateTopLevelItems (this=0xb1b13938, rect=..., order=Qt::AscendingOrder) at graphicsview/qgraphicsscenebsptreeindex.cpp:540
#15 0xb6af523c in QGraphicsScenePrivate::drawItems (this=0xb1b13a80, painter=0xbfa219c8, viewTransform=0xbfa216dc, exposedRegion=0x91bd518, widget=0xb1b135a0) at graphicsview/qgraphicsscene.cpp:4716
#16 0xb6b117d6 in QGraphicsView::paintEvent (this=0x91d07b0, event=0x0) at graphicsview/qgraphicsview.cpp:3469
#17 0xb64b3cb9 in QWidget::event (this=0x91d07b0, event=0xbfa22084) at kernel/qwidget.cpp:8405
#18 0xb68b4d45 in QFrame::event (this=0x91d07b0, e=0xbfa22084) at widgets/qframe.cpp:557
#19 0xb6946e81 in QAbstractScrollArea::viewportEvent (this=0x91d07b0, e=0xbfa22084) at widgets/qabstractscrollarea.cpp:1043
#20 0xb6b12b8c in QGraphicsView::viewportEvent (this=0x91d07b0, event=0xbfa22084) at graphicsview/qgraphicsview.cpp:2864
#21 0xb6949606 in viewportEvent (this=0xb1b11918, o=0xb1b135a0, e=0xbfa22084) at widgets/qabstractscrollarea_p.h:100
#22 eventFilter (this=0xb1b11918, o=0xb1b135a0, e=0xbfa22084) at widgets/qabstractscrollarea_p.h:116
#23 QAbstractScrollAreaFilter::eventFilter (this=0xb1b11918, o=0xb1b135a0, e=0xbfa22084) at widgets/qabstractscrollarea_p.h:115
#24 0xb5e0b266 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x91377d0, receiver=0xb1b135a0, event=0xbfa22084) at kernel/qcoreapplication.cpp:846
#25 0xb6459772 in notify_helper (this=0x91377d0, receiver=0xb1b135a0, e=0xbfa22084) at kernel/qapplication.cpp:4463
#26 QApplicationPrivate::notify_helper (this=0x91377d0, receiver=0xb1b135a0, e=0xbfa22084) at kernel/qapplication.cpp:4439
#27 0xb645ebe8 in QApplication::notify (this=0x91377d0, receiver=0xb1b135a0, e=0xbfa22084) at kernel/qapplication.cpp:4432
#28 0xb6fc4571 in KApplication::notify (this=0xbfa2437c, receiver=0xb1b135a0, event=0xbfa22084) at ../../kdeui/kernel/kapplication.cpp:311
#29 0xb5e0b0ce in QCoreApplication::notifyInternal (this=0xbfa2437c, receiver=0xb1b135a0, event=0xbfa22084) at kernel/qcoreapplication.cpp:731
#30 0xb64b09ec in sendSpontaneousEvent (this=0xb1b13628, pdev=0x9224d8c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 QWidgetPrivate::drawWidget (this=0xb1b13628, pdev=0x9224d8c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5492
#32 0xb64b1714 in QWidgetPrivate::paintSiblingsRecursive (this=0x91bd1c8, pdev=0x9224d8c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5699
#33 0xb64b15da in QWidgetPrivate::paintSiblingsRecursive (this=0x91bd1c8, pdev=0x9224d8c, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5686
#34 0xb64b15da in QWidgetPrivate::paintSiblingsRecursive (this=0x91bd1c8, pdev=0x9224d8c, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5686
#35 0xb64b15da in QWidgetPrivate::paintSiblingsRecursive (this=0x91bd1c8, pdev=0x9224d8c, siblings=..., index=7, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5686
#36 0xb64b15da in QWidgetPrivate::paintSiblingsRecursive (this=0x91bd1c8, pdev=0x9224d8c, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5686
#37 0xb64b15da in QWidgetPrivate::paintSiblingsRecursive (this=0x91bd1c8, pdev=0x9224d8c, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5686
#38 0xb64b15da in QWidgetPrivate::paintSiblingsRecursive (this=0x91bd1c8, pdev=0x9224d8c, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5686
#39 0xb64b0748 in QWidgetPrivate::drawWidget (this=0x91bd1c8, pdev=0x9224d8c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5545
#40 0xb64b1714 in QWidgetPrivate::paintSiblingsRecursive (this=0xb1bbf228, pdev=0x9224d8c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5699
#41 0xb64b0748 in QWidgetPrivate::drawWidget (this=0xb1bbf228, pdev=0x9224d8c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5545
#42 0xb64b1714 in QWidgetPrivate::paintSiblingsRecursive (this=0x91e3ec8, pdev=0x9224d8c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5699
#43 0xb64b15da in QWidgetPrivate::paintSiblingsRecursive (this=0x91e3ec8, pdev=0x9224d8c, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5686
#44 0xb64b0748 in QWidgetPrivate::drawWidget (this=0x91e3ec8, pdev=0x9224d8c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5545
#45 0xb64b1714 in QWidgetPrivate::paintSiblingsRecursive (this=0x91aac18, pdev=0x9224d8c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5699
#46 0xb64b0748 in QWidgetPrivate::drawWidget (this=0x91aac18, pdev=0x9224d8c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5545
#47 0xb64b1714 in QWidgetPrivate::paintSiblingsRecursive (this=0x936e410, pdev=0x9224d8c, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5699
#48 0xb64b0748 in QWidgetPrivate::drawWidget (this=0x936e410, pdev=0x9224d8c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x9254e80) at kernel/qwidget.cpp:5545
#49 0xb669789e in QWidgetBackingStore::sync (this=0x9254e80) at painting/qbackingstore.cpp:1333
#50 0xb64a623b in QWidgetPrivate::syncBackingStore (this=0x936e410) at kernel/qwidget.cpp:1842
#51 0xb64b4865 in QWidget::event (this=0x92411d0, event=0xb1b3d570) at kernel/qwidget.cpp:8552
#52 0xb64597a4 in notify_helper (this=0x91377d0, receiver=0x92411d0, e=0xb1b3d570) at kernel/qapplication.cpp:4467
#53 QApplicationPrivate::notify_helper (this=0x91377d0, receiver=0x92411d0, e=0xb1b3d570) at kernel/qapplication.cpp:4439
#54 0xb645ebe8 in QApplication::notify (this=0x91377d0, receiver=0x92411d0, e=0xb1b3d570) at kernel/qapplication.cpp:4432
#55 0xb6fc4571 in KApplication::notify (this=0xbfa2437c, receiver=0x92411d0, event=0xb1b3d570) at ../../kdeui/kernel/kapplication.cpp:311
#56 0xb5e0b0ce in QCoreApplication::notifyInternal (this=0xbfa2437c, receiver=0x92411d0, event=0xb1b3d570) at kernel/qcoreapplication.cpp:731
#57 0xb5e0e894 in sendEvent (receiver=0x0, event_type=0, data=0x91114e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x91114e0) at kernel/qcoreapplication.cpp:1372
#59 0xb5e0e9dc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#60 0xb5e38ec4 in sendPostedEvents (s=0x9132700) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#61 postEventSourceDispatch (s=0x9132700) at kernel/qeventdispatcher_glib.cpp:277
#62 0xb5104252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#63 0xb5104a30 in ?? () from /lib/libglib-2.0.so.0
#64 0xb5104ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#65 0xb5e392f7 in QEventDispatcherGlib::processEvents (this=0x9112220, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#66 0xb650e6fa in QGuiEventDispatcherGlib::processEvents (this=0x9112220, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#67 0xb5e0a0ed in QEventLoop::processEvents (this=0xbfa242f4, flags=...) at kernel/qeventloop.cpp:149
#68 0xb5e0a331 in QEventLoop::exec (this=0xbfa242f4, flags=...) at kernel/qeventloop.cpp:201
#69 0xb5e0ea8a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#70 0xb6457624 in QApplication::exec () at kernel/qapplication.cpp:3741
#71 0x0804d810 in ?? ()
#72 0xb5a29e46 in __libc_start_main (main=0x804d590, argc=5, ubp_av=0xbfa24494, init=0x80511c0 <__libc_csu_init>, fini=0x80511b0 <__libc_csu_fini>, rtld_fini=0xb782b2f0, stack_end=0xbfa2448c) at libc-start.c:228
#73 0x0804d881 in _start ()

Reported using DrKonqi
Comment 1 erik6350 2011-08-10 18:12:13 UTC
Created attachment 62732 [details]
New crash information added by DrKonqi

scangui (1.9.0) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:

Add: This error appears everytime after zooming out of a deep zoom level

-- Backtrace (Reduced):
#7  0xb6aa1964 in QGraphicsItem::parentItem (this=0x7d000) at graphicsview/qgraphicsitem.cpp:1564
#8  0xb6aa1992 in QGraphicsItem::topLevelItem (this=0x88acf30) at graphicsview/qgraphicsitem.cpp:1577
#9  0xb6af3579 in QGraphicsSceneFindItemBspTreeVisitor::visit (this=0x88048c0, items=0x886a520) at graphicsview/qgraphicsscene_bsp.cpp:80
#10 0xb6af1ffc in QGraphicsSceneBspTree::climbTree (this=0x88047c8, visitor=0x88048c0, rect=..., index=51) at graphicsview/qgraphicsscene_bsp.cpp:247
#11 0xb6af2078 in QGraphicsSceneBspTree::climbTree (this=0x88047c8, visitor=0x88048c0, rect=..., index=25) at graphicsview/qgraphicsscene_bsp.cpp:261
Comment 2 Kåre Särs 2011-08-11 12:49:21 UTC
Hi,

The bug is quite hard to figure out :(

What scanner do you have?

Can you run scangui from a terminal with sane debug enabled
example:
SANE_DEBUG_EPSON2=17 scangui

EPSON2 is here used as an example. Replace it with the proper one for your scanner.
Comment 3 Kåre Särs 2011-08-11 12:50:51 UTC
PS.

Do you get the same crash if you remove the selection throught the right click context menu?
Comment 4 erik6350 2011-08-11 16:42:26 UTC
No, because I don't have to zoom in then (scangui selects particles on my scanner sometimes)

I have an HP PSC 750 printer
Comment 5 erik6350 2011-08-11 16:50:21 UTC
strange... I cannot reproduce the error with other pictures anymore.
Comment 6 Andrew Crouthamel 2018-09-22 02:09:00 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 7 Andrew Crouthamel 2018-10-27 03:36:26 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!