Bug 390883 - Ksnapshot crashes on SaveAs
Summary: Ksnapshot crashes on SaveAs
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksnapshot
Classification: Applications
Component: general (show other bugs)
Version: 0.8.2
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 04:19 UTC by jay
Modified: 2018-09-04 04:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jay 2018-02-22 04:19:54 UTC
Application: ksnapshot (0.8.2)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-139-generic x86_64
Distribution: Ubuntu 14.04.5 LTS

-- Information about the crash:
- What I was doing when the application crashed:  Looking at my desktop then selected
printscreen then choose "SaveAs".
    At this time the application crashed and put me into the report generator.

The crash can be reproduced every time.

-- Backtrace:
Application: KSnapshot (ksnapshot), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3f38f587c0 (LWP 2471))]

Thread 2 (Thread 0x7f3f2685b700 (LWP 2472)):
#0  0x00007f3f3298cf91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3f3298d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f361db7be in QEventDispatcherGlib::processEvents (this=0x7f3f200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#3  0x00007f3f361ad0af in QEventLoop::processEvents (this=this@entry=0x7f3f2685ade0, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f3f361ad3a5 in QEventLoop::exec (this=this@entry=0x7f3f2685ade0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f3f360a9c5f in QThread::exec (this=this@entry=0x781e50) at thread/qthread.cpp:537
#6  0x00007f3f3618e823 in QInotifyFileSystemWatcherEngine::run (this=0x781e50) at io/qfilesystemwatcher_inotify.cpp:265
#7  0x00007f3f360ac32f in QThreadPrivate::start (arg=0x781e50) at thread/qthread_unix.cpp:349
#8  0x00007f3f32e6c184 in start_thread (arg=0x7f3f2685b700) at pthread_create.c:312
#9  0x00007f3f3575c03d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f3f38f587c0 (LWP 2471)):
[KCrash Handler]
#5  __strncmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:1233
#6  0x00007f3f369aadbc in KSharedDataCache::find(QString const&, QByteArray*) const () from /usr/lib/libkdecore.so.5
#7  0x00007f3f37adb4be in ?? () from /usr/lib/libkdeui.so.5
#8  0x00007f3f37adb7f6 in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#9  0x00007f3f37ad397e in ?? () from /usr/lib/libkdeui.so.5
#10 0x00007f3f36ebecc5 in QIcon::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:684
#11 0x00007f3f268c2d66 in ?? () from /usr/lib/libkfile.so.4
#12 0x00007f3f37336021 in QListView::paintEvent (this=0xc85b70, e=<optimized out>) at itemviews/qlistview.cpp:1039
#13 0x00007f3f268c4fc9 in KFilePlacesView::paintEvent(QPaintEvent*) () from /usr/lib/libkfile.so.4
#14 0x00007f3f36e6a300 in QWidget::event (this=this@entry=0xc85b70, event=event@entry=0x7ffe2f837010) at kernel/qwidget.cpp:8533
#15 0x00007f3f3720c04e in QFrame::event (this=0xc85b70, e=0x7ffe2f837010) at widgets/qframe.cpp:557
#16 0x00007f3f3731b633 in QAbstractItemView::viewportEvent (this=0xc85b70, event=0x7ffe2f837010) at itemviews/qabstractitemview.cpp:1644
#17 0x00007f3f361ae646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x6fa420, receiver=receiver@entry=0xc8a3a0, event=event@entry=0x7ffe2f837010) at kernel/qcoreapplication.cpp:1063
#18 0x00007f3f36e1ae0c in QApplicationPrivate::notify_helper (this=this@entry=0x6fa420, receiver=receiver@entry=0xc8a3a0, e=e@entry=0x7ffe2f837010) at kernel/qapplication.cpp:4563
#19 0x00007f3f36e214a0 in QApplication::notify (this=0x7ffe2f839b70, receiver=0xc8a3a0, e=0x7ffe2f837010) at kernel/qapplication.cpp:4353
#20 0x00007f3f37b2563a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007f3f361ae4dd in QCoreApplication::notifyInternal (this=0x7ffe2f839b70, receiver=receiver@entry=0xc8a3a0, event=event@entry=0x7ffe2f837010) at kernel/qcoreapplication.cpp:953
#22 0x00007f3f36e64a21 in sendSpontaneousEvent (event=0x7ffe2f837010, receiver=0xc8a3a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#23 QWidgetPrivate::drawWidget (this=this@entry=0xc87fb0, pdev=pdev@entry=0xa574f8, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5599
#24 0x00007f3f36e65450 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xc87490, pdev=pdev@entry=0xa574f8, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5808
#25 0x00007f3f36e645dc in QWidgetPrivate::drawWidget (this=this@entry=0xc87490, pdev=pdev@entry=0xa574f8, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5652
#26 0x00007f3f36e65450 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xc846e0, pdev=pdev@entry=0xa574f8, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5808
#27 0x00007f3f36e645dc in QWidgetPrivate::drawWidget (this=this@entry=0xc846e0, pdev=pdev@entry=0xa574f8, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5652
#28 0x00007f3f36e65450 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xc68b50, pdev=pdev@entry=0xa574f8, siblings=..., index=<optimized out>, index@entry=0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5808
#29 0x00007f3f36e652bf in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xc68b50, pdev=pdev@entry=0xa574f8, siblings=..., index=0, index@entry=1, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5795
#30 0x00007f3f36e652bf in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xc68b50, pdev=pdev@entry=0xa574f8, siblings=..., index=1, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5795
#31 0x00007f3f36e645dc in QWidgetPrivate::drawWidget (this=this@entry=0xc68b50, pdev=pdev@entry=0xa574f8, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5652
#32 0x00007f3f36e65450 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xa64e30, pdev=pdev@entry=0xa574f8, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5808
#33 0x00007f3f36e645dc in QWidgetPrivate::drawWidget (this=this@entry=0xa64e30, pdev=pdev@entry=0xa574f8, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5652
#34 0x00007f3f36e65450 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xa59fc0, pdev=pdev@entry=0xa574f8, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5808
#35 0x00007f3f36e645dc in QWidgetPrivate::drawWidget (this=0xa59fc0, pdev=0xa574f8, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa56bf0) at kernel/qwidget.cpp:5652
#36 0x00007f3f3702794e in QWidgetBackingStore::sync (this=this@entry=0xa56bf0) at painting/qbackingstore.cpp:1373
#37 0x00007f3f37027cc5 in QWidgetBackingStore::sync (this=0xa56bf0, exposedWidget=0xa44940, exposedRegion=...) at painting/qbackingstore.cpp:1161
#38 0x00007f3f36e59f12 in QWidgetPrivate::syncBackingStore (this=this@entry=0xa64e30, region=...) at kernel/qwidget.cpp:1903
#39 0x00007f3f36e85488 in QETWidget::translatePaintEvent (this=this@entry=0xa44940, event=event@entry=0x7ffe2f838550) at kernel/qapplication_x11.cpp:5607
#40 0x00007f3f36e94d1b in QApplication::x11ProcessEvent (this=0x7ffe2f839b70, event=event@entry=0x7ffe2f838550) at kernel/qapplication_x11.cpp:3649
#41 0x00007f3f36ebcb32 in x11EventSourceDispatch (s=0x6ff800, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007f3f3298ce04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f3f3298d048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f3f3298d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f3f361db7a1 in QEventDispatcherGlib::processEvents (this=0x6d59a0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#46 0x00007f3f36ebcbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f3f361ad0af in QEventLoop::processEvents (this=this@entry=0x7ffe2f838930, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f3f361ad3a5 in QEventLoop::exec (this=this@entry=0x7ffe2f838930, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f3f372c206c in QDialog::exec (this=0xa24fa0) at dialogs/qdialog.cpp:562
#50 0x0000000000413743 in _start ()

Possible duplicates by query: bug 339285, bug 305453.

Report to https://bugs.kde.org/
Comment 1 Andrew Crouthamel 2018-09-04 04:22:15 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years and I will be closing this bug. Spectacle is the replacement for ksnapshot now. Please test again and file a new bug for Spectacle if you still have issues. Thank you!