Bug 330719 - crashed after I tried to close program
Summary: crashed after I tried to close program
Status: RESOLVED UPSTREAM
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-03 22:34 UTC by jenniferb
Modified: 2016-11-12 14:53 UTC (History)
1 user (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 jenniferb 2014-02-03 22:34:12 UTC
Application: kolourpaint (4.8.4 (4.8.4))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-58-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

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

zoomed in and out of a picture several times, then clicked red x to close program.

-- Backtrace:
Application: KolourPaint (kolourpaint), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007febeb7c3425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007febeb7c6b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007febeb80139e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007febeb80bb96 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007febd73b52cc in ?? () from /usr/lib/kde4/plugins/imageformats/kimg_pic.so
#11 0x00007febd73b5b24 in ?? () from /usr/lib/kde4/plugins/imageformats/kimg_pic.so
#12 0x00007febecd8abed in QImageWriter::write (this=0x7fff36eef260, image=...) at image/qimagewriter.cpp:606
#13 0x00007febecd78a55 in QImage::save (this=0x7fff36eef2b0, device=0x7fff36eef320, format=0x2ab6bf8 "PIC", quality=-1) at image/qimage.cpp:5221
#14 0x00007febeccd044f in QInternalMimeData::renderDataHelper (mimeType=..., data=<optimized out>) at kernel/qdnd.cpp:482
#15 0x00007febecd4cc50 in QX11Data::xdndMimeDataForAtom (this=<optimized out>, a=870, mimeData=0x2b68180, data=0x7fff36eef740, atomFormat=0x7fff36eef7a8, dataFormat=0x7fff36eef7bc) at kernel/qdnd_x11.cpp:488
#16 0x00007febecd44c45 in send_selection (property=870, window=10485771, target=870, d=0x2793120) at kernel/qclipboard_x11.cpp:822
#17 QClipboard::event (this=<optimized out>, e=<optimized out>) at kernel/qclipboard_x11.cpp:1118
#18 0x00007febeccbd894 in notify_helper (e=0x7fff36eeff30, receiver=0x24b1af0, this=0x24be420) at kernel/qapplication.cpp:4559
#19 QApplicationPrivate::notify_helper (this=0x24be420, receiver=0x24b1af0, e=0x7fff36eeff30) at kernel/qapplication.cpp:4531
#20 0x00007febeccc2713 in QApplication::notify (this=0x7fff36ef0cb0, receiver=0x24b1af0, e=0x7fff36eeff30) at kernel/qapplication.cpp:4420
#21 0x00007febec2c3e9c in QCoreApplication::notifyInternal (this=0x7fff36ef0cb0, receiver=0x24b1af0, event=0x7fff36eeff30) at kernel/qcoreapplication.cpp:876
#22 0x00007febecd3ccd5 in QApplication::x11ProcessEvent (this=0x7fff36ef0cb0, event=0x7fff36ef03c0) at kernel/qapplication_x11.cpp:3935
#23 0x00007febecd41fe0 in QX11Data::clipboardWaitForEvent (this=<optimized out>, win=65011714, type=31, event=0x7fff36ef05c0, timeout=10000, checkManager=true) at kernel/qclipboard_x11.cpp:586
#24 0x00007febecd448e2 in QClipboard::event (this=0x24b1af0, e=<optimized out>) at kernel/qclipboard_x11.cpp:945
#25 0x00007febeccbd894 in notify_helper (e=0x7fff36ef0c20, receiver=0x24b1af0, this=0x24be420) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0x24be420, receiver=0x24b1af0, e=0x7fff36ef0c20) at kernel/qapplication.cpp:4531
#27 0x00007febeccc2713 in QApplication::notify (this=0x7fff36ef0cb0, receiver=0x24b1af0, e=0x7fff36ef0c20) at kernel/qapplication.cpp:4420
#28 0x00007febec2c3e9c in QCoreApplication::notifyInternal (this=0x7fff36ef0cb0, receiver=0x24b1af0, event=0x7fff36ef0c20) at kernel/qcoreapplication.cpp:876
#29 0x00007febeccc6f3b in sendEvent (event=0x7fff36ef0c20, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QApplication::~QApplication (this=0x7fff36ef0cb0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1111
#31 0x000000000041ee6b in ?? ()
#32 0x00007febeb7ae76d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#33 0x000000000041efb5 in _start ()

Possible duplicates by query: bug 228103.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-02-04 09:53:25 UTC
> #30 QApplication::~QApplication

Interesting, the application is already in its destructor, still it tries to write data to the clipboard.
Comment 2 Martin Koller 2014-05-03 17:03:46 UTC
The QApplication destructor does:
    // flush clipboard contents
    if (qt_clipboard) {
        QEvent event(QEvent::Clipboard);
        QApplication::sendEvent(qt_clipboard, &event);
    }

I don't know how I can reproduce that crash
Comment 3 Martin Koller 2016-11-12 14:53:07 UTC
As I found no way to reproduce it and kolourpaint is already using Qt5, let's close this one.