Application: skanlite (0.6) KDE Platform Version: 4.5.85 (4.6 Beta2) Qt Version: 4.7.1 Operating System: Linux 2.6.37-9-generic x86_64 Distribution: Ubuntu natty (development branch) -- Information about the crash: - What I was doing when the application crashed: Remove last area to scan (displays little (-) sign ) . Pressing the (-) crashes the program. Also i must say that there should be an option to disable that automatic detection of non-white areas -- handwritten dirty paper is pain in the ass to scan. The crash can be reproduced every time. -- Backtrace: Application: Skanlite (skanlite), signal: Segmentation fault [Current thread is 1 (Thread 0x7f6f0dcbe760 (LWP 2646))] Thread 5 (Thread 0x7f6efb6a2710 (LWP 2647)): #0 0xffffffffff60017b in ?? () #1 0x00007f6efb6a1ad0 in ?? () #2 0x00007fffa35da7b2 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0x7f6eeffab710 (LWP 2649)): #0 0x00007f6f0afbb203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f6ef01c4a0a in ?? () from /usr/lib/libavahi-common.so.3 #2 0x00007f6ef01c44fb in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3 #3 0x00007f6ef01c46e8 in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3 #4 0x00007f6ef01c491d in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3 #5 0x00007f6ef01c499c in ?? () from /usr/lib/libavahi-common.so.3 #6 0x00007f6f07d2e971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #7 0x00007f6f0afc794d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f6eecf50710 (LWP 2713)): #0 0x00007f6f0afbb203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f6f07866030 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f6f07866559 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f6f0b6eef26 in QEventDispatcherGlib::processEvents (this=0x1c093d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #4 0x00007f6f0b6c3362 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f6f0b6c359c in QEventLoop::exec (this=0x7f6eecf4fdc0, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f6f0b5da274 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #7 0x00007f6f0b6a582f in QInotifyFileSystemWatcherEngine::run (this=0x1bf6360) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f6f0b5dca2e in QThreadPrivate::start (arg=0x1bf6360) at thread/qthread_unix.cpp:285 #9 0x00007f6f07d2e971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #10 0x00007f6f0afc794d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f6efaea1710 (LWP 2714)): #0 0x00007f6f066e8290 in ?? () from /usr/lib/libgthread-2.0.so.0 #1 0x00007f6f0788e509 in g_thread_self () from /lib/libglib-2.0.so.0 #2 0x00007f6f07864540 in g_main_context_acquire () from /lib/libglib-2.0.so.0 #3 0x00007f6f07865e34 in ?? () from /lib/libglib-2.0.so.0 #4 0x00007f6f07866559 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x00007f6f0b6eef26 in QEventDispatcherGlib::processEvents (this=0x1c292a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #6 0x00007f6f0b6c3362 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f6f0b6c359c in QEventLoop::exec (this=0x7f6efaea0dd0, flags=...) at kernel/qeventloop.cpp:201 #8 0x00007f6f0b5da274 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #9 0x00007f6f0534313c in Herqq::Upnp::HControlPointThread::run() () from /usr/lib/libHUpnp.so.0 #10 0x00007f6f0b5dca2e in QThreadPrivate::start (arg=0x1c2a240) at thread/qthread_unix.cpp:285 #11 0x00007f6f07d2e971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #12 0x00007f6f0afc794d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f6f0dcbe760 (LWP 2646)): [KCrash Handler] #6 QGraphicsSceneFindItemBspTreeVisitor::visit (this=0x189bdf0, items=0x1a90f28) at graphicsview/qgraphicsscene_bsp.cpp:79 #7 0x00007f6f0c690d50 in QGraphicsSceneBspTree::climbTree (this=0x189f590, visitor=0x189bdf0, rect=..., index=<value optimized out>) at graphicsview/qgraphicsscene_bsp.cpp:252 #8 0x00007f6f0c690d50 in QGraphicsSceneBspTree::climbTree (this=0x189f590, visitor=0x189bdf0, rect=..., index=<value optimized out>) at graphicsview/qgraphicsscene_bsp.cpp:252 #9 0x00007f6f0c690cb0 in QGraphicsSceneBspTree::climbTree (this=0x189f590, visitor=0x189bdf0, rect=..., index=<value optimized out>) at graphicsview/qgraphicsscene_bsp.cpp:261 #10 0x00007f6f0c69141e in QGraphicsSceneBspTree::items (this=<value optimized out>, rect=<value optimized out>, onlyTopLevelItems=<value optimized out>) at graphicsview/qgraphicsscene_bsp.cpp:154 #11 0x00007f6f0c6942b1 in QGraphicsSceneBspTreeIndexPrivate::estimateItems (this=0x189f4e0, rect=<value optimized out>, order=Qt::AscendingOrder, onlyTopLevelItems=<value optimized out>) at graphicsview/qgraphicsscenebsptreeindex.cpp:387 #12 0x00007f6f0c694473 in QGraphicsSceneBspTreeIndex::estimateTopLevelItems (this=<value optimized out>, rect=<value optimized out>, order=<value optimized out>) at graphicsview/qgraphicsscenebsptreeindex.cpp:540 #13 0x00007f6f0c687e0a in QGraphicsScenePrivate::drawItems (this=0x189f1d0, painter=0x7fffa35a9ce0, viewTransform=0x7fffa35a9a70, exposedRegion=0x1887a60, widget=0x189e0d0) at graphicsview/qgraphicsscene.cpp:4733 #14 0x00007f6f0c6a4cd2 in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3469 #15 0x00007f6f0c0d29ee in QWidget::event (this=0x1887280, event=0x7fffa35aa600) at kernel/qwidget.cpp:8346 #16 0x00007f6f0c482a26 in QFrame::event (this=0x1887280, e=0x7fffa35aa600) at widgets/qframe.cpp:557 #17 0x00007f6f0c6a5f8b in QGraphicsView::viewportEvent (this=0x1887280, event=0x7fffa35aa600) at graphicsview/qgraphicsview.cpp:2864 #18 0x00007f6f0b6c4107 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x189e0d0, event=0x7fffa35aa600) at kernel/qcoreapplication.cpp:847 #19 0x00007f6f0c081b11 in QApplicationPrivate::notify_helper (this=0x1734780, receiver=0x189e0d0, e=0x7fffa35aa600) at kernel/qapplication.cpp:4441 #20 0x00007f6f0c08647a in QApplication::notify (this=<value optimized out>, receiver=0x189e0d0, e=0x7fffa35aa600) at kernel/qapplication.cpp:4324 #21 0x00007f6f0cdb20d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #22 0x00007f6f0b6c3f7c in QCoreApplication::notifyInternal (this=0x7fffa35adbb0, receiver=0x189e0d0, event=0x7fffa35aa600) at kernel/qcoreapplication.cpp:732 #23 0x00007f6f0c0cf82d in sendSpontaneousEvent (this=0x189ec60, pdev=0x1852978, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #24 QWidgetPrivate::drawWidget (this=0x189ec60, pdev=0x1852978, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5433 #25 0x00007f6f0c0d0432 in QWidgetPrivate::paintSiblingsRecursive (this=0x18875d0, pdev=0x1852978, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5640 #26 0x00007f6f0c0d02ea in QWidgetPrivate::paintSiblingsRecursive (this=0x18875d0, pdev=0x1852978, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5627 #27 0x00007f6f0c0d02ea in QWidgetPrivate::paintSiblingsRecursive (this=0x18875d0, pdev=0x1852978, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5627 #28 0x00007f6f0c0d02ea in QWidgetPrivate::paintSiblingsRecursive (this=0x18875d0, pdev=0x1852978, siblings=..., index=7, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5627 #29 0x00007f6f0c0d02ea in QWidgetPrivate::paintSiblingsRecursive (this=0x18875d0, pdev=0x1852978, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5627 #30 0x00007f6f0c0cf56c in QWidgetPrivate::drawWidget (this=0x18875d0, pdev=0x1852978, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5486 #31 0x00007f6f0c0d0432 in QWidgetPrivate::paintSiblingsRecursive (this=0x18fb120, pdev=0x1852978, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5640 #32 0x00007f6f0c0cf56c in QWidgetPrivate::drawWidget (this=0x18fb120, pdev=0x1852978, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5486 #33 0x00007f6f0c0d0432 in QWidgetPrivate::paintSiblingsRecursive (this=0x18d36f0, pdev=0x1852978, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5640 #34 0x00007f6f0c0d02ea in QWidgetPrivate::paintSiblingsRecursive (this=0x18d36f0, pdev=0x1852978, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5627 #35 0x00007f6f0c0cf56c in QWidgetPrivate::drawWidget (this=0x18d36f0, pdev=0x1852978, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5486 #36 0x00007f6f0c0d0432 in QWidgetPrivate::paintSiblingsRecursive (this=0x18816f0, pdev=0x1852978, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5640 #37 0x00007f6f0c0cf56c in QWidgetPrivate::drawWidget (this=0x18816f0, pdev=0x1852978, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5486 #38 0x00007f6f0c0d0432 in QWidgetPrivate::paintSiblingsRecursive (this=0x185a7f0, pdev=0x1852978, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5640 #39 0x00007f6f0c0cf56c in QWidgetPrivate::drawWidget (this=0x185a7f0, pdev=0x1852978, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1852910) at kernel/qwidget.cpp:5486 #40 0x00007f6f0c2936eb in QWidgetBackingStore::sync (this=0x1852910) at painting/qbackingstore.cpp:1333 #41 0x00007f6f0c0c5e80 in QWidgetPrivate::syncBackingStore (this=0x185a7f0) at kernel/qwidget.cpp:1816 #42 0x00007f6f0c0d2f0c in QWidget::event (this=0x185a610, event=0x1f351d0) at kernel/qwidget.cpp:8493 #43 0x00007f6f0c081b44 in QApplicationPrivate::notify_helper (this=0x1734780, receiver=0x185a610, e=0x1f351d0) at kernel/qapplication.cpp:4445 #44 0x00007f6f0c08647a in QApplication::notify (this=<value optimized out>, receiver=0x185a610, e=0x1f351d0) at kernel/qapplication.cpp:4324 #45 0x00007f6f0cdb20d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #46 0x00007f6f0b6c3f7c in QCoreApplication::notifyInternal (this=0x7fffa35adbb0, receiver=0x185a610, event=0x1f351d0) at kernel/qcoreapplication.cpp:732 #47 0x00007f6f0b6c7715 in sendEvent (receiver=0x185a610, event_type=77, data=0x171a550) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x185a610, event_type=77, data=0x171a550) at kernel/qcoreapplication.cpp:1373 #49 0x00007f6f0c67ecda in dispatchPendingUpdateRequests (this=0x189f1d0) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:189 #50 QGraphicsScenePrivate::_q_processDirtyItems (this=0x189f1d0) at graphicsview/qgraphicsscene.cpp:510 #51 0x00007f6f0c67f0fa in QGraphicsScene::qt_metacall (this=0x189f110, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x1f39fc0) at .moc/release-shared/moc_qgraphicsscene.cpp:130 #52 0x00007f6f0b6d7f2a in QObject::event (this=0x189f110, e=<value optimized out>) at kernel/qobject.cpp:1219 #53 0x00007f6f0c68b630 in QGraphicsScene::event (this=0x189f110, event=0x1eeb180) at graphicsview/qgraphicsscene.cpp:3544 #54 0x00007f6f0c081b44 in QApplicationPrivate::notify_helper (this=0x1734780, receiver=0x189f110, e=0x1eeb180) at kernel/qapplication.cpp:4445 #55 0x00007f6f0c08647a in QApplication::notify (this=<value optimized out>, receiver=0x189f110, e=0x1eeb180) at kernel/qapplication.cpp:4324 #56 0x00007f6f0cdb20d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #57 0x00007f6f0b6c3f7c in QCoreApplication::notifyInternal (this=0x7fffa35adbb0, receiver=0x189f110, event=0x1eeb180) at kernel/qcoreapplication.cpp:732 #58 0x00007f6f0b6c7715 in sendEvent (receiver=0x0, event_type=0, data=0x171a550) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #59 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x171a550) at kernel/qcoreapplication.cpp:1373 #60 0x00007f6f0b6eed33 in sendPostedEvents (s=0x1738440) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #61 postEventSourceDispatch (s=0x1738440) at kernel/qeventdispatcher_glib.cpp:277 #62 0x00007f6f07865add in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #63 0x00007f6f078662c8 in ?? () from /lib/libglib-2.0.so.0 #64 0x00007f6f07866559 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #65 0x00007f6f0b6eeecf in QEventDispatcherGlib::processEvents (this=0x1719c00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #66 0x00007f6f0c1279fe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #67 0x00007f6f0b6c3362 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #68 0x00007f6f0b6c359c in QEventLoop::exec (this=0x7fffa35adb40, flags=...) at kernel/qeventloop.cpp:201 #69 0x00007f6f0b6c79bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #70 0x000000000040a2ac in _start () Reported using DrKonqi
That is a problem :( I can not reproduce the problem here. I have Qt 4.7.0 A workaround until I find the problem is the clear selections action you can find from the preview context-menu.
Created attachment 54851 [details] Image showing the status before removing areas
Hello! And thanks for quick reply! I tried this again, and even after boot etc the bug happens every time Here is more detail: - Start skanlite from command line - Preview scan ( in my scan target there is 3 larger and 1 small area) - Set scan mode to gray - Set scan resolution to 300DPI (from max 600DPI) - Remove other than smallest area - Zoom in - Remove last => crash If you do the same, but first add the real target area (whole upper page) and then remove the last no crash occurs. See attached image. Oh, i just found out (after your comment) that there exists right-click content menu. That seems to work ok. Another feature i would love to see is to somehow disable the automatic detection by default -- now i have to every time unselect the selected areas before scanning (or am i just missing something here). Thanks! Still the best lite-scanner software i have found!
*** Bug 266557 has been marked as a duplicate of this bug. ***
As bug 266557 has the same problem with an older Qt that Qt theory fails :( I still can not reproduce... What scanners/backends do you have?
The zoom in seems to be essential there -- i tried to reproduce with no luck until i zoomed in. Here is valgrind output: QImage::pixel: coordinate (65,877) out of range QImage::pixel: coordinate (66,877) out of range Skanlite(2247)/kio (Slave) KIO::Slave::kill: killing slave pid 2380 ( "file://" ) Skanlite(2247)/kio (Slave) KIO::Slave::kill: killing slave pid 2379 ( "trash://" ) ==2247== Invalid read of size 8 ==2247== at 0x655D13B: QGraphicsSceneFindItemBspTreeVisitor::visit(QList<QGraphicsItem*>*) (qscopedpointer.h:113) ==2247== by 0x655BFFF: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:261) ==2247== by 0x655C09F: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:252) ==2247== by 0x655BFFF: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:261) ==2247== by 0x655C09F: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:252) ==2247== by 0x655C76D: QGraphicsSceneBspTree::items(QRectF const&, bool) const (qgraphicsscene_bsp.cpp:154) ==2247== by 0x655F600: QGraphicsSceneBspTreeIndexPrivate::estimateItems(QRectF const&, Qt::SortOrder, bool) (qgraphicsscenebsptreeindex.cpp:387) ==2247== by 0x655F7C2: QGraphicsSceneBspTreeIndex::estimateTopLevelItems(QRectF const&, Qt::SortOrder) const (qgraphicsscenebsptreeindex.cpp:540) ==2247== by 0x6553169: QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) (qgraphicsscene.cpp:4733) ==2247== by 0x6570031: QGraphicsView::paintEvent(QPaintEvent*) (qgraphicsview.cpp:3469) ==2247== by 0x5FA0F1D: QWidget::event(QEvent*) (qwidget.cpp:8346) ==2247== by 0x634FD05: QFrame::event(QEvent*) (qframe.cpp:557) ==2247== Address 0x1a519e08 is 8 bytes inside a block of size 24 free'd ==2247== at 0x4C26D7F: operator delete(void*) (vg_replace_malloc.c:387) ==2247== by 0x52EF9A8: ??? (in /usr/lib/libksane.so.0.2.0) ==2247== by 0x52FEDCD: ??? (in /usr/lib/libksane.so.0.2.0) ==2247== by 0x52FF42B: ??? (in /usr/lib/libksane.so.0.2.0) ==2247== by 0x706FC17: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3280) ==2247== by 0x65C2961: QAbstractButton::clicked(bool) (moc_qabstractbutton.cpp:206) ==2247== by 0x630DACD: QAbstractButtonPrivate::emitClicked() (qabstractbutton.cpp:546) ==2247== by 0x630F04A: QAbstractButtonPrivate::click() (qabstractbutton.cpp:539) ==2247== by 0x630F2BB: QAbstractButton::mouseReleaseEvent(QMouseEvent*) (qabstractbutton.cpp:1121) ==2247== by 0x5FA0F6B: QWidget::event(QEvent*) (qwidget.cpp:8200) ==2247== by 0x5F50043: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4445) ==2247== by 0x5F55382: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4006) ==2247== ==2247== Invalid read of size 8 ==2247== at 0x655D13F: QGraphicsSceneFindItemBspTreeVisitor::visit(QList<QGraphicsItem*>*) (qgraphicsscene_bsp.cpp:79) ==2247== by 0x655BFFF: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:261) ==2247== by 0x655C09F: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:252) ==2247== by 0x655BFFF: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:261) ==2247== by 0x655C09F: QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&, int) const (qgraphicsscene_bsp.cpp:252) ==2247== by 0x655C76D: QGraphicsSceneBspTree::items(QRectF const&, bool) const (qgraphicsscene_bsp.cpp:154) ==2247== by 0x655F600: QGraphicsSceneBspTreeIndexPrivate::estimateItems(QRectF const&, Qt::SortOrder, bool) (qgraphicsscenebsptreeindex.cpp:387) ==2247== by 0x655F7C2: QGraphicsSceneBspTreeIndex::estimateTopLevelItems(QRectF const&, Qt::SortOrder) const (qgraphicsscenebsptreeindex.cpp:540) ==2247== by 0x6553169: QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) (qgraphicsscene.cpp:4733) ==2247== by 0x6570031: QGraphicsView::paintEvent(QPaintEvent*) (qgraphicsview.cpp:3469) ==2247== by 0x5FA0F1D: QWidget::event(QEvent*) (qwidget.cpp:8346) ==2247== by 0x634FD05: QFrame::event(QEvent*) (qframe.cpp:557) ==2247== Address 0x80 is not stack'd, malloc'd or (recently) free'd ==2247== KCrash: Application 'skanlite' crashing... QSocketNotifier: Invalid socket 10 and type 'Read', disabling... ==2247== Thread 2: ==2247== Invalid read of size 2 ==2247== at 0x70854C7: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:92) ==2247== by 0xAE568A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57191: ??? (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0x7085AA5: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:417) ==2247== by 0x7059F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149) ==2247== by 0x705A14B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201) ==2247== by 0x6F71223: QThread::exec() (qthread.cpp:490) ==2247== by 0x703C46E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248) ==2247== by 0x6F739DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285) ==2247== by 0xA9E3D8B: start_thread (pthread_create.c:304) ==2247== by 0x777539C: clone (clone.S:112) ==2247== Address 0x125e9eb6 is 6 bytes inside a block of size 16 free'd ==2247== at 0x4C26D7F: operator delete(void*) (vg_replace_malloc.c:387) ==2247== by 0x70854C6: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:92) ==2247== by 0xAE568A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57191: ??? (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0x7085AA5: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:417) ==2247== by 0x7059F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149) ==2247== by 0x705A14B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201) ==2247== by 0x6F71223: QThread::exec() (qthread.cpp:490) ==2247== by 0x703C46E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248) ==2247== by 0x6F739DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285) ==2247== by 0xA9E3D8B: start_thread (pthread_create.c:304) ==2247== ==2247== Invalid read of size 2 ==2247== at 0x70854CB: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:83) ==2247== by 0xAE568A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57191: ??? (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0x7085AA5: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:417) ==2247== by 0x7059F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149) ==2247== by 0x705A14B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201) ==2247== by 0x6F71223: QThread::exec() (qthread.cpp:490) ==2247== by 0x703C46E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248) ==2247== by 0x6F739DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285) ==2247== by 0xA9E3D8B: start_thread (pthread_create.c:304) ==2247== by 0x777539C: clone (clone.S:112) ==2247== Address 0x125e9eb4 is 4 bytes inside a block of size 16 free'd ==2247== at 0x4C26D7F: operator delete(void*) (vg_replace_malloc.c:387) ==2247== by 0x70854C6: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:92) ==2247== by 0xAE568A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57191: ??? (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0xAE57698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0) ==2247== by 0x7085AA5: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:417) ==2247== by 0x7059F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149) ==2247== by 0x705A14B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201) ==2247== by 0x6F71223: QThread::exec() (qthread.cpp:490) ==2247== by 0x703C46E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248) ==2247== by 0x6F739DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285) ==2247== by 0xA9E3D8B: start_thread (pthread_create.c:304) ==2247== KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit sock_file=/home/sundberg/.kde/socket-hp-k64/kdeinit4__0 QSocketNotifier: Invalid socket 22 and type 'Read', disabling... [1]+ Stopped valgrind skanlite sundberg@hp-k64:~$
I have to take my words back. I tried to reproduce with debug symbols installed, but with no luck. Here is full valgrind stderr output: http://susundberg.pastebin.com/c35wQ2KL I am using printer + scanner HP Deskjet F380.
Thanks for the Valgrind logs. I'm afraid I could not find any leads tho :( I was about to suggest to compile libksane and Skanlite, but if installing the debug symbols prevents the crash you will probably not be able to reproduce the crash with the compiled versions... There could be a binary compatibility problem... One other thing that you could test is to use the test backend, add selections and then remove them. Does that trigger the crash? 'skanlite -d test' will start Skanlite with the test backend. libsane-hpaio.so did have quite a lot of valgrind warnings...
*** Bug 293406 has been marked as a duplicate of this bug. ***
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!
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!