Bug 293406

Summary: scanlite crashed while deselecting areas to scan
Product: [Applications] Skanlite Reporter: adamcrume
Component: generalAssignee: Kåre Särs <kare.sars>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description adamcrume 2012-02-06 01:31:25 UTC
Application: skanlite (0.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-38-generic x86_64
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
After loading the preview, I zoomed in, then started deselecting areas to scan.  The crash did not happen on the first or the last area, but one in the middle.

The crash does not seem to be reproducible.

 -- Backtrace:
Application: Skanlite (skanlite), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f536adc2760 (LWP 5130))]

Thread 3 (Thread 0x7f535ace8700 (LWP 5131)):
#0  0x00007fffb4bff904 in clock_gettime ()
#1  0x00007f53637ef09f in *__GI_clock_gettime (clock_id=1, tp=0x7f535ace7b00) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f5368a6599f in qt_gettime () at kernel/qcore_unix.cpp:111
#3  0x00007f5368a6a6ad in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340
#4  0x00007f5368a6a6d5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#5  0x00007f5368a6875d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f535ace7c1c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f5368a68805 in timerSourcePrepare (source=0x1, timeout=0x7f535ace7b00) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f5364d8deb1 in IA__g_main_context_prepare (context=0xd0a250, priority=<value optimized out>) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2280
#8  0x00007f5364d8e318 in g_main_context_iterate (context=0xd0a250, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2571
#9  0x00007f5364d8e8fc in IA__g_main_context_iteration (context=0xd0a250, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#10 0x00007f5368a68566 in QEventDispatcherGlib::processEvents (this=0xd04f30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007f5368a3d992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#12 0x00007f5368a3dd6c in QEventLoop::exec (this=0x7f535ace7db0, flags=) at kernel/qeventloop.cpp:201
#13 0x00007f5368947d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007f5368a1e178 in QInotifyFileSystemWatcherEngine::run (this=0xce9a20) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007f536894a775 in QThreadPrivate::start (arg=0xce9a20) at thread/qthread_unix.cpp:248
#16 0x00007f53686ba9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f536810370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f534ba39700 (LWP 5133)):
#0  0x00007f53680f6f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f534bc534aa in ?? () from /usr/lib/libavahi-common.so.3
#2  0x00007f534bc51ff2 in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#3  0x00007f534bc5277d in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#4  0x00007f534bc527ad in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#5  0x00007f534bc532fc in ?? () from /usr/lib/libavahi-common.so.3
#6  0x00007f53686ba9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f536810370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f536adc2760 (LWP 5130)):
[KCrash Handler]
#5  QGraphicsSceneFindItemBspTreeVisitor::visit (this=0xcfcab0, items=0xdef638) at graphicsview/qgraphicsscene_bsp.cpp:79
#6  0x00007f53699e0be0 in QGraphicsSceneBspTree::climbTree (this=0xcfe990, visitor=0xcfcab0, rect=..., index=<value optimized out>) at graphicsview/qgraphicsscene_bsp.cpp:261
#7  0x00007f53699e0be0 in QGraphicsSceneBspTree::climbTree (this=0xcfe990, visitor=0xcfcab0, rect=..., index=<value optimized out>) at graphicsview/qgraphicsscene_bsp.cpp:261
#8  0x00007f53699e110e in QGraphicsSceneBspTree::items (this=0xe51ae8, rect=..., onlyTopLevelItems=<value optimized out>) at graphicsview/qgraphicsscene_bsp.cpp:154
#9  0x00007f53699e4659 in QGraphicsSceneBspTreeIndexPrivate::estimateItems (this=0xcfe8e0, rect=<value optimized out>, order=Qt::AscendingOrder, onlyTopLevelItems=24)
    at graphicsview/qgraphicsscenebsptreeindex.cpp:387
#10 0x00007f53699e4843 in QGraphicsSceneBspTreeIndex::estimateTopLevelItems (this=<value optimized out>, rect=..., order=7) at graphicsview/qgraphicsscenebsptreeindex.cpp:540
#11 0x00007f53699d5be4 in QGraphicsScenePrivate::drawItems (this=0xce2420, painter=0x7fffb4bbdb50, viewTransform=0x7fffb4bbd900, exposedRegion=0xccf0c0, widget=0xcb5680)
    at graphicsview/qgraphicsscene.cpp:4617
#12 0x00007f53699f5465 in QGraphicsView::paintEvent (this=0xd06050, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3393
#13 0x00007f5369409162 in QWidget::event (this=0xd06050, event=0x7fffb4bbe480) at kernel/qwidget.cpp:8144
#14 0x00007f53697b04e6 in QFrame::event (this=0xd06050, e=0x7fffb4bbe480) at widgets/qframe.cpp:557
#15 0x00007f53699f1f0b in QGraphicsView::viewportEvent (this=0xd06050, event=0x7fffb4bbe480) at graphicsview/qgraphicsview.cpp:2787
#16 0x00007f5368a3e487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xcb5680, event=0x7fffb4bbe480) at kernel/qcoreapplication.cpp:819
#17 0x00007f53693b31fc in QApplicationPrivate::notify_helper (this=0xc5f900, receiver=0xcb5680, e=0x7fffb4bbe480) at kernel/qapplication.cpp:4296
#18 0x00007f53693b96fb in QApplication::notify (this=0x7fffb4bbff60, receiver=0xcb5680, e=0x7fffb4bbe480) at kernel/qapplication.cpp:4183
#19 0x00007f536a0bea16 in KApplication::notify (this=0x7fffb4bbff60, receiver=0xcb5680, event=0x7fffb4bbe480) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f5368a3f06c in QCoreApplication::notifyInternal (this=0x7fffb4bbff60, receiver=0xcb5680, event=0x7fffb4bbe480) at kernel/qcoreapplication.cpp:704
#21 0x00007f53694117dd in QCoreApplication::sendSpontaneousEvent (this=0xcfd530, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0xd9df20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 QWidgetPrivate::drawWidget (this=0xcfd530, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0xd9df20)
    at kernel/qwidget.cpp:5339
#23 0x00007f53695cb866 in QWidgetBackingStore::sync (this=0xd9df20) at painting/qbackingstore.cpp:1283
#24 0x00007f5369402b60 in QWidgetPrivate::syncBackingStore (this=0xda5ce0) at kernel/qwidget.cpp:1672
#25 0x00007f5369409865 in QWidget::event (this=0xda6c10, event=0xcba030) at kernel/qwidget.cpp:8291
#26 0x00007f53693b322c in QApplicationPrivate::notify_helper (this=0xc5f900, receiver=0xda6c10, e=0xcba030) at kernel/qapplication.cpp:4300
#27 0x00007f53693b96fb in QApplication::notify (this=0x7fffb4bbff60, receiver=0xda6c10, e=0xcba030) at kernel/qapplication.cpp:4183
#28 0x00007f536a0bea16 in KApplication::notify (this=0x7fffb4bbff60, receiver=0xda6c10, event=0xcba030) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f5368a3f06c in QCoreApplication::notifyInternal (this=0x7fffb4bbff60, receiver=0xda6c10, event=0xcba030) at kernel/qcoreapplication.cpp:704
#30 0x00007f5368a417e7 in QCoreApplication::sendEvent (receiver=0xda6c10, event_type=<value optimized out>, data=0xc47c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0xda6c10, event_type=<value optimized out>, data=0xc47c30) at kernel/qcoreapplication.cpp:1345
#32 0x00007f53699dcb7a in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0xce2420) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:184
#33 QGraphicsScenePrivate::_q_processDirtyItems (this=0xce2420) at graphicsview/qgraphicsscene.cpp:509
#34 0x00007f53699dd102 in QGraphicsScene::qt_metacall (this=0xcfd0f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xf48750) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#35 0x00007f5368a4ed49 in QObject::event (this=0xcfd0f0, e=0xf37000) at kernel/qobject.cpp:1248
#36 0x00007f53699d8d80 in QGraphicsScene::event (this=0xcfd0f0, event=0xf37000) at graphicsview/qgraphicsscene.cpp:3500
#37 0x00007f53693b322c in QApplicationPrivate::notify_helper (this=0xc5f900, receiver=0xcfd0f0, e=0xf37000) at kernel/qapplication.cpp:4300
#38 0x00007f53693b96fb in QApplication::notify (this=0x7fffb4bbff60, receiver=0xcfd0f0, e=0xf37000) at kernel/qapplication.cpp:4183
#39 0x00007f536a0bea16 in KApplication::notify (this=0x7fffb4bbff60, receiver=0xcfd0f0, event=0xf37000) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x00007f5368a3f06c in QCoreApplication::notifyInternal (this=0x7fffb4bbff60, receiver=0xcfd0f0, event=0xf37000) at kernel/qcoreapplication.cpp:704
#41 0x00007f5368a417e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xc47c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xc47c30) at kernel/qcoreapplication.cpp:1345
#43 0x00007f5368a689d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#45 0x00007f5364d8a8c2 in g_main_dispatch (context=0xc62520) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#46 IA__g_main_context_dispatch (context=0xc62520) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#47 0x00007f5364d8e748 in g_main_context_iterate (context=0xc62520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#48 0x00007f5364d8e8fc in IA__g_main_context_iteration (context=0xc62520, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#49 0x00007f5368a68513 in QEventDispatcherGlib::processEvents (this=0xc47770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#50 0x00007f536946346e in QGuiEventDispatcherGlib::processEvents (this=0xe51ae8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f5368a3d992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x00007f5368a3dd6c in QEventLoop::exec (this=0x7fffb4bbfeb0, flags=) at kernel/qeventloop.cpp:201
#53 0x00007f5368a41aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0x000000000040964e in _start ()

This bug may be a duplicate of or related to bug 260281.

Possible duplicates by query: bug 266557.

Reported using DrKonqi
Comment 1 Kåre Särs 2012-02-06 08:59:19 UTC
Can you try a newer version of Skanlite and KDE?

*** This bug has been marked as a duplicate of bug 260281 ***