Bug 458762

Summary: Menu item Settings->Configure Okular crashes
Product: [Applications] okular Reporter: Yuri <yuri>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aacid, tcberner
Priority: NOR    
Version: 22.08.0   
Target Milestone: ---   
Platform: Other   
OS: FreeBSD   
Latest Commit: Version Fixed In:

Description Yuri 2022-09-05 19:24:37 UTC
SUMMARY
okular crashes with this stack:

#0  fclose (fp=0x0) at /disk-samsung/freebsd-src/lib/libc/stdio/fclose.c:130
#1  0x000000080b7e9083 in spd_close () from /usr/local/lib/libspeechd.so.2
#2  0x000000080b7dc3f4 in ?? () from /usr/local/lib/qt5/plugins/texttospeech/libqtexttospeech_speechd.so
#3  0x000000080b7dc52e in ?? () from /usr/local/lib/qt5/plugins/texttospeech/libqtexttospeech_speechd.so
#4  0x0000000802c3f8d9 in ?? () from /usr/local/lib/qt5/libQt5TextToSpeech.so.5
#5  0x000000080246a18e in QObject::~QObject() () from /usr/local/lib/qt5/libQt5Core.so.5
#6  0x0000000802c4230e in ?? () from /usr/local/lib/qt5/libQt5TextToSpeech.so.5
#7  0x0000000808ec9280 in ?? () from /usr/local/lib/qt5/plugins/okularpart.so
#8  0x0000000808ec9054 in ?? () from /usr/local/lib/qt5/plugins/okularpart.so
#9  0x0000000808ec7197 in ?? () from /usr/local/lib/qt5/plugins/okularpart.so
#10 0x0000000808ef4601 in Okular::Part::slotPreferences() () from /usr/local/lib/qt5/plugins/okularpart.so
#11 0x0000000802477069 in ?? () from /usr/local/lib/qt5/libQt5Core.so.5
#12 0x00000008014938ba in QAction::activate(QAction::ActionEvent) () from /usr/local/lib/qt5/libQt5Widgets.so.5
#13 0x0000000801617d0d in ?? () from /usr/local/lib/qt5/libQt5Widgets.so.5
#14 0x000000080161523b in ?? () from /usr/local/lib/qt5/libQt5Widgets.so.5
#15 0x000000080161c5e0 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5
#16 0x00000008014d5ede in QWidget::event(QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5
#17 0x000000080161cc3c in QMenu::event(QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5
#18 0x000000080149c919 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5
#19 0x000000080149f7b4 in QApplication::notify(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Widgets.so.5
#20 0x00000008024400d0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/local/lib/qt5/libQt5Core.so.5
#21 0x000000080149d2ec in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()


STEPS TO REPRODUCE
regular build/install

SOFTWARE/OS VERSIONS
FreeBSD 13.1
Qt Version: 5.15.5
KDE frameworks: 5.97.0
Comment 1 Tobias C. Berner 2022-09-06 17:42:04 UTC
This is reproducible by opening the configuration dialog. 

A work around is to disable speech-dispatcher from running:
> echo "DisableAutoSpawn" > ~/.config/speech-dispatcher/speechd.conf

Here [1] is a slightly better bt.


[1] https://invent.kde.org/-/snippets/2332
Comment 2 Albert Astals Cid 2022-09-06 21:08:43 UTC
https://github.com/brailcom/speechd/issues/762