Bug 220004 - Klipper crashes as 'actions' are disabled [QMetaObject::changeGuard, QPointer<QAction>::operator=, QMenuPrivate::activateAction]
Summary: Klipper crashes as 'actions' are disabled [QMetaObject::changeGuard, QPointer...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: klipper
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
: 238235 243470 249823 252372 253455 253589 255816 257080 257734 268417 271327 272456 298344 326631 330125 331217 333463 335958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-24 22:07 UTC by Pol
Modified: 2016-02-20 07:47 UTC (History)
26 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.53 KB, text/plain)
2010-05-11 14:37 UTC, Ralph Janke
Details
New crash information added by DrKonqi (3.99 KB, text/plain)
2010-07-16 23:35 UTC, Dan Keshet
Details
New crash information added by DrKonqi (3.98 KB, text/plain)
2010-10-12 14:13 UTC, Fergal Daly
Details
New crash information added by DrKonqi (3.97 KB, text/plain)
2010-12-31 00:24 UTC, Peter Kasarda
Details
New crash information added by DrKonqi (3.98 KB, text/plain)
2011-03-26 21:11 UTC, Bzzz
Details
New crash information added by DrKonqi (4.08 KB, text/plain)
2012-04-05 00:45 UTC, Vilhjálmur Magnússon
Details
New crash information added by DrKonqi (5.70 KB, text/plain)
2013-06-11 07:44 UTC, Jonathan Haas
Details
New crash information added by DrKonqi (4.92 KB, text/plain)
2016-02-16 14:56 UTC, Nick Leverton
Details
attachment-10560-0.html (2.62 KB, text/html)
2016-02-20 07:47 UTC, Michael Zywek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pol 2009-12-24 22:07:48 UTC
Application: klipper (v0.9.7)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Specifically, the option 'disable this pop-up' had been selected, at prompt


 -- Backtrace:
Application: Klipper (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  QMetaObject::changeGuard (ptr=0x9dbfee0, o=0x0) at kernel/qobject.cpp:501
#7  0x017ed3a7 in QPointer<QAction>::operator= (this=0x9dbfd48, action=0x9dc3920, action_e=QAction::Trigger, self=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x9dbfd48, action=0x9dc3920, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1102
#9  0x017ee3b7 in QMenu::mouseReleaseEvent (this=0x9dc70a0, e=0xbf91b970) at widgets/qmenu.cpp:2307
#10 0x009da145 in KMenu::mouseReleaseEvent (this=0x9dc70a0, e=0xbf91b970) at ../../kdeui/widgets/kmenu.cpp:469
#11 0x013a9f9e in QWidget::event (this=0x9dc70a0, event=0xbf91b970) at kernel/qwidget.cpp:7974
#12 0x017efa44 in QMenu::event (this=0x9dc70a0, e=0xbf91b970) at widgets/qmenu.cpp:2406
#13 0x0134d19c in QApplicationPrivate::notify_helper (this=0x96a9230, receiver=0x9dc70a0, e=0xbf91b970) at kernel/qapplication.cpp:4242
#14 0x0135476b in QApplication::notify (this=0xbf91c210, receiver=0x9dc70a0, e=0xbf91b970) at kernel/qapplication.cpp:3822
#15 0x008e40fa in KApplication::notify (this=0xbf91c210, receiver=0x9dc70a0, event=0xbf91b970) at ../../kdeui/kernel/kapplication.cpp:302
#16 0x01101eab in QCoreApplication::notifyInternal (this=0xbf91c210, receiver=0x9dc70a0, event=0xbf91b970) at kernel/qcoreapplication.cpp:704
#17 0x0135371f in QCoreApplication::sendEvent (receiver=0x9dc70a0, event=0xbf91b970, alienWidget=0x0, nativeWidget=0x9dc70a0, buttonDown=0x1c88060, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QApplicationPrivate::sendMouseEvent (receiver=0x9dc70a0, event=0xbf91b970, alienWidget=0x0, nativeWidget=0x9dc70a0, buttonDown=0x1c88060, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#19 0x013dd1f7 in QETWidget::translateMouseEvent (this=0x9dc70a0, event=0xbf91be8c) at kernel/qapplication_x11.cpp:4302
#20 0x013dc1f1 in QApplication::x11ProcessEvent (this=0xbf91c210, event=0xbf91be8c) at kernel/qapplication_x11.cpp:3379
#21 0x0140b04a in x11EventSourceDispatch (s=0x96abf40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#22 0x08a0de88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x08a11730 in ?? () from /lib/libglib-2.0.so.0
#24 0x08a11863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x0112dbd5 in QEventDispatcherGlib::processEvents (this=0x96a9210, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#26 0x0140ab75 in QGuiEventDispatcherGlib::processEvents (this=0x96a9210, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x011004c9 in QEventLoop::processEvents (this=0xbf91c184, flags=) at kernel/qeventloop.cpp:149
#28 0x0110091a in QEventLoop::exec (this=0xbf91c184, flags=...) at kernel/qeventloop.cpp:201
#29 0x01104b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#30 0x0134d237 in QApplication::exec () at kernel/qapplication.cpp:3570
#31 0x023082cc in kdemain (argc=1, argv=0x968f708) at ../../klipper/main.cpp:52
#32 0x0804dff7 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x968f279 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051429 "0") at ../../kinit/kinit.cpp:705
#33 0x0804ec15 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1197
#34 0x0804f08c in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1390
#35 0x0804fe27 in main (argc=4, argv=0xbf91cbc4, envp=0xbf91cbd8) at ../../kinit/kinit.cpp:1825

Reported using DrKonqi
Comment 1 Esben Mose Hansen 2009-12-27 09:48:27 UTC
Sounds very interesting, but so far no luck in reproducing it :( Any chance of a step-by-step guide?
Comment 2 Pol 2009-12-27 10:46:57 UTC
I have overcome the trouble by renaming .kde and let the system create
a new one.   I can send you the old conf files, upon your request.


best regards
---P

On 12/27/09, Esben Mose Hansen <kde@mosehansen.dk> wrote:
> https://bugs.kde.org/show_bug.cgi?id=220004
>
>
>
>
>
> --- Comment #1 from Esben Mose Hansen <kde mosehansen dk>  2009-12-27
> 09:48:27 ---
> Sounds very interesting, but so far no luck in reproducing it :( Any chance
> of
> a step-by-step guide?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Ralph Janke 2010-05-11 14:37:02 UTC
Created attachment 43470 [details]
New crash information added by DrKonqi

Same crash on ubuntu 10.04 lucid final release
Comment 4 Dan Keshet 2010-07-16 23:35:47 UTC
Created attachment 49253 [details]
New crash information added by DrKonqi

This happened as I was disabling the URL action.
Comment 5 Christoph Feck 2010-10-11 13:13:46 UTC
*** Bug 253589 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-10-11 13:14:14 UTC
*** Bug 253455 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2010-10-11 13:14:54 UTC
*** Bug 252372 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2010-10-11 13:16:16 UTC
*** Bug 243470 has been marked as a duplicate of this bug. ***
Comment 9 Fergal Daly 2010-10-12 14:13:41 UTC
Created attachment 52441 [details]
New crash information added by DrKonqi

I disabled the popup and it crashed.
Comment 10 Dario Andres 2010-11-16 22:04:13 UTC
*** Bug 255816 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-11-16 22:04:16 UTC
*** Bug 257080 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-11-24 20:02:22 UTC
*** Bug 257734 has been marked as a duplicate of this bug. ***
Comment 13 Peter Kasarda 2010-12-31 00:24:55 UTC
Created attachment 55395 [details]
New crash information added by DrKonqi

klipper (v0.9.7) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
klipper crash after click on "disable this popup"

-- Backtrace (Reduced):
#7  0x00007f4c192db7a6 in operator= (this=0x18665e0, action=0x1451070, action_e=QAction::Trigger, self=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x18665e0, action=0x1451070, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1098
#9  0x00007f4c1afddcee in KMenu::mouseReleaseEvent (this=0x1841b80, e=0x21) at ../../kdeui/widgets/kmenu.cpp:471
#10 0x00007f4c18ecb04e in QWidget::event (this=0x1841b80, event=0x7fffcf0dfb10) at kernel/qwidget.cpp:8187
#11 0x00007f4c192dd90b in QMenu::event (this=0x1841b80, e=0x7fffcf0dfb10) at widgets/qmenu.cpp:2410
Comment 14 Christophe Marin 2011-02-14 14:10:49 UTC
*** Bug 238235 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2011-02-14 14:11:01 UTC
*** Bug 249823 has been marked as a duplicate of this bug. ***
Comment 16 Bzzz 2011-03-26 21:11:40 UTC
Created attachment 58364 [details]
New crash information added by DrKonqi

klipper (v0.9.7) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2

- What I was doing when the application crashed:

Well, exactly the same as other users did. The unwanted popup opened, I clicked "disable" -> tadaa!

-- Backtrace (Reduced):
#7  0x00007fd1fb2d92de in operator= (this=0xa08de0, action=0xdc0f40, action_e=QAction::Trigger, self=true) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0xa08de0, action=0xdc0f40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1098
#9  0x00007fd1fd1bfe5d in KMenu::mouseReleaseEvent (this=0xa05dc0, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#10 0x00007fd1faee8cb8 in QWidget::event (this=0xa05dc0, event=0x7fff71324870) at kernel/qwidget.cpp:8259
#11 0x00007fd1fb2da49b in QMenu::event (this=0xa05dc0, e=0x7fff71324870) at widgets/qmenu.cpp:2415
Comment 17 Dario Andres 2011-05-01 16:48:42 UTC
[Comment from a bug triager]
From bug 268417 (KDE SC 4.6.1):
- What I was doing when the application crashed:
Doubled clicked a URL within firefox. The Klipper menu came up. I clicked
"Disable this menu." Shortly after, the crash showed up.
----
This is almost certainly related to or a duplicate of the bugs mentioned above. 
To reproduce: just clear cache and klipperrc and double-click the url in
firefox's address window. When the popup appears, select Disable this menu.
Comment 18 Dario Andres 2011-05-01 16:48:53 UTC
*** Bug 268417 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2011-05-01 16:48:55 UTC
*** Bug 271327 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2011-05-08 22:31:11 UTC
*** Bug 272456 has been marked as a duplicate of this bug. ***
Comment 21 Jekyll Wu 2011-12-24 13:52:08 UTC
I just met one such crash today using the master code. Too bad I can't reproduce it at will .....
Comment 22 Vilhjálmur Magnússon 2012-04-05 00:45:07 UTC
Created attachment 70162 [details]
New crash information added by DrKonqi

klipper (v0.9.7) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

Selected 'Disable this pop-up' when Klipper popped up an annoying pop-up when opening an application.

-- Backtrace (Reduced):
#7  0x0000003667212976 in operator= (p=0x0, this=0x2d7acd0) at ../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x2d7aa10, action=0x2d80800, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1133
#9  0x0000003759712b50 in KMenu::mouseReleaseEvent (this=0x2d57790, e=0x7fff66c89a40) at /usr/src/debug/kdelibs-4.8.1/kdeui/widgets/kmenu.cpp:464
#10 0x0000003666e1a02a in QWidget::event (this=0x2d57790, event=0x7fff66c89a40) at kernel/qwidget.cpp:8361
#11 0x0000003667213eeb in QMenu::event (this=0x2d57790, e=0x7fff66c89a40) at widgets/qmenu.cpp:2460
Comment 23 Maarten De Meyer 2012-06-20 16:53:57 UTC
*** Bug 298344 has been marked as a duplicate of this bug. ***
Comment 24 Jonathan Haas 2013-06-11 07:44:04 UTC
Created attachment 80443 [details]
New crash information added by DrKonqi

klipper (0.9.7) on KDE Platform 4.10.3 using Qt 4.8.4

- What I was doing when the application crashed:

I enabled clipboard actions and on the actions menu i chose "Ausklappmenü deaktivieren" (disable popup menu)

- Custom settings of the application:

Clipboard actions enanbled, one action present ("echo %s" is enough to reproduce the problem)

-- Backtrace (Reduced):
#7  0x00007f9e69e73c1d in operator= (p=0x0, this=0x22b37f0) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x22b3530, action=0x2744760, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1143
#9  0x00007f9e69e776ed in QMenu::mouseReleaseEvent (this=this@entry=0x22691c0, e=e@entry=0x7fff9a5c1dc0) at widgets/qmenu.cpp:2372
#10 0x00007f9e6bb64800 in KMenu::mouseReleaseEvent (this=0x22691c0, e=0x7fff9a5c1dc0) at ../../kdeui/widgets/kmenu.cpp:464
#11 0x00007f9e69a82a89 in QWidget::event (this=this@entry=0x22691c0, event=event@entry=0x7fff9a5c1dc0) at kernel/qwidget.cpp:8375
Comment 25 Christoph Feck 2013-10-25 16:30:34 UTC
*** Bug 326631 has been marked as a duplicate of this bug. ***
Comment 26 Christoph Feck 2014-01-18 17:10:05 UTC
*** Bug 330125 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2014-02-17 11:05:52 UTC
*** Bug 331217 has been marked as a duplicate of this bug. ***
Comment 28 Christoph Feck 2014-04-18 02:26:00 UTC
*** Bug 333463 has been marked as a duplicate of this bug. ***
Comment 29 Christoph Feck 2014-06-09 00:18:13 UTC
*** Bug 335958 has been marked as a duplicate of this bug. ***
Comment 30 Nick Leverton 2016-02-16 14:56:58 UTC
Created attachment 97249 [details]
New crash information added by DrKonqi

klipper (0.9.7) on KDE Platform 4.14.2 using Qt 4.8.6

I was using a number of control-alt combinations in my other windows and  Klipper told me that "actions could be re-enabled" and then crashed.  I must have accidentally pressed Ctrl-Alt-X at the same moment that Klipper popped up.

It hasn't crashed in this way before when I disabled clipboard actions, and I haven't been able to recreate it.

-- Backtrace (Reduced):
#7  0x00007f1cbc26408d in operator= (p=0x0, this=0x1cfcbc0) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x1cfc900, action=0x1d1b580, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1142
#9  0x00007f1cbc266461 in QMenu::keyPressEvent (this=this@entry=0x1c9a790, e=e@entry=0x7fff4181bc70) at widgets/qmenu.cpp:2825
#10 0x00007f1cbe019cf0 in KMenu::keyPressEvent (this=0x1c9a790, e=0x7fff4181bc70) at ../../kdeui/widgets/kmenu.cpp:224
#11 0x00007f1cbbe631cf in QWidget::event (this=0x1c9a790, event=0x7fff4181bc70) at kernel/qwidget.cpp:8435
Comment 31 Martin Flöser 2016-02-17 08:47:29 UTC
Thank you for this bug report. Unfortunately the version is no longer maintained and it's unlikely that the code affects the current version in Plasma 5 as the code in question changed (e.g. there is no KMenu usage anymore in klipper).

I'm very sorry that we didn't get this crash fixed before the software reached end of life.
Comment 32 Michael Zywek 2016-02-20 07:47:28 UTC
Created attachment 97308 [details]
attachment-10560-0.html

Hello Martin,
thank you for giving me an information about progressing in this case.
And thank you for the great work that you and all developers did to 
change KDE from qt4 to qt5. I remember the changing from KDE 3 to 4; 
what you did in the last months was very comfortable for me as a normal 
user. KDE worked everytime, not always perfect, but it stayed steady.
I love KDE, and the first reason is the aesthetic and the second is the 
fact, that I can "create" the "outfit" how I like, and the third reason 
is, that KDE is really functionable.
The new plasma-desktop works fine, the applications are going smooth. 
There is one exception (Kmail / Kontact [PIM], especially the 
addressbook with carddav), but so far as I know, you are not appropiate 
for this.
With best regards, Michael Zywek

Zywek

eMail:	mail@zywek.eu

Gleißhammerstr. 123d
DE-90480 Nürnberg-Mögeldorf

Tel.:		+49-(0)911-542774
Fax:		+49-(0)911-542861
Mobil:	+49-(0)152-02946332

erstellt mit und unter Linux: Thunderbird / KMail

Am 17.02.2016 um 09:47 schrieb Martin Gräßlin via KDE Bugzilla :
> https://bugs.kde.org/show_bug.cgi?id=220004
>
> Martin Gräßlin <mgraesslin@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|CONFIRMED                   |RESOLVED
>           Resolution|---                         |UNMAINTAINED
>
> --- Comment #31 from Martin Gräßlin <mgraesslin@kde.org> ---
> Thank you for this bug report. Unfortunately the version is no longer
> maintained and it's unlikely that the code affects the current version in
> Plasma 5 as the code in question changed (e.g. there is no KMenu usage anymore
> in klipper).
>
> I'm very sorry that we didn't get this crash fixed before the software reached
> end of life.
>