Bug 455400 - Parley crashes every time when using configure practice on Wayland
Summary: Parley crashes every time when using configure practice on Wayland
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: 22.04.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-16 12:18 UTC by thebluequasar
Modified: 2023-03-20 22:44 UTC (History)
3 users (show)

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 thebluequasar 2022-06-16 12:18:42 UTC
Application: parley (22.04.2)

Qt Version: 5.15.4
Frameworks Version: 5.95.0
Operating System: Linux 5.13.0-51-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User - 5.25
DrKonqi: 5.25.0 [KCrashBackend]

-- Information about the crash:
Summary: Parley crash when using configure practice on Wayland, it happens every time I try it, and is specific to Wayland.

Steps to reproduce:
1- Login to Plasma Wayland session, start parley with any collection
2- Click on "Configure Practice" option
3- Parley crashed immediately

Backtrace info is attached by KDE Crash Handler.

The crash can be reproduced every time.

-- Backtrace:
Application: Parley (parley), signal: Segmentation fault

[New LWP 7225]
[New LWP 7226]
[New LWP 7227]
[New LWP 7228]
[New LWP 7233]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f1cf223099f in __GI___poll (fds=0x7fffc19a0ef8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f1cde210200 (LWP 7224))]

Thread 6 (Thread 0x7f1caf56b700 (LWP 7233)):
#0  __GI___libc_read (nbytes=10, buf=0x7f1caf56a1de, fd=28) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=28, buf=0x7f1caf56a1de, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f1ce5a39975 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x00007f1cf0887416 in pa_mainloop_prepare () from /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f1cf0887eb4 in pa_mainloop_iterate () from /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f1cf0887f70 in pa_mainloop_run () from /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f1cf089611d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007f1ce5a6872c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x00007f1cf0846609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1cf223d133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f1ccffff700 (LWP 7228)):
#0  0x00007f1ce798e4dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1ce7941331 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1ce79414a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1cf2801c3b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1cf27a5e5b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1cf25bf462 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1cf3914f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f1cf25c0643 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1cf0846609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1cf223d133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1cd6ef9700 (LWP 7227)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564601a828c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564601a82878, cond=0x564601a828a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564601a828a0, mutex=0x564601a82878) at pthread_cond_wait.c:647
#3  0x00007f1cd71475eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f1cd71471eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f1cf0846609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1cf223d133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1cdd356700 (LWP 7226)):
#0  0x00007f1cf223099f in __GI___poll (fds=0x7f1cdd3553a0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1ce7678bd6 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#2  0x00007f1cf25c0643 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1cf0846609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#4  0x00007f1cf223d133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1cddb57700 (LWP 7225)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564601a716f0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564601a716a0, cond=0x564601a716c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x564601a716c8, mutex=0x564601a716a0) at pthread_cond_wait.c:647
#3  0x00007f1cf25c66db in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1ce7678b7d in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#5  0x00007f1cf25c0643 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1cf0846609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f1cf223d133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1cde210200 (LWP 7224)):
[KCrash Handler]
#4  0x00007f1cf26170ee in QByteArray::operator=(char const*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1cf3cbc34e in KLocalizedString::KLocalizedString(char const*, char const*, char const*, char const*, bool) () from /lib/x86_64-linux-gnu/libKF5I18n.so.5
#6  0x0000564601358b34 in KLazyLocalizedString::operator KLocalizedString (this=0x5646013ed4c0 <completed>) at /usr/include/KF5/KI18n/klazylocalizedstring.h:79
#7  BlockOptions::fillComboBox (this=this@entry=0x564601f7c2d0, cb=0x564601f2b310) at ./src/practice/configure/blockoptions.cpp:177
#8  0x0000564601359960 in BlockOptions::fillWidgets (this=0x564601f7c2d0) at ./src/practice/configure/blockoptions.cpp:94
#9  0x000056460135a3f0 in BlockOptions::BlockOptions (this=0x564601f7c2d0, parent=<optimized out>) at ./src/practice/configure/blockoptions.cpp:88
#10 0x00005646012c9d6b in ConfigurePracticeDialog::ConfigurePracticeDialog (this=0x7fffc19a1dd0, doc=0x564602888c40, parent=<optimized out>, name=..., config=<optimized out>) at ./src/practice/configure/configurepracticedialog.cpp:33
#11 0x00005646012c8335 in ParleyMainWindow::configurePractice (this=0x564601de1cc0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:967
#12 0x00007f1cf27de410 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f1cf32878e6 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f1cf3289fb8 in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f1cf3387ba0 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f1cf3387dc5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f1cf34817de in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f1cf32d0d86 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f1cf3481888 in QToolButton::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f1cf328ddc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f1cf3296dc7 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f1cf27a735a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f1cf32960c7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f1cf32ebf74 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f1cf32ef294 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f1cf328ddc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f1cf3296bd8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f1cf27a735a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f1cf2b8c908 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007f1cf2b8df75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#31 0x00007f1cf2b6488c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#32 0x00007f1ce76b8ca4 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#33 0x00007f1ce794117d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f1ce7941400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f1ce79414a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f1cf2801c22 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f1cf27a5e5b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f1cf27ae004 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00005646012c6541 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:117
[Inferior 1 (process 7224) detached]

Reported using DrKonqi
Comment 1 Florian 2022-08-23 05:30:23 UTC
Also happens with 22.04.03 on ubuntu 22.04LTS
Comment 2 Florian Dittmer 2022-12-11 18:25:59 UTC
Also crashed on X11 for me whenever I click on  "Configure Practice" option.

Operating System: Gentoo Linux 2.9
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 6.0.11-gentoo-dist (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B89
System Version: 1.0

Programm output:

Attempting to load .desktop at "/usr/share/parley/themes/theme_reference.desktop"
tkxkb dbus error
kxkb dbus error
Create word type model for summary view
Translateshell process found
Clear summary widget
Clear summary widget
Translateshell process found
SaveAs success.
kf.i18n: Trying to convert empty KLocalizedString to QString.
kf.i18n: Trying to convert empty KLocalizedString to QString.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = parley path = /usr/bin pid = 10868
KCrash: Arguments: /usr/bin/parley 
KCrash: Attempting to start /usr/lib64/libexec/drkonqi

Developer Information:

Application: Parley (parley), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f6275120c6a in QByteArray::operator=(char const*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f627662d9da in KLocalizedString::KLocalizedString(char const*, char const*, char const*, char const*, bool) () at /usr/lib64/libKF5I18n.so.5
#6  0x00005653dc156619 in  ()
#7  0x00005653dc15869c in  ()
#8  0x00005653dc15912c in  ()
#9  0x00005653dc0d0ed3 in  ()
#10 0x00005653dc0cf371 in  ()
#11 0x00007f62752b605c in  () at /usr/lib64/libQt5Core.so.5
#12 0x00007f6275d5ce72 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f6275d5fbd4 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f6275e5c2b2 in  () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f6275e5c417 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f6275f5bc3a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f6275da70fe in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f6275d63a2f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f6275d6b8ca in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f62752821d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f6275d6a39d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f6275dc0b7a in  () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f6275dc3d95 in  () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f6275d63a2f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f62752821d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f6275727af0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#27 0x00007f627570704b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#28 0x00007f6262f152ca in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007f626b98015b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f626b980418 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f626b9804cf in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f62752d4964 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#33 0x00007f6275280bbb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f627528921d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#35 0x00005653dc0cd19f in  ()
#36 0x00007f6274e4f34a in  () at /lib64/libc.so.6
#37 0x00007f6274e4f3fc in __libc_start_main () at /lib64/libc.so.6
#38 0x00005653dc0cd211 in  ()
[Inferior 1 (process 10868) detached]