Bug 360824 - paste into kolourpaint from firefox on mac into xquartz window on debian system.
Summary: paste into kolourpaint from firefox on mac into xquartz window on debian system.
Status: RESOLVED NOT A BUG
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-21 17:28 UTC by Marshall Midden
Modified: 2016-03-22 07:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-6621-0.html (1.67 KB, text/html)
2016-03-21 19:13 UTC, Marshall Midden
Details
attachment-7048-0.html (2.28 KB, text/html)
2016-03-21 19:18 UTC, Marshall Midden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marshall Midden 2016-03-21 17:28:39 UTC
Application: kolourpaint (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 8.3 (jessie)

-- Information about the crash:
- What I was doing when the application crashed: a) mac running xquartz and virtualbox debian system. b) kolourpaint on mac, cut and paste going nicely. c) started firefox on mac. Copied image to pasteboard (trying to use mac terms) -- the "weather" from ighome.com. d) pasted it into kolourpaint, and blamo.

I am trying to figure out qt4 cut and paste and put it into another application -- other than normal text in Primary buffer.  I guess something isn't quite right. 

Debian was 8.3.0, recently updated, lots of packages installed and a few sources downloaded for looking at (like kolourpaint). 

Probably should have iceweazel-ed the image copy and paste. Trying that next.

-- Backtrace:
Application: KolourPaint (kolourpaint), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#4  0x00007f0e41308be5 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5  0x000000000046f68f in kpAbstractSelectionTool::popupRMBMenu (this=this@entry=0x12eebc0) at /home/m4/src/x11/kolourpaint-4.14.2/tools/selection/kpAbstractSelectionTool.cpp:547
#6  0x000000000046f7a8 in kpAbstractSelectionTool::endDraw (this=0x12eebc0) at /home/m4/src/x11/kolourpaint-4.14.2/tools/selection/kpAbstractSelectionTool.cpp:593
#7  0x0000000000468665 in kpTool::endDrawInternal (this=this@entry=0x12eebc0, thisPoint=..., normalizedRect=..., wantEndShape=wantEndShape@entry=false) at /home/m4/src/x11/kolourpaint-4.14.2/tools/kpTool_Drawing.cpp:383
#8  0x0000000000469aec in kpTool::mouseReleaseEvent (this=0x12eebc0, e=0x7fffba789420) at /home/m4/src/x11/kolourpaint-4.14.2/tools/kpTool_MouseEvents.cpp:267
#9  0x0000000000476050 in kpView::mouseReleaseEvent (this=0x1512670, e=0x7fffba789420) at /home/m4/src/x11/kolourpaint-4.14.2/views/kpView_Events.cpp:102
#10 0x00007f0e40f04748 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007f0e40eb148c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007f0e40eb810f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007f0e41c291aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007f0e3ffbd71d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007f0e40eb776f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007f0e40f2e432 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007f0e40f2ce2c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f0e40f55ed2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f0e3c3a4c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f0e3c3a4f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f0e3c3a4ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f0e3ffecd37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f0e40f55f96 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f0e3ffbc271 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f0e3ffbc5d5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f0e3ffc2059 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x000000000041efaa in main (argc=<optimized out>, argv=0x7fffba789d78) at /home/m4/src/x11/kolourpaint-4.14.2/kolourpaint.cpp:118

Reported using DrKonqi
Comment 1 Martin Koller 2016-03-21 18:11:58 UTC
you said pasting failed. It seems you did try to paste via the right-mouse popup, correct ?
Can you reproduce the problem ?
From the backtrace I could imagine a crash inside Qt, but I can not tell the reason.
In kolourpaint code I see no reason why it would crash there.
Comment 2 Marshall Midden 2016-03-21 19:13:27 UTC
Created attachment 98015 [details]
attachment-6621-0.html

Very reproducible.  Going from firefox on linux to kolourpaint on linux
worked fine.  It was having the X server on Mac (quartz) and kolourpaint
running on linux and output thus to quartz on mac ... the quartz pasting
blows up kolourpaint.

On Mon, Mar 21, 2016 at 1:11 PM, Martin Koller via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=360824
>
> Martin Koller <kollix@aon.at> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |kollix@aon.at
>
> --- Comment #1 from Martin Koller <kollix@aon.at> ---
> you said pasting failed. It seems you did try to paste via the right-mouse
> popup, correct ?
> Can you reproduce the problem ?
> From the backtrace I could imagine a crash inside Qt, but I can not tell
> the
> reason.
> In kolourpaint code I see no reason why it would crash there.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Marshall Midden 2016-03-21 19:18:33 UTC
Created attachment 98016 [details]
attachment-7048-0.html

Yes, right button pasting. Also the edit->paste menu.

Was very repeatable.  firefox on linux display, kolourpaint on linux
display, both running on linux.
kolourpaint displayed on mac but running on debian linux (ssh -> xterm ->
kolourpaint &), and firefox on mac, copy image from images.google.com,
pasted into kolourpaint (button or edit->paste) and crashed.

Rebooted mac (el capitan) ... all works fine now.  Had problem with the
windows 7 vm running via virtual box on mac ... I think (now) the problem
occurred earlier and manifested itself in the paste into kolourpaint.
(linux is a vm running in virtual box too.)

Sorry, close this as a "mac reboot" fixed everything.  [Remember, one never
has to reboot a mac -- :) ]

On Mon, Mar 21, 2016 at 1:11 PM, Martin Koller via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=360824
>
> Martin Koller <kollix@aon.at> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |kollix@aon.at
>
> --- Comment #1 from Martin Koller <kollix@aon.at> ---
> you said pasting failed. It seems you did try to paste via the right-mouse
> popup, correct ?
> Can you reproduce the problem ?
> From the backtrace I could imagine a crash inside Qt, but I can not tell
> the
> reason.
> In kolourpaint code I see no reason why it would crash there.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 4 Martin Koller 2016-03-22 07:51:37 UTC
Thanks for the retest. closing.