Bug 27284 - speech-dispatcher sd_pico segfault in libttspico.so
Summary: speech-dispatcher sd_pico segfault in libttspico.so
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 9
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 17523
  Show dependency treegraph
 
Reported: 2020-09-17 22:19 CEST by Aurelien Oudelet
Modified: 2024-03-03 16:58 CET (History)
3 users (show)

See Also:
Source RPM: speech-dispatcher-0.10.2-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Aurelien Oudelet 2020-09-17 22:19:16 CEST
speech-dispatcher is installed on M8 since kmail need akonadi-kde and akonadi-kde need
libQt5TextToSpeech.so.5 which need libspeechd2 (See 27277)

Since I see sometimes a segfault:

Affected package:
speech-dispatcher-0.10.1-3.mga8.x86_64:
/usr/lib64/speech-dispatcher-modules/sd_pico

Logs around segfault:
systemd[2507]: Started app-org.kde.kmail2-48da95fefcee4efd8b08636b9b7314c8.scope.
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber "" disconnected
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f01b7780) )
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f0046ac0) )
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f01b7780) )
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f00459d0) )
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f002b110) )
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f0046ac0) identified as "KMail Kernel ETM - 21677952"
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f01b7780) identified as "SpecialCollectionsMonitor - 21986432"
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f00459d0) identified as "MessageListTagMonitor - 22487232"
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f002b110) identified as "TagActionManagerMonitor - 24244224"
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f0046cd0) )
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f0046cd0) identified as "FilterManagerTagMonitor - 24493504"
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f026a6b0) )
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f026a6b0) identified as "MessageListTagCacheMonitor - 30104848"
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f027ba70) )
kernel: sd_pico[63624]: segfault at 7f4c76d57010 ip 00007f4c78564bee sp 00007ffd06fa8e28 error 4 in libttspico.so.0.0.0[7f4c78562000+39000]
kernel: Code: be e2 ff ff ff 31 c0 e8 e0 e5 ff ff eb c9 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 31 c0 48 85 ff 74 0f 89 f8 35 6f 63 69 50 <39> 07 0f 94 c0 0f b6 c0 c3 66 0f 1f 84 00 00 00 00 00 48 85 ff>
kmail[64968]: Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber "" disconnected
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f02e7010) )
akonadiserver[2884]: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f07f024bb50) )
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f02e7010) identified as "MessageViewerMonitor - 140190887253200"
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f02e7010) identified as "MessageViewerMonitor - 140190887253200"
akonadiserver[2884]: org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f07f024bb50) identified as "TagActionManagerMonitor - 55977488"

This appears to be random.
Sometimes it occurs when receiving a new mail, sometimes no.
There are:
# journalctl -b | grep segfault
sept. 17 15:01:15 kernel: sd_pico[3233]: segfault at 7f4e7fda9010 ip 00007f4e815b6bee sp 00007fff6b0b5648 error 4 in libttspico.so.0.0.0[7f4e815b4000+39000]
sept. 17 15:44:34 kernel: sd_pico[25251]: segfault at 7f4726c3d010 ip 00007f472844abee sp 00007ffe2edccd78 error 4 in libttspico.so.0.0.0[7f4728448000+39000]
sept. 17 15:49:34 kernel: sd_pico[25645]: segfault at 7fb46096c010 ip 00007fb462179bee sp 00007ffdb322b698 error 4 in libttspico.so.0.0.0[7fb462177000+39000]
sept. 17 19:58:35 kernel: sd_pico[37372]: segfault at 7f3eb1920010 ip 00007f3eb312dbee sp 00007fffd3b02728 error 4 in libttspico.so.0.0.0[7f3eb312b000+39000]
sept. 17 20:18:19 kernel: sd_pico[39064]: segfault at 7f628c5c6010 ip 00007f628ddd3bee sp 00007ffdaba03a28 error 4 in libttspico.so.0.0.0[7f628ddd1000+39000]
sept. 17 21:28:54 kernel: sd_pico[63094]: segfault at 7f486b9d4010 ip 00007f486d1e1bee sp 00007ffdcd67c178 error 4 in libttspico.so.0.0.0[7f486d1df000+39000]
sept. 17 21:37:56 kernel: sd_pico[63624]: segfault at 7f4c76d57010 ip 00007f4c78564bee sp 00007ffd06fa8e28 error 4 in libttspico.so.0.0.0[7f4c78562000+39000]
sept. 17 22:07:44 kernel: sd_pico[65947]: segfault at 7f361c7c0010 ip 00007f361dfcdbee sp 00007fffe766a478 error 4 in libttspico.so.0.0.0[7f361dfcb000+39000]


Assigning to all packagers as no registered maintainer.
CC'd recent committer.
Comment 1 Aurelien Oudelet 2020-10-18 13:43:51 CEST
speech-dispatcherd.service failed each boot.

drakxservices[16049]: running: /bin/systemctl --no-block restart speech-dispatcherd.service
oct. 18 13:31:20 mageia.local drakxservices[16049]: running: /bin/systemctl --quiet is-active speech-dispatcherd.service
oct. 18 13:31:20 mageia.local systemd[1]: Starting Speech-Dispatcher, common interface to speech synthesizers...
oct. 18 13:31:20 mageia.local speech-dispatcher[16340]: [Sun Oct 18 13:31:20 2020 : 362807] speechd: Speech Dispatcher 0.10.1 starting
oct. 18 13:31:20 mageia.local kernel: sd_pico[16365]: segfault at 7f1153b5a010 ip 00007f1155367bee sp 00007ffefcdd3c28 error 4 in libttspico.so.0.0.0[7f1155365000+39000]
oct. 18 13:31:20 mageia.local kernel: Code: be e2 ff ff ff 31 c0 e8 e0 e5 ff ff eb c9 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 31 c0 48 85 ff 74 0f 89 f8 35 6f 63 69 50 <39> 07 0f 94 c0 0f b6 c0 c3 66 0f 1f 84 00 00 00 00 00 48 85 ff 74
oct. 18 13:31:20 mageia.local systemd[1]: speech-dispatcherd.service: Control process exited, code=exited, status=1/FAILURE
oct. 18 13:31:20 mageia.local systemd[1]: speech-dispatcherd.service: Failed with result 'exit-code'.
oct. 18 13:31:20 mageia.local systemd[1]: Failed to start Speech-Dispatcher, common interface to speech synthesizers.


No new upstream release.
Aurelien Oudelet 2020-10-29 16:13:22 CET

Blocks: (none) => 17523

Comment 2 Aurelien Oudelet 2021-02-21 20:36:31 CET
kernel: sd_pico[36897]: segfault at 7ffff688b010 ip 00007ffff7f6dbee sp 00007fffffffd998 error 4 in libttspico.so.0.0.0[7ffff7f6b000+39000]

kernel: Code: be e2 ff ff ff 31 c0 e8 e0 e5 ff ff eb c9 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 31 c0 48 85 ff 74 0f 89 f8 35 6f 63 69 50 <39> 07 0f 94 c0 0f b6 c0 c3 66 0f 1f 84 00 00 00 00 00 48 85 ff 

it segfaults each time KMail is started.

KMail needs Akonadi-kde which needs libQt5TextToSpeech.so.5 which needs libspeechd2...
sd_pico is speech-dispatcher that is recommended with that above lib.
But, it segfaults on my system.

systemctl status speech-dispatcherd.service 
● speech-dispatcherd.service - Speech-Dispatcher, common interface to speech synthesizers
     Loaded: loaded (/usr/lib/systemd/system/speech-dispatcherd.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sun 2021-02-21 20:35:38 CET; 14s ago
    Process: 37894 ExecStart=/usr/bin/speech-dispatcher -d (code=exited, status=1/FAILURE)
        CPU: 32ms

févr. 21 20:35:38 mageia.local systemd[1]: Starting Speech-Dispatcher, common interface to speech synthesizers...
févr. 21 20:35:38 mageia.local speech-dispatcher[37894]: [Sun Feb 21 20:35:38 2021 : 289490] speechd: Speech Dispatcher 0.10.2 starting
févr. 21 20:35:38 mageia.local systemd[1]: speech-dispatcherd.service: Control process exited, code=exited, status=1/FAILURE
févr. 21 20:35:38 mageia.local systemd[1]: speech-dispatcherd.service: Failed with result 'exit-code'.
févr. 21 20:35:38 mageia.local systemd[1]: Failed to start Speech-Dispatcher, common interface to speech synthesizers.

Source RPM: peech-dispatcher-0.10.1-3.mga8.src.rpm => speech-dispatcher-0.10.2-1.mga8.src.rpm
Target Milestone: Mageia 8 => Mageia 9
Keywords: Triaged => (none)

Comment 3 Jean-Christophe Cardot 2021-10-24 19:19:55 CEST
Just noticed this in my kernel journal today at startup:

[fred@localhost ~]$ sudo journalctl -xb |grep sd_pico
oct. 24 19:02:25 localhost.localdomain audit[4518]: ANOM_ABEND auid=502 uid=502 gid=502 ses=3 pid=4518 comm="sd_pico" exe="/usr/lib64/speech-dispatcher-modules/sd_pico" sig=11 res=1
oct. 24 19:02:25 localhost.localdomain kernel: sd_pico[4518]: segfault at 7fa02a9fc010 ip 00007fa02c26ebee sp 00007ffe3e48e1a8 error 4 in libttspico.so.0.0.0[7fa02c26c000+39000]
oct. 24 19:02:25 localhost.localdomain kernel: audit: type=1701 audit(1635094945.698:138): auid=502 uid=502 gid=502 ses=3 pid=4518 comm="sd_pico" exe="/usr/lib64/speech-dispatcher-modules/sd_pico" sig=11 res=1

CC: (none) => mageia

Comment 4 Giuseppe Ghibò 2023-03-08 13:53:25 CET
I've updated speech-dispatcher and libttspico in cauldron core/updates_testing. Please test if this still occurs.

CC: (none) => ghibomgx

Comment 5 David GEIGER 2024-03-03 16:58:04 CET
Fixed by  Giuseppe Ghibò, so closing as fixed!

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.