Bug 257829

Summary: Crashing when entering Practice mode from Practice menu
Product: [Applications] parley Reporter: alsaf <alfraealba>
Component: generalAssignee: parley bug tracker <parley-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, ansa.ansa, dt.ahlers, erick.roura, godfried.borremans, jsusanj, marko.gabriel.cz, matous.ringel, mayeul.kauffmann, mcberenguer, panfaust, rara, smithjd15, underline
Priority: NOR    
Version: 0.9.4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description alsaf 2010-11-24 22:16:13 UTC
Application: parley (0.9.4)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I use Parley for a practise session which it works ok and then I exit from it. The crash always occurs when I go back into Parley afterwards and try to start practice mode by going into Practice menu then selecting Practice option.

The crash can be reproduced every time.

-- Backtrace:
Application: Parley (parley), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77a6710 (LWP 1877))]

Thread 2 (Thread 0xb7574b70 (LWP 1878)):
#0  0x00c6f416 in __kernel_vsyscall ()
#1  0x06486df6 in poll () from /lib/libc.so.6
#2  0x0495aa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0494d43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0494dba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x022ca6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0497448f in ?? () from /lib/libglib-2.0.so.0
#7  0x00c8ecc9 in start_thread () from /lib/libpthread.so.0
#8  0x064956be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb77a6710 (LWP 1877)):
[KCrash Handler]
#7  QMetaObject::changeGuard (ptr=0x91d0108, o=0x0) at kernel/qobject.cpp:470
#8  0x016e6a77 in operator= (this=0x91cff68, action=0x91ae5e8, action_e=QAction::Trigger, self=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#9  QMenuPrivate::activateAction (this=0x91cff68, action=0x91ae5e8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1098
#10 0x016e75e0 in QMenu::mouseReleaseEvent (this=0x91cff48, e=0xbff645e0) at widgets/qmenu.cpp:2301
#11 0x07590fe5 in KMenu::mouseReleaseEvent (this=0x91cff48, e=0xbff645e0) at ../../kdeui/widgets/kmenu.cpp:471
#12 0x01278e08 in QWidget::event (this=0x91cff48, event=0xbff645e0) at kernel/qwidget.cpp:8187
#13 0x016e902f in QMenu::event (this=0x91cff48, e=0xbff645e0) at widgets/qmenu.cpp:2410
#14 0x0121afdc in QApplicationPrivate::notify_helper (this=0x8dcee98, receiver=0x91cff48, e=0xbff645e0) at kernel/qapplication.cpp:4396
#15 0x01221c2e in QApplication::notify (this=0xbff64e90, receiver=0x91cff48, e=0xbff645e0) at kernel/qapplication.cpp:3959
#16 0x0749668a in KApplication::notify (this=0xbff64e90, receiver=0x91cff48, event=0xbff645e0) at ../../kdeui/kernel/kapplication.cpp:310
#17 0x00fbab3b in QCoreApplication::notifyInternal (this=0xbff64e90, receiver=0x91cff48, event=0xbff645e0) at kernel/qcoreapplication.cpp:732
#18 0x01220094 in sendEvent (receiver=0x91cff48, event=0xbff645e0, alienWidget=0x0, nativeWidget=0x91cff48, buttonDown=0x1bb53c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QApplicationPrivate::sendMouseEvent (receiver=0x91cff48, event=0xbff645e0, alienWidget=0x0, nativeWidget=0x91cff48, buttonDown=0x1bb53c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#20 0x012af261 in QETWidget::translateMouseEvent (this=0x91cff48, event=0xbff64afc) at kernel/qapplication_x11.cpp:4337
#21 0x012ae151 in QApplication::x11ProcessEvent (this=0xbff64e90, event=0xbff64afc) at kernel/qapplication_x11.cpp:3414
#22 0x012dd36a in x11EventSourceDispatch (s=0x8dd2100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#23 0x04949855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x0494d668 in ?? () from /lib/libglib-2.0.so.0
#25 0x0494d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00fe9565 in QEventDispatcherGlib::processEvents (this=0x8db7310, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#27 0x012dcbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8db7310, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00fb9609 in QEventLoop::processEvents (this=0xbff64df4, flags=) at kernel/qeventloop.cpp:149
#29 0x00fb9a8a in QEventLoop::exec (this=0xbff64df4, flags=...) at kernel/qeventloop.cpp:201
#30 0x00fbe00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#31 0x01219e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#32 0x0806e829 in main (argc=1, argv=0xbff650a4) at ../../../parley/src/main.cpp:139

Possible duplicates by query: bug 241617.

Reported using DrKonqi
Comment 1 alsaf 2010-12-08 22:20:22 UTC
The 'bug' seems to have been fixed by having at least of the toolbars shown (I have Statistic toolbar ticked without the error happening)
Comment 2 Dario Andres 2010-12-12 15:34:11 UTC
[Comment from a bug triager]
The backtrace looks related to the one in bug 256292 (bug 220004), which seems to be a bug in the Qt library.
Comment 3 Jeffrey L. Susanj 2010-12-24 04:18:42 UTC
Created attachment 55205 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1

- What I was doing when the application crashed:

I had completed a practice session and I selected practice again and it crashed.

-- Backtrace (Reduced):
#7  0x0000003a887f40ee in operator= (this=0x14c92d0, action=0x23f4450, action_e=QAction::Trigger, self=true) at ../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x14c92d0, action=0x23f4450, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1098
#9  0x0000003a860f129d in KMenu::mouseReleaseEvent (this=0x11ce150, e=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kdeui/widgets/kmenu.cpp:471
#10 0x0000003a88408fe8 in QWidget::event (this=0x11ce150, event=0x7fffbb28b650) at kernel/qwidget.cpp:8200
#11 0x0000003a887f52cb in QMenu::event (this=0x11ce150, e=0x7fffbb28b650) at widgets/qmenu.cpp:2410
Comment 4 Marius 2010-12-27 17:39:32 UTC
I can confirm that Parley crashes when trying to enter Practice mode from the menu. It crashes also when one or more toolbars are shown. I am using Parley-0.9.4, kdelibs-4.5.4 and Qt-4.7.1. My Backtrace looks a little bit different:

Application: Parley (parley), signal: Segmentation fault
[KCrash Handler]
#7  0xb6e32df4 in QMetaObject::changeGuard(QObject**, QObject*) () from /usr/lib/qt4/libQtCore.so.4
#8  0xb5c67766 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib/qt4/libQtGui.so.4
#9  0xb5c68252 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt4/libQtGui.so.4
#10 0xb66c3886 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#11 0xb584f65a in QWidget::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#12 0xb5c69bea in QMenu::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#13 0xb57f7d0b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#14 0xb57fcf9c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#15 0xb65d4d81 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0xb6e203b9 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#17 0xb57fbd20 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/qt4/libQtGui.so.4
#18 0xb5883344 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/qt4/libQtGui.so.4
#19 0xb588296a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4/libQtGui.so.4
#20 0xb58ad982 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/qt4/libQtGui.so.4
#21 0xb4d3d398 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb4d40dbe in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#23 0xb4d40f7a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb6e4c1fc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#25 0xb58ad2cc in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtGui.so.4
#26 0xb6e1f06f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#27 0xb6e1f495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#28 0xb6e2361c in QCoreApplication::exec() () from /usr/lib/qt4/libQtCore.so.4
#29 0xb57f6616 in QApplication::exec() () from /usr/lib/qt4/libQtGui.so.4
#30 0x0807165e in main ()
Comment 5 godfried.borremans 2011-03-10 20:34:47 UTC
Created attachment 57844 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

start parley, opens with last deck, select practice: crash

-- Backtrace (Reduced):
#7  0x00007f051d36d7a6 in operator= (this=0x1153800, action=0x12013e0, action_e=QAction::Trigger, self=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x1153800, action=0x12013e0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1098
#9  0x00007f051e47fcee in KMenu::mouseReleaseEvent (this=0x11530c0, e=0x12013e0) at ../../kdeui/widgets/kmenu.cpp:471
#10 0x00007f051cf5d04e in QWidget::event (this=0x11530c0, event=0x7fffb5636ec0) at kernel/qwidget.cpp:8187
#11 0x00007f051d36f90b in QMenu::event (this=0x11530c0, e=0x7fffb5636ec0) at widgets/qmenu.cpp:2410
Comment 6 alsaf 2011-03-12 11:14:04 UTC
Looks like Bug 267610 is similar to this

https://bugs.kde.org/show_bug.cgi?id=267610&GoAheadAndLogIn=1
Comment 7 matous.ringel 2011-07-20 21:32:14 UTC
Created attachment 62036 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I clicked on the item Practice in Practice menu.

-- Backtrace (Reduced):
#7  0x00007f3e870a49ce in operator= (this=0x1767090, action=0x1446af0, action_e=QAction::Trigger, self=true) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x1767090, action=0x1446af0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1098
#9  0x00007f3e88191e8d in KMenu::mouseReleaseEvent (this=0x1377ce0, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#10 0x00007f3e86cb1cc8 in QWidget::event (this=0x1377ce0, event=0x7fff111ee360) at kernel/qwidget.cpp:8259
#11 0x00007f3e870a5b8b in QMenu::event (this=0x1377ce0, e=0x7fff111ee360) at widgets/qmenu.cpp:2415
Comment 8 Marius 2011-09-22 17:37:32 UTC
*** Bug 267610 has been marked as a duplicate of this bug. ***
Comment 9 Marius 2011-09-22 17:38:04 UTC
Bug 267610 contains valgrind information.
Comment 10 Marius 2011-09-22 17:38:34 UTC
*** Bug 256292 has been marked as a duplicate of this bug. ***
Comment 11 Marius 2011-09-22 17:40:07 UTC
*** Bug 271626 has been marked as a duplicate of this bug. ***
Comment 12 mayeul 2011-09-22 19:09:03 UTC
Hi,
Given that we were several to find the same bug (see the duplicate tickets), maybe this should be tagged as CONFIRMED ?
Comment 13 Marius 2011-09-22 21:42:47 UTC
Klipper, as stated above, seems to face the same issue (Bug 220004), and also Kontact (Bug 218310).
Comment 14 underline 2011-11-26 20:57:52 UTC
Created attachment 66105 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:
Savedcurrect prectice file and clicked "Continue practice" from the menu.

-- Backtrace (Reduced):
#7  0x00007f659e897276 in operator= (p=0x0, this=0x2602d48) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x2602a80, action=0x27d3710, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1110
#9  0x00007f659f97bcb0 in KMenu::mouseReleaseEvent (this=0x165d7e0, e=0x7ffffdad23f0) at ../../kdeui/widgets/kmenu.cpp:464
#10 0x00007f659e4adc9a in QWidget::event (this=0x165d7e0, event=0x7ffffdad23f0) at kernel/qwidget.cpp:8295
#11 0x00007f659e8987fb in QMenu::event (this=0x165d7e0, e=0x7ffffdad23f0) at widgets/qmenu.cpp:2405
Comment 15 Christoph Feck 2012-02-12 17:45:28 UTC
*** Bug 293909 has been marked as a duplicate of this bug. ***
Comment 16 D. Ahlers 2012-02-13 22:15:43 UTC
Created attachment 68776 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:
Start Parley
insert new words
ALT-P for Practise
p again to start Practise
>crash

- Custom settings of the application:
Blocking and Expiring deactivatet (seems to avoid the crash sometimes)

-- Backtrace (Reduced):
#7  0x00007fd2cc3da9ce in operator= (this=0x46b7b70, action=0x33f1650, action_e=QAction::Trigger, self=true) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x46b7b70, action=0x33f1650, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1098
#9  0x00007fd2cd4c8bfd in KMenu::mouseReleaseEvent (this=0x46b74a0, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#10 0x00007fd2cbfe7cc8 in QWidget::event (this=0x46b74a0, event=0x7fff94efc970) at kernel/qwidget.cpp:8259
#11 0x00007fd2cc3dbb8b in QMenu::event (this=0x46b74a0, e=0x7fff94efc970) at widgets/qmenu.cpp:2415
Comment 17 Erick 2012-03-19 23:10:50 UTC
Created attachment 69747 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

selected Practice from the drop-down menu from the editor.  Wanted to practice a previously saved deck.  I had practiced with this deck before, when I first created it; but now parley crashes.

-- Backtrace (Reduced):
#7  0x00007f7c5fa83336 in operator= (p=0x0, this=0x33799a8) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0x33796e0, action=0x3301c00, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1110
#9  0x00007f7c60b690d0 in KMenu::mouseReleaseEvent (this=0x3378f70, e=0x7fff5b9c2330) at ../../kdeui/widgets/kmenu.cpp:464
#10 0x00007f7c5f699cea in QWidget::event (this=0x3378f70, event=0x7fff5b9c2330) at kernel/qwidget.cpp:8295
#11 0x00007f7c5fa848bb in QMenu::event (this=0x3378f70, e=0x7fff5b9c2330) at widgets/qmenu.cpp:2405
Comment 18 Jamie Smith 2012-06-14 07:11:39 UTC
Created attachment 71817 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.8.4 (4.8.4) "release 511" using Qt 4.8.2

- What I was doing when the application crashed:

While trying to open a practice session in Parley.

-- Backtrace (Reduced):
#7  0x00007f52a08ed2b6 in operator= (p=0x0, this=0xcf49d0) at ../../src/corelib/kernel/qpointer.h:68
#8  QMenuPrivate::activateAction (this=0xcf4710, action=0x8a8010, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1133
#9  0x00007f52a1a0a2a0 in KMenu::mouseReleaseEvent (this=0xcf3e30, e=0x7fff9453cde0) at /usr/src/debug/kdelibs-4.8.4/kdeui/widgets/kmenu.cpp:464
#10 0x00007f52a04f0644 in QWidget::event (this=0xcf3e30, event=0x7fff9453cde0) at kernel/qwidget.cpp:8371
#11 0x00007f52a08ee82b in QMenu::event (this=0xcf3e30, e=0x7fff9453cde0) at widgets/qmenu.cpp:2469
Comment 19 José Manuel Santamaría Lema 2013-10-29 12:02:10 UTC
Hello, is this still happening with recent versions of KDE/Qt/Parley?
Comment 20 José Manuel Santamaría Lema 2013-10-29 12:08:20 UTC
Marking as "NEEDSINFO"...
Comment 21 Ansa 2014-04-04 20:47:14 UTC
Yes, this is still happening, see another duplicate of this bug: https://bugs.kde.org/show_bug.cgi?id=330367
Comment 22 Christoph Feck 2014-10-25 23:35:34 UTC

*** This bug has been marked as a duplicate of bug 330367 ***