https://bugs.kde.org/show_bug.cgi?id=514843
Bug ID: 514843
Summary: Segmentation fault in QTextToSpeech when opening alarm
menu
Classification: Applications
Product: kalarm
Version First 3.12.1
Reported In:
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
The error appeared after a recent system update. I'm actually using KAlarm on
GNOME 49.2.
STEPS TO REPRODUCE
1. Run kalarm
2. Use "Add new display alarm"
OBSERVED RESULT
segmentation fault (core dumped)
EXPECTED RESULT
Works as expected
SOFTWARE/OS VERSIONS
Qt Version: qtpaths --qt-version prints 5.15.8
ADDITIONAL INFORMATION
Here is the backtrace from the core dump:
#0 QTextToSpeech::state (this=0x0) at
/usr/src/debug/qt6-speech/qtspeech/src/tts/qtexttospeech.cpp:616
#1 0x00007f6c4d56cc46 in TextEditTextToSpeech::TextToSpeech::isReady() const
() at /usr/lib/libKF6TextEditTextToSpeech.so.1
#2 0x000055d7cba07c7c in SoundPicker::showSpeak
(this=this@entry=0x55d7e80882a0, show=show@entry=true) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/soundpicker.cpp:134
#3 0x000055d7cba08270 in SoundPicker::SoundPicker (this=0x55d7e80882a0,
parent=<optimized out>, this=<optimized out>, parent=<optimized out>) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/soundpicker.cpp:70
#4 0x000055d7cb9f9304 in EditDisplayAlarmDlg::type_init (this=0x55d7e7c5a870,
parent=0x55d7e7fd57b0, frameLayout=0x55d7e7fd58b0) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/editdlgtypes.cpp:216
#5 0x000055d7cb9edb5b in EditAlarmDlg::init (this=this@entry=0x55d7e7c5a870,
event=...) at /usr/src/debug/kalarm/kalarm-25.12.1/src/editdlg.cpp:262
#6 0x000055d7cb9ef86d in EditAudioAlarmDlg::EditAudioAlarmDlg
(getResource=<optimized out>, this=<optimized out>, Template=<optimized out>,
parent=<optimized out>) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/editdlgtypes.cpp:1597
#7 EditAlarmDlg::create(bool, EditAlarmDlg::Type, QWidget*,
EditAlarmDlg::GetResourceType) [clone .constprop.0]
(Template=Template@entry=false, type=<optimized out>, parent=0x55d7e7cdc400,
getResource=EditAlarmDlg::RES_PROMPT)
at /usr/src/debug/kalarm/kalarm-25.12.1/src/editdlg.cpp:98
#8 0x000055d7cba417f2 in KAlarm::editNewAlarm (type=<optimized out>,
startDate=..., parent=<optimized out>) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/functions.cpp:1083
#9 KAlarm::editNewAlarm (type=<optimized out>, parent=<optimized out>) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/functions.cpp:1079
#10 MainWindow::slotNew (this=<optimized out>, type=<optimized out>) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/mainwindow.cpp:759
#11 0x00007f6c4b7d734f in QtPrivate::QSlotObjectBase::call
(this=0x55d7e80c4850, r=0x55d7e79d94e0, a=0x7ffe63a872d0, this=<optimized out>,
r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#12 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4257
#13 0x000055d7cbac77ff in QMetaObject::activate<void, EditAlarmDlg::Type>
(sender=<optimized out>, mo=<optimized out>, local_signal_index=0, ret=0x0) at
/usr/include/qt6/QtCore/qobjectdefs.h:319
#14 NewAlarmAction::selected (this=<optimized out>, _t1=<optimized out>) at
/usr/src/debug/kalarm/build/src/kalarm_bin_autogen/include/moc_newalarmaction.cpp:162
#15 NewAlarmAction::slotSelected (this=<optimized out>, action=<optimized out>)
at /usr/src/debug/kalarm/kalarm-25.12.1/src/newalarmaction.cpp:139
#16 0x00007f6c4b7d734f in QtPrivate::QSlotObjectBase::call
(this=0x55d7e809f530, r=0x55d7e7ec02e0, a=0x7ffe63a87440, this=<optimized out>,
r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#17 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4257
#18 0x00007f6c4cb194d7 in QMetaObject::activate<void, QAction*>
(sender=0x55d7e7ec0340, mo=<optimized out>, local_signal_index=2, ret=0x0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs.h:319
#19 QMenu::triggered (this=0x55d7e7ec0340, _t1=0x55d7e7e872f0) at
/usr/src/debug/qt6-base/build/src/widgets/Widgets_autogen/include/moc_qmenu.cpp:235
#20 QMenuPrivate::_q_actionTriggered (this=0x55d7e7f143d0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qmenu.cpp:1517
#21 QMenu::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/qt6-base/build/src/widgets/Widgets_autogen/include/moc_qmenu.cpp:123
#22 0x00007f6c4b7d771a in doActivate<false> (sender=<optimized out>,
signal_index=<optimized out>, argv=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4269
#23 0x00007f6c4c41c125 in QMetaObject::activate<void, bool> (sender=<optimized
out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized
out>, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized
out>, ret=<optimized out>)
at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs.h:319
#24 QAction::triggered (this=<optimized out>, _t1=<optimized out>) at
/usr/src/debug/qt6-base/build/src/gui/Gui_autogen/include/moc_qaction.cpp:374
#25 QAction::activate (this=0x55d7e7e872f0, event=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qaction.cpp:1104
#26 0x00007f6c4cb0846d in QMenuPrivate::activateCausedStack
(this=0x55d7e7f143d0, causedStack=..., action=0x55d7e7e872f0,
action_e=QAction::Trigger, self=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qmenu.cpp:1409
#27 0x00007f6c4cb0cd28 in QMenuPrivate::activateAction (this=0x55d7e7f143d0,
action=0x55d7e7e872f0, action_e=QAction::Trigger, self=true) at
/usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qmenu.cpp:1491
#28 0x00007f6c4c95d007 in QWidget::event (this=0x55d7e7ec0340,
event=0x7ffe63a87cf0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:8999
#29 0x00007f6c4c9021c0 in QApplicationPrivate::notify_helper
(this=this@entry=0x55d7e7561990, receiver=receiver@entry=0x55d7e7ec0340,
e=e@entry=0x7ffe63a87cf0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#30 0x00007f6c4c903c37 in QApplication::notify (this=<optimized out>,
receiver=0x55d7e7ec0340, e=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2785
#31 0x00007f6c4b76a958 in QCoreApplication::notifyInternal2
(receiver=0x55d7e7ec0340, event=0x7ffe63a87cf0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#32 0x00007f6c4b76a9ad in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1563
#33 0x00007f6c4c8f8068 in QApplicationPrivate::sendMouseEvent
(receiver=0x55d7e7ec0340, event=0x7ffe63a87cf0, alienWidget=<optimized out>,
nativeWidget=0x55d7e7ec0340, buttonDown=0x7f6c4cf48730 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2366
#34 0x00007f6c4c97788f in QWidgetWindow::handleMouseEvent (this=0x55d7e7f9f1a0,
event=event@entry=0x7ffe63a88080) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:578
#35 0x00007f6c4c97836b in QWidgetWindow::event (this=<optimized out>,
event=0x7ffe63a88080) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:293
#36 0x00007f6c4c9021c0 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55d7e7f9f1a0, e=0x7ffe63a88080) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#37 0x00007f6c4b76a958 in QCoreApplication::notifyInternal2
(receiver=0x55d7e7f9f1a0, event=0x7ffe63a88080) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#38 0x00007f6c4b76a9ad in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1563
#39 0x00007f6c4bfa8218 in QGuiApplicationPrivate::processMouseEvent
(e=0x7f6c2c001770) at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2470
#40 0x00007f6c4c02ca2c in QWindowSystemInterface::sendWindowSystemEvents
(flags=..., flags@entry=...) at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1117
#41 0x00007f6c4c02cc08 in QWindowSystemInterface::flushWindowSystemEvents
(flags=...) at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1086
#42 0x00007f6c4b7c4994 in QObject::event (this=<optimized out>, e=<optimized
out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1413
#43 0x00007f6c4c9021c0 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55d7e756d9b0, e=0x7f6c2c0017f0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#44 0x00007f6c4b76a958 in QCoreApplication::notifyInternal2
(receiver=0x55d7e756d9b0, event=event@entry=0x7f6c2c0017f0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#45 0x00007f6c4b76ad30 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=0x7f6c2c0017f0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x55d7e7561b60) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#47 0x00007f6c4ba4ae18 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#48 postEventSourceDispatch (s=0x55d7e7597e50) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#49 0x00007f6c485fdf8d in g_main_dispatch (context=0x7f6c3c000f60) at
../glib/glib/gmain.c:3565
#50 0x00007f6c485ff657 in g_main_context_dispatch_unlocked
(context=0x7f6c3c000f60) at ../glib/glib/gmain.c:4425
#51 g_main_context_iterate_unlocked (context=context@entry=0x7f6c3c000f60,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/glib/gmain.c:4490
#52 0x00007f6c485ff865 in g_main_context_iteration (context=0x7f6c3c000f60,
may_block=1) at ../glib/glib/gmain.c:4556
#53 0x00007f6c4ba48152 in QEventDispatcherGlib::processEvents
(this=0x55d7e756bc80, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#54 0x00007f6c4b775786 in QEventLoop::processEvents (this=0x7ffe63a887c0,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#55 QEventLoop::exec (this=0x7ffe63a887c0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#56 0x00007f6c4b76f3f1 in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#57 0x00007f6c4c8fd32a in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2575
#58 0x000055d7cb977a34 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kalarm/kalarm-25.12.1/src/main.cpp:76
Thank you very much in advance!
--
You are receiving this mail because:
You are watching all bug changes.