dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Flatpak crashing a few seconds after starting following update (v4.6.0)

Open MDR1098 opened this issue 1 year ago • 19 comments

The app starts but crashes after a few seconds. I have uninstalled (including all data) and reinstalled but still having the same issue. Output from terminal: [I] 20:53:50.121502056.121 0x7dd0dd3cbd00 init:49 - logging to stderr enabled [D] 20:53:50.121558474.121 0x7dd0dd3cbd00 () - version: 4.6.0 [D] 20:53:50.121892167.121 0x7dd0dd3cbd00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d [D] 20:53:50.121961517.121 0x7dd0dd3cbd00 parse_cpuinfo:125 - cpuinfo: processor-count=4, flags=[avx, f16c, sse4.1, ] [D] 20:53:50.122059424.122 0x7dd0dd3cbd00 () - translation: "en_GB" [D] 20:53:50.122126239.122 0x7dd0dd3cbd00 () - starting standalone app [D] 20:53:50.123507579.123 0x7dd0dd3cbd00 () - app: net.mkiol dsnote [D] 20:53:50.123523881.123 0x7dd0dd3cbd00 () - config location: "/home/martin/.var/app/net.mkiol.SpeechNote/config" [D] 20:53:50.123532955.123 0x7dd0dd3cbd00 () - data location: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote" [D] 20:53:50.123542507.123 0x7dd0dd3cbd00 () - cache location: "/home/martin/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote" [D] 20:53:50.123561912.123 0x7dd0dd3cbd00 () - settings file: "/home/martin/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf" [D] 20:53:50.123568432.123 0x7dd0dd3cbd00 () - platform: "wayland" [D] 20:53:50.123620840.123 0x7dd0dd3cbd00 () - enforcing num threads: 0 [D] 20:53:50.152474237.152 0x7dd0dd3cbd00 () - starting service: app-standalone [D] 20:53:50.154874681.154 0x7dd0dd3cbd00 () - mbrola dir: "/app/bin" [D] 20:53:50.154911763.154 0x7dd0dd3cbd00 () - espeak dir: "/app/bin" [D] 20:53:50.155032224.155 0x7dd0bea00680 loop:88 - py executor loop started [D] 20:53:50.155054272.155 0x7dd0bea00680 set_env:84 - set env: PYTHONIOENCODING = utf-8 [D] 20:53:50.155063987.155 0x7dd0bea00680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1 [D] 20:53:50.155071436.155 0x7dd0bea00680 set_env:84 - set env: HF_HUB_OFFLINE = 1 [D] 20:53:50.155078284.155 0x7dd0bea00680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000 [D] 20:53:50.155108706.155 0x7dd0bea00680 set_env:84 - set env: HF_HUB_CACHE = /home/martin/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote [D] 20:53:50.160490191.160 0x7dd0dd3cbd00 () - module already unpacked: "rhvoicedata" [D] 20:53:50.160573563.160 0x7dd0dd3cbd00 () - module already unpacked: "rhvoiceconfig" [D] 20:53:50.165982273.165 0x7dd0dd3cbd00 () - module already unpacked: "espeakdata" [D] 20:53:50.166487954.166 0x7dd0dd3cbd00 () - default stt model not found: "en" [D] 20:53:50.166512936.166 0x7dd0dd3cbd00 () - default tts model not found: "en" [D] 20:53:50.166520931.166 0x7dd0dd3cbd00 () - default mnt lang not found: "en" [D] 20:53:50.166531427.166 0x7dd0dd3cbd00 () - new default mnt lang: "en" [D] 20:53:50.166544769.166 0x7dd0dd3cbd00 () - service refresh status, new state: busy [D] 20:53:50.166551581.166 0x7dd0dd3cbd00 () - service state changed: unknown => busy [D] 20:53:50.166558466.166 0x7dd0dd3cbd00 () - delaying features availability [D] 20:53:50.167373776.167 0x7dd0c9000680 () - config version: 90 90 [D] 20:53:50.168767329.168 0x7dd0dd3cbd00 () - runtime prefix: "/app" [D] 20:53:50.169087928.169 0x7dd0dd3cbd00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal") [D] 20:53:50.169182469.169 0x7dd0dd3cbd00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2") [D] 20:53:50.169199292.169 0x7dd0dd3cbd00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports") [D] 20:53:50.169208159.169 0x7dd0dd3cbd00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin") [D] 20:53:50.169216316.169 0x7dd0dd3cbd00 () - using auto qt style [D] 20:53:50.169223265.169 0x7dd0dd3cbd00 () - XDG_CURRENT_DESKTOP: KDE [D] 20:53:50.169229846.169 0x7dd0dd3cbd00 () - switching to style: "org.kde.desktop" [D] 20:53:50.169334797.169 0x7dd0bea00680 libs_availability:62 - checking: torch cuda [D] 20:53:50.169535107.169 0x7dd0dd3cbd00 () - desktop file: "net.mkiol.SpeechNote" [D] 20:53:50.214844309.214 0x7dd0c9000680 () - models changed [D] 20:53:51.030836896.30 0x7dd0dd3cbd00 state_pa_callback:30 - pa authorizing [D] 20:53:51.032609910.32 0x7dd0dd3cbd00 state_pa_callback:33 - pa setting name [D] 20:53:51.039446790.39 0x7dd0dd3cbd00 state_pa_callback:36 - pa ready [D] 20:53:51.040015395.40 0x7dd082200680 source_info_pa_callback:206 - pa source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Monitor of Built-in Audio Analog Stereo [D] 20:53:51.040153017.40 0x7dd082200680 source_info_pa_callback:206 - pa source: alsa_input.pci-0000_00_1b.0.analog-stereo Built-in Audio Analog Stereo [D] 20:53:51.051414079.51 0x7dd0dd3cbd00 () - starting app: app-standalone [D] 20:53:51.054565947.54 0x7dd0dd3cbd00 () - app service state: unknown => busy [D] 20:53:51.054683910.54 0x7dd0dd3cbd00 () - app busy: false => true [D] 20:53:51.054701412.54 0x7dd0dd3cbd00 () - app connected: false = > true [W] 20:53:51.054974157.54 0x7dd0dd3cbd00 () - hot keys are supported only under x11 logger error: invalid format string qrc:/qml/main.qml:386:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } logger error: invalid format string qrc:/qml/main.qml:377:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } logger error: invalid format string qrc:/qml/Notepad.qml:24:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } logger error: invalid format string qrc:/qml/Translator.qml:30:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [D] 20:53:51.248844615.248 0x7dd0dd3cbd00 onCompleted:168 - default font pixel size: 13 [D] 20:53:51.265142137.265 0x7dd0dd3cbd00 () - default stt model not found: "en" [D] 20:53:51.265180824.265 0x7dd0dd3cbd00 () - default tts model not found: "en" [D] 20:53:51.265190885.265 0x7dd0dd3cbd00 () - default mnt lang not found: "en" [D] 20:53:51.265197661.265 0x7dd0dd3cbd00 () - new default mnt lang: "en" [D] 20:53:51.265207162.265 0x7dd0dd3cbd00 () - service refresh status, new state: busy [D] 20:53:51.265228607.265 0x7dd0dd3cbd00 () - service refresh status, new state: busy [D] 20:53:51.300069991.300 0x7dd0dd3cbd00 () - trying features availability update: false [W] 20:53:51.317587395.317 0x7dd0dd3cbd00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth" [W] 20:53:51.327994584.327 0x7dd0dd3cbd00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth" [W] 20:53:51.335677856.335 0x7dd0dd3cbd00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth" [W] 20:53:51.356534064.356 0x7dd0dd3cbd00 ():289 - qrc:/qml/Translator.qml:289:9: QML ColumnLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredWidth" [D] 20:53:51.357829279.357 0x7dd0dd3cbd00 () - stt models changed [D] 20:53:51.357965222.357 0x7dd0dd3cbd00 () - update listen [D] 20:53:51.357990058.357 0x7dd0dd3cbd00 () - tts models changed [D] 20:53:51.358042780.358 0x7dd0dd3cbd00 () - update listen [W] 20:53:51.358062506.358 0x7dd0dd3cbd00 () - no available tts models for in mnt [W] 20:53:51.358072117.358 0x7dd0dd3cbd00 () - no available tts models for out mnt [D] 20:53:51.358078552.358 0x7dd0dd3cbd00 () - ttt models changed [D] 20:53:51.362301892.362 0x7dd0dd3cbd00 () - mnt langs changed [D] 20:53:51.362486781.362 0x7dd0dd3cbd00 () - update listen [W] 20:53:51.362504339.362 0x7dd0dd3cbd00 () - no available mnt langs [W] 20:53:51.362511694.362 0x7dd0dd3cbd00 () - no available mnt out langs [D] 20:53:51.890182592.890 0x7dd0bea00680 libs_availability:70 - checking: coqui tts [D] 20:53:51.890571512.890 0x7dd0bea00680 libs_availability:78 - checking: whisperspeech tts [D] 20:53:51.890836993.890 0x7dd0bea00680 libs_availability:86 - checking: faster-whisper [D] 20:53:52.109544583.109 0x7dd0dd3cbd00 () - trying features availability update: false [D] 20:53:52.467697274.467 0x7dd0bea00680 libs_availability:94 - checking: transformers [D] 20:53:52.467733232.467 0x7dd0bea00680 libs_availability:96 - checking: accelerate [D] 20:53:53.109512722.109 0x7dd0dd3cbd00 () - trying features availability update: false [D] 20:53:53.649032756.649 0x7dd0bea00680 libs_availability:104 - checking: unikud [D] 20:53:53.649414592.649 0x7dd0bea00680 libs_availability:115 - checking: mimic3 tts [D] 20:53:54.092846977.92 0x7dd0dd3cbd00 () - trying features availability update: false [D] 20:53:54.508515341.508 0x7dd0bea00680 libs_availability:123 - checking: gruut [D] 20:53:54.508553217.508 0x7dd0bea00680 libs_availability:127 - checking: gruut-de [D] 20:53:54.508919875.508 0x7dd0bea00680 libs_availability:135 - checking: gruut-es [D] 20:53:54.509246468.509 0x7dd0bea00680 libs_availability:143 - checking: gruut-fr [D] 20:53:54.509846725.509 0x7dd0bea00680 libs_availability:151 - checking: gruut-it [D] 20:53:54.510189958.510 0x7dd0bea00680 libs_availability:159 - checking: gruut-ru [D] 20:53:54.510486911.510 0x7dd0bea00680 libs_availability:167 - checking: gruut-fa [D] 20:53:54.510782267.510 0x7dd0bea00680 libs_availability:175 - checking: gruut-sw [D] 20:53:54.511059073.511 0x7dd0bea00680 libs_availability:183 - checking: gruut-nl [D] 20:53:54.511396441.511 0x7dd0bea00680 libs_availability:194 - checking: mecab [D] 20:53:54.514477843.514 0x7dd0bea00680 libs_availability:196 - checking: unidic-lite [D] 20:53:54.515085285.515 0x7dd0bea00680 libs_availability:203 - py libs availability: [coqui-tts=true, faster-whisper=true, mimic3-tts=true, whisperspeech-tts=true, transformers=true, unikud=true, gruut_de=true, gruut_es=true, gruut_fa=true, gruut_fr=true, gruut_nl=true, gruut_it=true, gruut_ru=true, gruut_sw=true, mecab=true, torch-cuda=false] [D] 20:53:55.109623910.109 0x7dd0dd3cbd00 () - trying features availability update: true [D] 20:53:55.109673438.109 0x7dd0dd3cbd00 () - features availability ready [W] 20:53:55.109986302.109 0x7dd0dd3cbd00 has_lib:877 - failed to open libcudart.so: libcudart.so: cannot open shared object file: No such file or directory [W] 20:53:55.110247033.110 0x7dd0dd3cbd00 has_lib:877 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory [W] 20:53:55.110475749.110 0x7dd0dd3cbd00 has_lib:877 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory

MDR1098 avatar Aug 07 '24 21:08 MDR1098

Hello. Thanks fro the report.

Most likely the crash occurs when the app scans for graphics cards. There is a command line option --hw-scan-off that disables this scanning.

To better understand what is wrong, would you be able to run the application with a debugger (before using --hw-scan-off)? To do in you need follow this steps:

# before test
flatpak install runtime/org.kde.Sdk/x86_64/5.15-23.08

# test
flatpak run --command=sh --devel net.mkiol.SpeechNote
gdb -batch -ex "run" -ex "bt" --args /app/bin/dsnote --verbose
exit

# after test
flatpak uninstall runtime/org.kde.Sdk/x86_64/5.15-23.08

To disable scanning on app start use this:

flatpak run net.mkiol.SpeechNote --hw-scan-off

mkiol avatar Aug 09 '24 04:08 mkiol

Hi. Thanks for your reply. I have run the debugger with the output below. I have also run with the --hw-scan-off option but the app still crashes as before.

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.ubuntu.com>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffefe00680 (LWP 12)]
[New Thread 0x7fffed600680 (LWP 13)]
[New Thread 0x7fffecc00680 (LWP 14)]
[New Thread 0x7fffe5a00680 (LWP 15)]
[New Thread 0x7fffe5000680 (LWP 16)]
[New Thread 0x7fffd6a00680 (LWP 17)]
[Thread 0x7fffd6a00680 (LWP 17) exited]
[Thread 0x7fffe5000680 (LWP 16) exited]
[I] 07:20:50.477109579.477 0x7ffff45c8d00 init:49 - logging to stderr enabled
[D] 07:20:50.479727821.479 0x7ffff45c8d00 () - version: 4.6.0
[D] 07:20:50.480106097.480 0x7ffff45c8d00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d
[D] 07:20:50.480162601.480 0x7ffff45c8d00 parse_cpuinfo:125 - cpuinfo: processor-count=4, flags=[avx, f16c, sse4.1, ]
[D] 07:20:50.481188130.481 0x7ffff45c8d00 () - translation: "en_GB"
[D] 07:20:50.481259607.481 0x7ffff45c8d00 () - starting standalone app
[D] 07:20:50.483471741.483 0x7ffff45c8d00 () - app: net.mkiol dsnote
[D] 07:20:50.483497910.483 0x7ffff45c8d00 () - config location: "/home/martin/.var/app/net.mkiol.SpeechNote/config"
[D] 07:20:50.483510812.483 0x7ffff45c8d00 () - data location: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote"
[D] 07:20:50.483520362.483 0x7ffff45c8d00 () - cache location: "/home/martin/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote"
[D] 07:20:50.483527408.483 0x7ffff45c8d00 () - settings file: "/home/martin/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf"
[D] 07:20:50.483534653.483 0x7ffff45c8d00 () - platform: "wayland"
[D] 07:20:50.484068792.484 0x7ffff45c8d00 () - enforcing num threads: 0
[Detaching after fork from child process 18]
[D] 07:20:51.467903177.467 0x7ffff45c8d00 () - starting service: app-standalone
[New Thread 0x7fffe5000680 (LWP 19)]
[New Thread 0x7fffd6a00680 (LWP 20)]
[D] 07:20:51.527610513.527 0x7ffff45c8d00 () - mbrola dir: "/app/bin"
[D] 07:20:51.528513517.528 0x7ffff45c8d00 () - espeak dir: "/app/bin"
[New Thread 0x7fffd6000680 (LWP 21)]
[D] 07:20:51.528776949.528 0x7fffd6000680 loop:88 - py executor loop started
[D] 07:20:51.528801837.528 0x7fffd6000680 set_env:84 - set env: PYTHONIOENCODING = utf-8
[D] 07:20:51.528811701.528 0x7fffd6000680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1
[D] 07:20:51.528818760.528 0x7fffd6000680 set_env:84 - set env: HF_HUB_OFFLINE = 1
[D] 07:20:51.528825729.528 0x7fffd6000680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000
[D] 07:20:51.528856267.528 0x7fffd6000680 set_env:84 - set env: HF_HUB_CACHE = /home/martin/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote
[D] 07:20:51.567751838.567 0x7fffd6000680 libs_availability:62 - checking: torch cuda
[D] 07:20:51.570206789.570 0x7fffd6a00680 () - config version: 90 90
[D] 07:20:51.579737772.579 0x7ffff45c8d00 () - module already unpacked: "rhvoicedata"
[D] 07:20:51.585664443.585 0x7ffff45c8d00 () - module already unpacked: "rhvoiceconfig"
[D] 07:20:51.632263071.632 0x7ffff45c8d00 () - module already unpacked: "espeakdata"
[D] 07:20:51.638929159.638 0x7ffff45c8d00 () - default stt model not found: "en"
[D] 07:20:51.638980223.638 0x7ffff45c8d00 () - default tts model not found: "en"
[D] 07:20:51.638998229.638 0x7ffff45c8d00 () - default mnt lang not found: "en"
[D] 07:20:51.639012972.639 0x7ffff45c8d00 () - new default mnt lang: "en"
[D] 07:20:51.639030416.639 0x7ffff45c8d00 () - service refresh status, new state: busy
[D] 07:20:51.639044737.639 0x7ffff45c8d00 () - service state changed: unknown => busy
[D] 07:20:51.639061760.639 0x7ffff45c8d00 () - delaying features availability
[New Thread 0x7fffd5600680 (LWP 22)]
[D] 07:20:51.673997640.673 0x7ffff45c8d00 () - runtime prefix: "/app"
[D] 07:20:51.673929824.673 0x7fffd6a00680 () - models changed
[Thread 0x7fffd6a00680 (LWP 20) exited]
[D] 07:20:51.696584198.696 0x7ffff45c8d00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal")
[D] 07:20:51.696748842.696 0x7ffff45c8d00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2")
[D] 07:20:51.696775251.696 0x7ffff45c8d00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports")
[D] 07:20:51.696787683.696 0x7ffff45c8d00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin")
[D] 07:20:51.696799884.696 0x7ffff45c8d00 () - using auto qt style
[D] 07:20:51.696809154.696 0x7ffff45c8d00 () - XDG_CURRENT_DESKTOP: KDE
[D] 07:20:51.696818671.696 0x7ffff45c8d00 () - switching to style: "org.kde.desktop"
[D] 07:20:51.697135063.697 0x7ffff45c8d00 () - desktop file: "net.mkiol.SpeechNote"
[New Thread 0x7fffcd000680 (LWP 23)]
[New Thread 0x7fffc1c00680 (LWP 24)]
[New Thread 0x7fffc1200680 (LWP 25)]
[New Thread 0x7fff9ac00680 (LWP 26)]
[New Thread 0x7fff9a200680 (LWP 27)]
[New Thread 0x7fff99800680 (LWP 28)]
[D] 07:20:55.092979645.92 0x7ffff45c8d00 state_pa_callback:30 - pa authorizing
[D] 07:20:55.093684667.93 0x7ffff45c8d00 state_pa_callback:33 - pa setting name
[D] 07:20:55.100531128.100 0x7ffff45c8d00 state_pa_callback:36 - pa ready
[New Thread 0x7fff98e00680 (LWP 29)]
[D] 07:20:55.106108840.106 0x7fff98e00680 source_info_pa_callback:206 - pa source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Monitor of Built-in Audio Analog Stereo
[D] 07:20:55.106185459.106 0x7fff98e00680 source_info_pa_callback:206 - pa source: alsa_input.pci-0000_00_1b.0.analog-stereo Built-in Audio Analog Stereo
[Thread 0x7fff9ac00680 (LWP 26) exited]
[Thread 0x7fff99800680 (LWP 28) exited]
[Thread 0x7fff9a200680 (LWP 27) exited]
[D] 07:20:55.817220347.817 0x7ffff45c8d00 () - starting app: app-standalone
[D] 07:20:55.820598594.820 0x7ffff45c8d00 () - app service state: unknown => busy
[D] 07:20:55.820638206.820 0x7ffff45c8d00 () - app busy: false => true
[D] 07:20:55.820652799.820 0x7ffff45c8d00 () - app connected: false  = >  true
[W] 07:20:55.823860100.823 0x7ffff45c8d00 () - hot keys are supported only under x11
logger error: invalid format string
qrc:/qml/main.qml:386:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/main.qml:377:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/Notepad.qml:24:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/Translator.qml:30:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[D] 07:20:56.139350905.139 0x7ffff45c8d00 onCompleted:168 - default font pixel size: 13
[D] 07:20:56.151122101.151 0x7ffff45c8d00 () - default stt model not found: "en"
[D] 07:20:56.151177233.151 0x7ffff45c8d00 () - default tts model not found: "en"
[D] 07:20:56.151185694.151 0x7ffff45c8d00 () - default mnt lang not found: "en"
[D] 07:20:56.151192481.151 0x7ffff45c8d00 () - new default mnt lang: "en"
[D] 07:20:56.151205793.151 0x7ffff45c8d00 () - service refresh status, new state: busy
[D] 07:20:56.151251778.151 0x7ffff45c8d00 () - service refresh status, new state: busy
[D] 07:20:56.192105609.192 0x7ffff45c8d00 () - trying features availability update: false
[W] 07:20:56.212149673.212 0x7ffff45c8d00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth"
[W] 07:20:56.224811532.224 0x7ffff45c8d00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth"
[W] 07:20:56.232900383.232 0x7ffff45c8d00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth"
[W] 07:20:56.257318959.257 0x7ffff45c8d00 ():289 - qrc:/qml/Translator.qml:289:9: QML ColumnLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredWidth"
[D] 07:20:56.258909987.258 0x7ffff45c8d00 () - stt models changed
[D] 07:20:56.259265048.259 0x7ffff45c8d00 () - update listen
[D] 07:20:56.259298245.259 0x7ffff45c8d00 () - tts models changed
[D] 07:20:56.259356772.259 0x7ffff45c8d00 () - update listen
[W] 07:20:56.259376727.259 0x7ffff45c8d00 () - no available tts models for in mnt
[W] 07:20:56.259385584.259 0x7ffff45c8d00 () - no available tts models for out mnt
[D] 07:20:56.259392125.259 0x7ffff45c8d00 () - ttt models changed
[D] 07:20:56.263899415.263 0x7ffff45c8d00 () - mnt langs changed
[D] 07:20:56.264035669.264 0x7ffff45c8d00 () - update listen
[W] 07:20:56.264055216.264 0x7ffff45c8d00 () - no available mnt langs
[W] 07:20:56.264062608.264 0x7ffff45c8d00 () - no available mnt out langs
[New Thread 0x7fff99800680 (LWP 30)]
[New Thread 0x7fff9a200680 (LWP 31)]
[D] 07:20:57.098190743.98 0x7ffff45c8d00 () - trying features availability update: false
[D] 07:20:57.594820137.594 0x7fffd6000680 libs_availability:70 - checking: coqui tts
[D] 07:20:57.596410078.596 0x7fffd6000680 libs_availability:78 - checking: whisperspeech tts
[D] 07:20:57.597636062.597 0x7fffd6000680 libs_availability:86 - checking: faster-whisper
[D] 07:20:58.098159336.98 0x7ffff45c8d00 () - trying features availability update: false
[D] 07:20:59.069719710.69 0x7ffff45c8d00 () - trying features availability update: false
[D] 07:21:00.082541774.82 0x7ffff45c8d00 () - trying features availability update: false
[D] 07:21:00.136971231.136 0x7fffd6000680 libs_availability:94 - checking: transformers
[D] 07:21:00.137018033.137 0x7fffd6000680 libs_availability:96 - checking: accelerate
[D] 07:21:01.081255402.81 0x7ffff45c8d00 () - trying features availability update: false
[D] 07:21:02.076386400.76 0x7fffd6000680 libs_availability:104 - checking: unikud
[D] 07:21:02.077055804.77 0x7fffd6000680 libs_availability:115 - checking: mimic3 tts
[D] 07:21:02.081023818.81 0x7ffff45c8d00 () - trying features availability update: false
[D] 07:21:03.097611416.97 0x7ffff45c8d00 () - trying features availability update: false
[D] 07:21:03.627098530.627 0x7fffd6000680 libs_availability:123 - checking: gruut
[D] 07:21:03.627148722.627 0x7fffd6000680 libs_availability:127 - checking: gruut-de
[D] 07:21:03.628065147.628 0x7fffd6000680 libs_availability:135 - checking: gruut-es
[D] 07:21:03.628927013.628 0x7fffd6000680 libs_availability:143 - checking: gruut-fr
[D] 07:21:03.629837042.629 0x7fffd6000680 libs_availability:151 - checking: gruut-it
[D] 07:21:03.630600259.630 0x7fffd6000680 libs_availability:159 - checking: gruut-ru
[D] 07:21:03.631443698.631 0x7fffd6000680 libs_availability:167 - checking: gruut-fa
[D] 07:21:03.632247709.632 0x7fffd6000680 libs_availability:175 - checking: gruut-sw
[D] 07:21:03.633088975.633 0x7fffd6000680 libs_availability:183 - checking: gruut-nl
[D] 07:21:03.634019379.634 0x7fffd6000680 libs_availability:194 - checking: mecab
[D] 07:21:03.663744885.663 0x7fffd6000680 libs_availability:196 - checking: unidic-lite
[D] 07:21:03.665634865.665 0x7fffd6000680 libs_availability:203 - py libs availability: [coqui-tts=true, faster-whisper=true, mimic3-tts=true, whisperspeech-tts=true, transformers=true, unikud=true, gruut_de=true, gruut_es=true, gruut_fa=true, gruut_fr=true, gruut_nl=true, gruut_it=true, gruut_ru=true, gruut_sw=true, mecab=true, torch-cuda=false]
[D] 07:21:04.080945949.80 0x7ffff45c8d00 () - trying features availability update: true
[D] 07:21:04.080980107.80 0x7ffff45c8d00 () - features availability ready
[W] 07:21:04.081222578.81 0x7ffff45c8d00 has_lib:877 - failed to open libcudart.so: libcudart.so: cannot open shared object file: No such file or directory
[W] 07:21:04.081337280.81 0x7ffff45c8d00 has_lib:877 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory
[W] 07:21:04.081424906.81 0x7ffff45c8d00 has_lib:877 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory
[Detaching after vfork from child process 32]
[New Thread 0x7fff9ac00680 (LWP 34)]
[New Thread 0x7fff68400680 (LWP 35)]
[New Thread 0x7fff67a00680 (LWP 36)]

Thread 1 "dsnote" received signal SIGILL, Illegal instruction.
0x00007fff731fab4d in ?? () from /app/lib/libbergamot_api.so
#0  0x00007fff731fab4d in ??? () at /app/lib/libbergamot_api.so
#1  0x00007ffff7fce187 in call_init () at /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff7fce27d in _dl_init () at /lib64/ld-linux-x86-64.so.2
#3  0x00007ffff7fca5c2 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff7fd4dcc in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#5  0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2
#6  0x00007ffff7fd5144 in _dl_open () at /lib64/ld-linux-x86-64.so.2
#7  0x00007ffff3e9dc04 in dlopen_doit () at /usr/lib/x86_64-linux-gnu/libc.so.6
#8  0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2
#9  0x00007ffff7fca679 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#10 0x00007ffff3e9d6e3 in _dlerror_run () at /usr/lib/x86_64-linux-gnu/libc.so.6
#11 0x00007ffff3e9dcbf in dlopen () at /usr/lib/x86_64-linux-gnu/libc.so.6
#12 0x00005555557be641 in ??? ()
#13 0x00005555556d7aee in ??? ()
#14 0x00005555556dcb00 in ??? ()
#15 0x00007ffff43186f2 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff431c78a in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff430c02b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff777ad6e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff42dfca8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ffff4338979 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff4339224 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff4d6fe59 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff4dcd2b8 in g_main_context_iterate.isra () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff4d6d513 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff4339586 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff42de73b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff42e6bd0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x0000555555610587 in main ()

MDR1098 avatar Aug 09 '24 07:08 MDR1098

Many thanks for the logs.

It is definitely not a problem with GPU scan. The crash is due to unsupported CPU instruction in bergamot lib (used in Translator).

Would be able to run the debugger once more with additional command:

# before test
flatpak install runtime/org.kde.Sdk/x86_64/5.15-23.08

# test
flatpak run --command=sh --devel net.mkiol.SpeechNote
gdb -batch -ex "run" -ex "bt" -ex "disassemble /m" --args /app/bin/dsnote --verbose
exit

# after test
flatpak uninstall runtime/org.kde.Sdk/x86_64/5.15-23.08
``

mkiol avatar Aug 09 '24 16:08 mkiol

@mkiol Nothing to do with the CPU I have an Intel Xeon(R) CPU X5450 plus 3.00GHz plus 4 for Bookworm install mini.

Flatpaks find it difficult to manage the addition of pilots other than those offered by the GNU/Linux distribution.

I'll occasionally make an app

Ps : Very nice job mkiol

Knut001 avatar Aug 10 '24 15:08 Knut001

I have the same issue mkiol. I am using Zorin OS 17.1 Pro with Intel® Core™ i7-3770 CPU @ 3.40GHz × 8 NVIDIA Corporation GK107 [GeForce GTX 650]

I went through your test with help from ChatGPT. This is its summary:

"I followed the debugging steps you provided, but I encountered an issue where the gdb command couldn’t find the dsnote executable at the expected location (/app/bin/dsnote). After exploring the Flatpak environment, I found that the dsnote executable was located at a different path:

/var/lib/flatpak/app/net.mkiol.SpeechNote/x86_64/stable/active/files/bin/dsnote

I ran the gdb command using this path but encountered errors related to missing library version information (libtinfo.so.6 and libncursesw.so.6) and a segmentation fault:

LD_LIBRARY_PATH=/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/4d49c450514df9f8cfa5fe1a83b9e5cebe1fc2c9b958e8cabe4b1a23f4068d7c/files/lib/x86_64-linux-gnu/ gdb -batch -ex "run" -ex "bt" -ex "disassemble /m" --args ./dsnote --verbose gdb: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/4d49c450514df9f8cfa5fe1a83b9e5cebe1fc2c9b958e8cabe4b1a23f4068d7c/files/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by gdb) gdb: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/4d49c450514df9f8cfa5fe1a83b9e5cebe1fc2c9b958e8cabe4b1a23f4068d7c/files/lib/x86_64-linux-gnu/libncursesw.so.6: no version information available (required by gdb) gdb: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/4d49c450514df9f8cfa5fe1a83b9e5cebe1fc2c9b958e8cabe4b1a23f4068d7c/files/lib/x86_64-linux-gnu/libncursesw.so.6: no version information available (required by gdb) gdb: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/4d49c450514df9f8cfa5fe1a83b9e5cebe1fc2c9b958e8cabe4b1a23f4068d7c/files/lib/x86_64-linux-gnu/libncursesw.so.6: no version information available (required by gdb) 62016: __vdso_gettimeofdaySegmentation fault

Could this difference in paths be causing the problem? Or are the missing library versions likely to be the root cause?"

David656565 avatar Aug 11 '24 02:08 David656565

@David656565 Thanks for your analysis.

ChatGPT gets it wrong (BTW, this is not a surprise, since this tool almost always gets it wrong in more complex tasks ;-) . The path "/app/bin/dsnote" is correct because it is the path seen from inside the flatpak sandbox, not from the perspective of your normal file system.

I see that you used gdb -batch -ex "run" -ex "bt" -ex "disassemble /m" --args ./dsnote --verbose command, but you should definitely try this /app/bin/dsnote instead of ./dsnote .

The entire procedure with explanation:

# Install SDK runtime to be able to use GDB debugger inside flatpak sandbox (skip if already installed)
flatpak install runtime/org.kde.Sdk/x86_64/5.15-23.08

# Enter flatpak sandbox. A new sub-shell will be opened.
# In this sub-shell /app/bin/dsnote should exist
flatpak run --command=sh --devel net.mkiol.SpeechNote

# Start a debugger (inside sub-shell)
# 1. execute /app/bin/dsnote ("run")
# 2. on crash print call trace that led to the crash ("bt")
# 3. on crash print cpu instructions where crash occurred ("disassemble")
gdb -batch -ex "run" -ex "bt" -ex "disassemble /m" --args /app/bin/dsnote --verbose

# Exit flatpak sandbox sub-shell
exit

# Uninstall SDK (skip if you want to repeat the test or just want to have SDK installed)
flatpak uninstall runtime/org.kde.Sdk/x86_64/5.15-23.08

mkiol avatar Aug 11 '24 06:08 mkiol

Thanks for letting me know about ChatGPT. Here is the results, I hope it helps:

[📦 net.mkiol.SpeechNote ~]$ gdb -batch -ex "run" -ex "bt" -ex "disassemble /m" --args /app/bin/dsnote --verbose [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffefe66680 (LWP 16)] [New Thread 0x7fffef665680 (LWP 17)] Gtk-Message: 16:03:07.478: Failed to load module "canberra-gtk-module" Gtk-Message: 16:03:07.478: Failed to load module "canberra-gtk-module" qt.qpa.qgnomeplatform: Could not find color scheme "" Qt: Session management error: Could not open network socket [I] 06:33:07.518454979.518 0x7ffff45c8d00 init:49 - logging to stderr enabled [D] 06:33:07.518508041.518 0x7ffff45c8d00 () - version: 4.6.0 [D] 06:33:07.518816588.518 0x7ffff45c8d00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d [D] 06:33:07.518939546.518 0x7ffff45c8d00 parse_cpuinfo:125 - cpuinfo: processor-count=8, flags=[avx, f16c, sse4.1, ] [D] 06:33:07.519023820.519 0x7ffff45c8d00 () - translation: "en_AU" [D] 06:33:07.519049271.519 0x7ffff45c8d00 () - starting standalone app [D] 06:33:07.520142331.520 0x7ffff45c8d00 () - app: net.mkiol dsnote [D] 06:33:07.520163759.520 0x7ffff45c8d00 () - config location: "/home/david/.var/app/net.mkiol.SpeechNote/config" [D] 06:33:07.520179022.520 0x7ffff45c8d00 () - data location: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote" [D] 06:33:07.520192666.520 0x7ffff45c8d00 () - cache location: "/home/david/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote" [D] 06:33:07.520204719.520 0x7ffff45c8d00 () - settings file: "/home/david/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf" [D] 06:33:07.520215050.520 0x7ffff45c8d00 () - platform: "xcb" [D] 06:33:07.520248411.520 0x7ffff45c8d00 () - nvidia gpu detected [D] 06:33:07.520284106.520 0x7ffff45c8d00 () - enforcing num threads: 0 [Detaching after fork from child process 18] [New Thread 0x7fffed1a1680 (LWP 19)] [Thread 0x7fffed1a1680 (LWP 19) exited] [New Thread 0x7fffed1a1680 (LWP 20)] [Thread 0x7fffed1a1680 (LWP 20) exited] [D] 06:33:08.096124763.96 0x7ffff45c8d00 () - starting service: app-standalone [New Thread 0x7fffed1a1680 (LWP 21)] [New Thread 0x7fffec916680 (LWP 22)] [D] 06:33:08.117900753.117 0x7ffff45c8d00 () - mbrola dir: "/app/bin" [D] 06:33:08.117935510.117 0x7ffff45c8d00 () - espeak dir: "/app/bin" [New Thread 0x7fffdffff680 (LWP 23)] [D] 06:33:08.118172704.118 0x7fffdffff680 loop:88 - py executor loop started [D] 06:33:08.118198892.118 0x7fffdffff680 set_env:84 - set env: PYTHONIOENCODING = utf-8 [D] 06:33:08.118212284.118 0x7fffdffff680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1 [D] 06:33:08.118223246.118 0x7fffdffff680 set_env:84 - set env: HF_HUB_OFFLINE = 1 [D] 06:33:08.118233064.118 0x7fffdffff680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000 [D] 06:33:08.118375762.118 0x7fffdffff680 set_env:84 - set env: HF_HUB_CACHE = /home/david/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote [D] 06:33:08.123019783.123 0x7ffff45c8d00 () - module already unpacked: "rhvoicedata" [D] 06:33:08.123093626.123 0x7ffff45c8d00 () - module already unpacked: "rhvoiceconfig" [D] 06:33:08.127998997.127 0x7ffff45c8d00 () - module already unpacked: "espeakdata" [D] 06:33:08.128379691.128 0x7ffff45c8d00 () - default stt model not found: "en_fasterwhisper_small" [D] 06:33:08.128395324.128 0x7ffff45c8d00 () - default tts model not found: "en_piper_gb_alba_medium" [D] 06:33:08.128403778.128 0x7ffff45c8d00 () - default mnt lang not found: "en" [D] 06:33:08.128410697.128 0x7ffff45c8d00 () - new default mnt lang: "en" [D] 06:33:08.128420908.128 0x7ffff45c8d00 () - service refresh status, new state: busy [D] 06:33:08.128427299.128 0x7ffff45c8d00 () - service state changed: unknown => busy [D] 06:33:08.128435835.128 0x7ffff45c8d00 () - delaying features availability [New Thread 0x7fffdf47b680 (LWP 24)] [D] 06:33:08.129855652.129 0x7fffec916680 () - config version: 90 90 [D] 06:33:08.130716604.130 0x7ffff45c8d00 () - runtime prefix: "/app" [D] 06:33:08.131017188.131 0x7ffff45c8d00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal") [D] 06:33:08.131114377.131 0x7ffff45c8d00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2") [D] 06:33:08.131134306.131 0x7ffff45c8d00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports") [D] 06:33:08.131150159.131 0x7ffff45c8d00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin") [D] 06:33:08.131163919.131 0x7ffff45c8d00 () - using auto qt style [D] 06:33:08.131176848.131 0x7ffff45c8d00 () - XDG_CURRENT_DESKTOP: zorin:GNOME [D] 06:33:08.131189605.131 0x7ffff45c8d00 () - switching to style: "org.kde.breeze" [D] 06:33:08.131436985.131 0x7ffff45c8d00 () - desktop file: "net.mkiol.SpeechNote" [D] 06:33:08.132116520.132 0x7fffdffff680 libs_availability:62 - checking: torch cuda [D] 06:33:08.182117679.182 0x7fffec916680 () - models changed [Thread 0x7fffec916680 (LWP 22) exited] [New Thread 0x7fffd11ff680 (LWP 25)] [New Thread 0x7fffd09fe680 (LWP 26)] [New Thread 0x7fffb0dff680 (LWP 27)] [New Thread 0x7fffae5fe680 (LWP 28)] [New Thread 0x7fffaddfd680 (LWP 29)] [New Thread 0x7fffa95fc680 (LWP 30)] [New Thread 0x7fffa8dfb680 (LWP 31)] [New Thread 0x7fff9e8ff680 (LWP 32)] [New Thread 0x7fff9e0fe680 (LWP 33)] [New Thread 0x7fff9d8fd680 (LWP 34)] [D] 06:33:10.188174870.188 0x7ffff45c8d00 state_pa_callback:30 - pa authorizing [D] 06:33:10.188378953.188 0x7ffff45c8d00 state_pa_callback:33 - pa setting name [D] 06:33:10.188658374.188 0x7ffff45c8d00 state_pa_callback:36 - pa ready [New Thread 0x7fff9d0fc680 (LWP 35)] [D] 06:33:10.189234423.189 0x7fff9d0fc680 source_info_pa_callback:206 - pa source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Monitor of Built-in Audio Analogue Stereo [D] 06:33:10.189276021.189 0x7fff9d0fc680 source_info_pa_callback:206 - pa source: alsa_input.pci-0000_00_1b.0.analog-stereo Built-in Audio Analogue Stereo [Thread 0x7fff9e8ff680 (LWP 32) exited] [Thread 0x7fff9d8fd680 (LWP 34) exited] [Thread 0x7fff9e0fe680 (LWP 33) exited] [D] 06:33:10.623514602.623 0x7ffff45c8d00 () - starting app: app-standalone [D] 06:33:10.623984589.623 0x7ffff45c8d00 () - app service state: unknown => busy [D] 06:33:10.624003424.624 0x7ffff45c8d00 () - app busy: false => true [D] 06:33:10.624016785.624 0x7ffff45c8d00 () - app connected: false = > true [W] 06:33:10.685640549.685 0x7ffff45c8d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 06:33:10.712687168.712 0x7ffff45c8d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 06:33:10.728504896.728 0x7ffff45c8d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" logger error: invalid format string qrc:/qml/main.qml:386:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } logger error: invalid format string qrc:/qml/main.qml:377:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 06:33:10.765768601.765 0x7ffff45c8d00 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color" [W] 06:33:10.765842436.765 0x7ffff45c8d00 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color" [W] 06:33:10.778720630.778 0x7ffff45c8d00 ():184 - qrc:/qml/ScrollTextArea.qml:184:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 06:33:10.778752015.778 0x7ffff45c8d00 ():184 - qrc:/qml/ScrollTextArea.qml:184:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" logger error: invalid format string qrc:/qml/Notepad.qml:24:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 06:33:10.799436459.799 0x7ffff45c8d00 ():184 - qrc:/qml/ScrollTextArea.qml:184:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 06:33:10.799470338.799 0x7ffff45c8d00 ():184 - qrc:/qml/ScrollTextArea.qml:184:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 06:33:10.819812126.819 0x7ffff45c8d00 ():184 - qrc:/qml/ScrollTextArea.qml:184:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 06:33:10.819845041.819 0x7ffff45c8d00 ():184 - qrc:/qml/ScrollTextArea.qml:184:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" logger error: invalid format string qrc:/qml/Translator.qml:30:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 06:33:10.863461096.863 0x7ffff45c8d00 ():116 - qrc:/qml/MainToolBar.qml:116:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 06:33:10.863497276.863 0x7ffff45c8d00 ():116 - qrc:/qml/MainToolBar.qml:116:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 06:33:10.866165193.866 0x7ffff45c8d00 ():58 - qrc:/qml/MainToolBar.qml:58:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 06:33:10.866191740.866 0x7ffff45c8d00 ():58 - qrc:/qml/MainToolBar.qml:58:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [D] 06:33:10.875008331.875 0x7ffff45c8d00 onCompleted:168 - default font pixel size: 13 [D] 06:33:10.883575066.883 0x7ffff45c8d00 () - default mnt lang not found: "en" [D] 06:33:10.883599901.883 0x7ffff45c8d00 () - new default mnt lang: "en" [D] 06:33:10.883610572.883 0x7ffff45c8d00 () - service refresh status, new state: busy [D] 06:33:10.883650983.883 0x7ffff45c8d00 () - service refresh status, new state: busy [D] 06:33:10.904024307.904 0x7fffdffff680 libs_availability:70 - checking: coqui tts [D] 06:33:10.904411539.904 0x7fffdffff680 libs_availability:78 - checking: whisperspeech tts [D] 06:33:10.904675186.904 0x7fffdffff680 libs_availability:86 - checking: faster-whisper [D] 06:33:11.105187706.105 0x7ffff45c8d00 () - trying features availability update: false [New Thread 0x7fff9e0fe680 (LWP 36)] [New Thread 0x7fff9d8fd680 (LWP 37)] [D] 06:33:11.348958507.348 0x7ffff45c8d00 () - stt models changed [W] 06:33:11.366140621.366 0x7ffff45c8d00 ():58 - qrc:/qml/ScrollTextArea.qml:58:9: QML TextArea: Binding loop detected for property "implicitHeight" [W] 06:33:11.368026240.368 0x7ffff45c8d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "visible" [D] 06:33:11.376030229.376 0x7ffff45c8d00 () - update listen [D] 06:33:11.376057842.376 0x7ffff45c8d00 () - app stt configured: false => true [D] 06:33:11.388918447.388 0x7ffff45c8d00 () - app active stt model: "" => "en_fasterwhisper_small" [D] 06:33:11.394852311.394 0x7ffff45c8d00 () - update listen [D] 06:33:11.394886920.394 0x7ffff45c8d00 () - tts models changed [D] 06:33:11.396832381.396 0x7ffff45c8d00 () - update listen [D] 06:33:11.396859646.396 0x7ffff45c8d00 () - app tts configured: false => true [D] 06:33:11.400095591.400 0x7ffff45c8d00 () - app active tts model: "" => "en_piper_gb_alba_medium" [D] 06:33:11.400473006.400 0x7ffff45c8d00 () - update listen [W] 06:33:11.400488963.400 0x7ffff45c8d00 () - no available tts models for in mnt [W] 06:33:11.400500104.400 0x7ffff45c8d00 () - no available tts models for out mnt [D] 06:33:11.400510257.400 0x7ffff45c8d00 () - ttt models changed [D] 06:33:11.404344608.404 0x7ffff45c8d00 () - mnt langs changed [D] 06:33:11.423268340.423 0x7ffff45c8d00 () - update listen [W] 06:33:11.423306717.423 0x7ffff45c8d00 () - no available mnt langs [W] 06:33:11.423326752.423 0x7ffff45c8d00 () - no available mnt out langs [D] 06:33:12.382459997.382 0x7fffdffff680 libs_availability:94 - checking: transformers [D] 06:33:12.382496554.382 0x7fffdffff680 libs_availability:96 - checking: accelerate [D] 06:33:12.429847507.429 0x7ffff45c8d00 () - trying features availability update: false [D] 06:33:13.429825366.429 0x7ffff45c8d00 () - trying features availability update: false [D] 06:33:13.513695674.513 0x7fffdffff680 libs_availability:104 - checking: unikud [D] 06:33:13.514055177.514 0x7fffdffff680 libs_availability:115 - checking: mimic3 tts [D] 06:33:14.429803400.429 0x7ffff45c8d00 () - trying features availability update: false [D] 06:33:14.545020210.545 0x7fffdffff680 libs_availability:123 - checking: gruut [D] 06:33:14.545062112.545 0x7fffdffff680 libs_availability:127 - checking: gruut-de [D] 06:33:14.545400340.545 0x7fffdffff680 libs_availability:135 - checking: gruut-es [D] 06:33:14.545687913.545 0x7fffdffff680 libs_availability:143 - checking: gruut-fr [D] 06:33:14.546035205.546 0x7fffdffff680 libs_availability:151 - checking: gruut-it [D] 06:33:14.546387107.546 0x7fffdffff680 libs_availability:159 - checking: gruut-ru [D] 06:33:14.546673100.546 0x7fffdffff680 libs_availability:167 - checking: gruut-fa [D] 06:33:14.546938170.546 0x7fffdffff680 libs_availability:175 - checking: gruut-sw [D] 06:33:14.547204916.547 0x7fffdffff680 libs_availability:183 - checking: gruut-nl [D] 06:33:14.547522503.547 0x7fffdffff680 libs_availability:194 - checking: mecab [D] 06:33:14.570736884.570 0x7fffdffff680 libs_availability:196 - checking: unidic-lite [D] 06:33:14.571573059.571 0x7fffdffff680 libs_availability:203 - py libs availability: [coqui-tts=true, faster-whisper=true, mimic3-tts=true, whisperspeech-tts=true, transformers=true, unikud=true, gruut_de=true, gruut_es=true, gruut_fa=true, gruut_fr=true, gruut_nl=true, gruut_it=true, gruut_ru=true, gruut_sw=true, mecab=true, torch-cuda=false] [D] 06:33:15.429753745.429 0x7ffff45c8d00 () - trying features availability update: true [D] 06:33:15.429797427.429 0x7ffff45c8d00 () - features availability ready [W] 06:33:15.430055826.430 0x7ffff45c8d00 has_lib:877 - failed to open libcudart.so: libcudart.so: cannot open shared object file: No such file or directory [W] 06:33:15.430247601.430 0x7ffff45c8d00 has_lib:877 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory [W] 06:33:15.430383122.430 0x7ffff45c8d00 has_lib:877 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory [Detaching after vfork from child process 38] [New Thread 0x7fff9e8ff680 (LWP 40)] [New Thread 0x7fff71657680 (LWP 41)] [New Thread 0x7fff60e56680 (LWP 42)] [New Thread 0x7fff58655680 (LWP 43)] [New Thread 0x7fff4fe54680 (LWP 44)] [New Thread 0x7fff47653680 (LWP 45)] [New Thread 0x7fff3ee52680 (LWP 46)]

Thread 1 "dsnote" received signal SIGILL, Illegal instruction. 0x00007fff741fab4d in ?? () from /app/lib/libbergamot_api.so #0 0x00007fff741fab4d in ??? () at /app/lib/libbergamot_api.so #1 0x00007ffff7fce187 in call_init () at /lib64/ld-linux-x86-64.so.2 #2 0x00007ffff7fce27d in _dl_init () at /lib64/ld-linux-x86-64.so.2 #3 0x00007ffff7fca5c2 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #4 0x00007ffff7fd4dcc in dl_open_worker () at /lib64/ld-linux-x86-64.so.2 #5 0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #6 0x00007ffff7fd5144 in _dl_open () at /lib64/ld-linux-x86-64.so.2 #7 0x00007ffff3e9dc04 in dlopen_doit () at /usr/lib/x86_64-linux-gnu/libc.so.6 #8 0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #9 0x00007ffff7fca679 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2 #10 0x00007ffff3e9d6e3 in _dlerror_run () at /usr/lib/x86_64-linux-gnu/libc.so.6 #11 0x00007ffff3e9dcbf in dlopen () at /usr/lib/x86_64-linux-gnu/libc.so.6 #12 0x00005555557be641 in ??? () #13 0x00005555556d7aee in ??? () #14 0x00005555556dcb00 in ??? () #15 0x00007ffff43186f2 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007ffff431c78a in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007ffff430c02b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007ffff777ad6e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007ffff42dfca8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007ffff4338979 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007ffff433925c in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007ffff4d6fe59 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007ffff4dcd2b8 in g_main_context_iterate.isra () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007ffff4d6d513 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007ffff4339586 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007ffff42de73b in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007ffff42e6bd0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x0000555555610587 in main () No function contains program counter for selected frame.

[📦 net.mkiol.SpeechNote ~]$ exit exit

David656565 avatar Aug 11 '24 06:08 David656565

@MDR1098 @David656565 Thank you for your help. I'm not 100% sure but I suspect that the problem is in FMA instructions. Both of your processors do not support FMA but (accidentally) I have enabled FMA in the build.

Would you be able to install and test version that includes the fix? I've just pushed dsnote-4.6.1-x86_64-tiny-test1.flatpak package to release page. To install it, download package and do the following:

# uninstall current version
flatpak uninstall net.mkiol.SpeechNote --delete-data

# download 4.6.1 bundle package
wget https://github.com/mkiol/dsnote/releases/download/v4.6.0/dsnote-4.6.1-x86_64-tiny-test1.flatpak

# install bundle package
flatpak install dsnote-4.6.1-x86_64-tiny-test1.flatpak

# start the app
flatpak run net.mkiol.SpeechNote --verbose

Please test the following features:

  • Translator
  • STT with any WhisperCpp model

Thank you!

mkiol avatar Aug 11 '24 17:08 mkiol

@mkiol

Thanks for all your help with this. I followed your instructions but the app will not run at all. Not even getting the GUI unfortunately. Here is the terminal output - let me know if you need anything more detailed.

[I] 20:42:43.297304755.297 0x7a8bcac97d00 init:49 - logging to stderr enabled
[D] 20:42:43.297367300.297 0x7a8bcac97d00 () - version: 4.6.1
[D] 20:42:43.297812103.297 0x7a8bcac97d00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d
[D] 20:42:43.297876071.297 0x7a8bcac97d00 parse_cpuinfo:125 - cpuinfo: processor-count=4, flags=[avx, f16c, sse4.1, ]
[D] 20:42:43.297974758.297 0x7a8bcac97d00 () - translation: "en_GB"
[D] 20:42:43.298031252.298 0x7a8bcac97d00 () - starting standalone app
[D] 20:42:43.299670492.299 0x7a8bcac97d00 () - app: net.mkiol dsnote
[D] 20:42:43.299689356.299 0x7a8bcac97d00 () - config location: "/home/martin/.var/app/net.mkiol.SpeechNote/config"
[D] 20:42:43.299701860.299 0x7a8bcac97d00 () - data location: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote"
[D] 20:42:43.299713318.299 0x7a8bcac97d00 () - cache location: "/home/martin/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote"
[D] 20:42:43.299723140.299 0x7a8bcac97d00 () - settings file: "/home/martin/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf"
[D] 20:42:43.299732500.299 0x7a8bcac97d00 () - platform: "wayland"
[D] 20:42:43.299767603.299 0x7a8bcac97d00 () - enforcing num threads: 0
[D] 20:42:44.353668740.353 0x7a8bcac97d00 () - starting service: app-standalone
[D] 20:42:44.367091028.367 0x7a8bcac97d00 () - mbrola dir: "/app/bin"
[D] 20:42:44.367166739.367 0x7a8bcac97d00 () - espeak dir: "/app/bin"
[D] 20:42:44.367302204.367 0x7a8bcac97d00 () - module checksum missing, need to unpack: "rhvoicedata"
[D] 20:42:44.367336525.367 0x7a8bcac97d00 () - unpacking module: "rhvoicedata"
[D] 20:42:44.367356853.367 0x7a8bb5000680 loop:88 - py executor loop started
[D] 20:42:44.367386856.367 0x7a8bb5000680 set_env:84 - set env: PYTHONIOENCODING = utf-8
[D] 20:42:44.367398339.367 0x7a8bb5000680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1
[D] 20:42:44.367407727.367 0x7a8bb5000680 set_env:84 - set env: HF_HUB_OFFLINE = 1
[D] 20:42:44.367427336.367 0x7a8bb5000680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000
[D] 20:42:44.367478144.367 0x7a8bcac97d00 () - extracting xz archive: "/app/share/dsnote/rhvoicedata.tar.xz"
[D] 20:42:44.367595104.367 0x7a8bb5000680 set_env:84 - set env: HF_HUB_CACHE = /home/martin/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote
[D] 20:42:44.401736050.401 0x7a8bb5a00680 () - config version: 90 90
[D] 20:42:44.501489095.501 0x7a8bb5a00680 () - models changed
[D] 20:42:44.650569013.650 0x7a8bcac97d00 () - xz decoded, stats: size= 6450272 , duration= 283 , threads= 4
[D] 20:42:44.650627206.650 0x7a8bcac97d00 () - extracting archive: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar"
[W] 20:42:44.653988658.653 0x7a8bcac97d00 () - error opening in-file: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar" Failed to open '/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar'
[W] 20:42:44.654021504.654 0x7a8bcac97d00 () - failed to extract tar archive: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar"
[D] 20:42:44.654068496.654 0x7a8bcac97d00 () - module checksum missing, need to unpack: "rhvoicedata"
[D] 20:42:44.654077129.654 0x7a8bcac97d00 () - unpacking module: "rhvoicedata"
[D] 20:42:44.654137595.654 0x7a8bcac97d00 () - extracting xz archive: "/app/share/dsnote/rhvoicedata.tar.xz"
[D] 20:42:44.973233842.973 0x7a8bcac97d00 () - xz decoded, stats: size= 6450272 , duration= 319 , threads= 4
[D] 20:42:44.973319920.973 0x7a8bcac97d00 () - extracting archive: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar"
[D] 20:42:45.123518540.123 0x7a8bcac97d00 () - module successfully unpacked: "rhvoicedata"
[D] 20:42:45.128587924.128 0x7a8bcac97d00 () - module already unpacked: "rhvoicedata"
[D] 20:42:45.128610591.128 0x7a8bcac97d00 () - module checksum missing, need to unpack: "rhvoiceconfig"
[D] 20:42:45.128618553.128 0x7a8bcac97d00 () - unpacking module: "rhvoiceconfig"
[D] 20:42:45.128685807.128 0x7a8bcac97d00 () - extracting xz archive: "/app/share/dsnote/rhvoiceconfig.tar.xz"
[D] 20:42:45.129577979.129 0x7a8bcac97d00 () - xz decoded, stats: size= 2396 , duration= 0 , threads= 4
[D] 20:42:45.129614306.129 0x7a8bcac97d00 () - extracting archive: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoiceconfig.tar"
[D] 20:42:45.130036597.130 0x7a8bcac97d00 () - module successfully unpacked: "rhvoiceconfig"
[D] 20:42:45.130090993.130 0x7a8bcac97d00 () - module already unpacked: "rhvoiceconfig"
[D] 20:42:45.130110596.130 0x7a8bcac97d00 () - module checksum missing, need to unpack: "espeakdata"
[D] 20:42:45.130125579.130 0x7a8bcac97d00 () - unpacking module: "espeakdata"
[D] 20:42:45.130158014.130 0x7a8bcac97d00 () - extracting xz archive: "/app/share/dsnote/espeakdata.tar.xz"
[D] 20:42:45.572504015.572 0x7a8bcac97d00 () - xz decoded, stats: size= 6719792 , duration= 442 , threads= 4
[D] 20:42:45.572575952.572 0x7a8bcac97d00 () - extracting archive: "/home/martin/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/espeakdata.tar"
[D] 20:42:45.644034171.644 0x7a8bcac97d00 () - module successfully unpacked: "espeakdata"
[D] 20:42:45.652700572.652 0x7a8bcac97d00 () - module already unpacked: "espeakdata"
[D] 20:42:45.657616183.657 0x7a8bcac97d00 () - default stt model not found: "en"
[D] 20:42:45.657643221.657 0x7a8bcac97d00 () - default tts model not found: "en"
[D] 20:42:45.657655191.657 0x7a8bcac97d00 () - default mnt lang not found: "en"
[D] 20:42:45.657664572.657 0x7a8bcac97d00 () - new default mnt lang: "en"
[D] 20:42:45.657679709.657 0x7a8bcac97d00 () - service refresh status, new state: busy
[D] 20:42:45.657690527.657 0x7a8bcac97d00 () - service state changed: unknown => busy
[D] 20:42:45.657700101.657 0x7a8bcac97d00 () - features availability ready
[W] 20:42:45.657866397.657 0x7a8bcac97d00 has_lib:877 - failed to open libcudart.so: libcudart.so: cannot open shared object file: No such file or directory
[W] 20:42:45.657961666.657 0x7a8bcac97d00 has_lib:877 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory
[W] 20:42:45.658053763.658 0x7a8bcac97d00 has_lib:877 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory
sh: line 1: perl: command not found

MDR1098 avatar Aug 11 '24 20:08 MDR1098

Thanks Mkiol. Here is my output:

flatpak run net.mkiol.SpeechNote --verbose Gtk-Message: 08:44:19.194: Failed to load module "canberra-gtk-module" Gtk-Message: 08:44:19.195: Failed to load module "canberra-gtk-module" qt.qpa.qgnomeplatform: Could not find color scheme "" Qt: Session management error: Could not open network socket [I] 23:14:19.227053177.227 0x700ec5f13d00 init:49 - logging to stderr enabled [D] 23:14:19.227095500.227 0x700ec5f13d00 () - version: 4.6.1 [D] 23:14:19.227418415.227 0x700ec5f13d00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d [D] 23:14:19.227542087.227 0x700ec5f13d00 parse_cpuinfo:125 - cpuinfo: processor-count=8, flags=[avx, f16c, sse4.1, ] [D] 23:14:19.227614090.227 0x700ec5f13d00 () - translation: "en_AU" [D] 23:14:19.227641470.227 0x700ec5f13d00 () - starting standalone app [D] 23:14:19.228860934.228 0x700ec5f13d00 () - app: net.mkiol dsnote [D] 23:14:19.228879441.228 0x700ec5f13d00 () - config location: "/home/david/.var/app/net.mkiol.SpeechNote/config" [D] 23:14:19.228889428.228 0x700ec5f13d00 () - data location: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote" [D] 23:14:19.228897497.228 0x700ec5f13d00 () - cache location: "/home/david/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote" [D] 23:14:19.228904579.228 0x700ec5f13d00 () - settings file: "/home/david/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf" [D] 23:14:19.228910789.228 0x700ec5f13d00 () - platform: "xcb" [D] 23:14:19.228935194.228 0x700ec5f13d00 () - nvidia gpu detected [D] 23:14:19.228951681.228 0x700ec5f13d00 () - enforcing num threads: 0 [D] 23:14:20.321704591.321 0x700ec5f13d00 () - starting service: app-standalone [D] 23:14:20.323528938.323 0x700ec5f13d00 () - mbrola dir: "/app/bin" [D] 23:14:20.323568195.323 0x700ec5f13d00 () - espeak dir: "/app/bin" [D] 23:14:20.323647728.323 0x700ec5f13d00 () - module checksum missing, need to unpack: "rhvoicedata" [D] 23:14:20.323661519.323 0x700ec5f13d00 () - unpacking module: "rhvoicedata" [D] 23:14:20.323682583.323 0x700eb9108680 loop:88 - py executor loop started [D] 23:14:20.323703397.323 0x700eb9108680 set_env:84 - set env: PYTHONIOENCODING = utf-8 [D] 23:14:20.323712479.323 0x700eb9108680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1 [D] 23:14:20.323720538.323 0x700eb9108680 set_env:84 - set env: HF_HUB_OFFLINE = 1 [D] 23:14:20.323726369.323 0x700eb9108680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000 [D] 23:14:20.323747794.323 0x700ec5f13d00 () - extracting xz archive: "/app/share/dsnote/rhvoicedata.tar.xz" [D] 23:14:20.323844020.323 0x700eb9108680 set_env:84 - set env: HF_HUB_CACHE = /home/david/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote [D] 23:14:20.347927369.347 0x700eb9a33680 () - config version: 90 90 [D] 23:14:20.420480409.420 0x700eb9a33680 () - models changed [D] 23:14:20.567100486.567 0x700ec5f13d00 () - xz decoded, stats: size= 6450272 , duration= 243 , threads= 6 [D] 23:14:20.567148142.567 0x700ec5f13d00 () - extracting archive: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar" [W] 23:14:20.567225779.567 0x700ec5f13d00 () - error opening in-file: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar" Failed to open '/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar' [W] 23:14:20.567249074.567 0x700ec5f13d00 () - failed to extract tar archive: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar" [D] 23:14:20.567275638.567 0x700ec5f13d00 () - module checksum missing, need to unpack: "rhvoicedata" [D] 23:14:20.567283034.567 0x700ec5f13d00 () - unpacking module: "rhvoicedata" [D] 23:14:20.567323988.567 0x700ec5f13d00 () - extracting xz archive: "/app/share/dsnote/rhvoicedata.tar.xz" [D] 23:14:20.923618785.923 0x700ec5f13d00 () - xz decoded, stats: size= 6450272 , duration= 356 , threads= 6 [D] 23:14:20.923746520.923 0x700ec5f13d00 () - extracting archive: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoicedata.tar" [D] 23:14:21.104963624.104 0x700ec5f13d00 () - module successfully unpacked: "rhvoicedata" [D] 23:14:21.109671158.109 0x700ec5f13d00 () - module already unpacked: "rhvoicedata" [D] 23:14:21.109705717.109 0x700ec5f13d00 () - module checksum missing, need to unpack: "rhvoiceconfig" [D] 23:14:21.109714483.109 0x700ec5f13d00 () - unpacking module: "rhvoiceconfig" [D] 23:14:21.109789599.109 0x700ec5f13d00 () - extracting xz archive: "/app/share/dsnote/rhvoiceconfig.tar.xz" [D] 23:14:21.110340428.110 0x700ec5f13d00 () - xz decoded, stats: size= 2396 , duration= 0 , threads= 6 [D] 23:14:21.110375284.110 0x700ec5f13d00 () - extracting archive: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/rhvoiceconfig.tar" [D] 23:14:21.110728879.110 0x700ec5f13d00 () - module successfully unpacked: "rhvoiceconfig" [D] 23:14:21.110785637.110 0x700ec5f13d00 () - module already unpacked: "rhvoiceconfig" [D] 23:14:21.110797036.110 0x700ec5f13d00 () - module checksum missing, need to unpack: "espeakdata" [D] 23:14:21.110807661.110 0x700ec5f13d00 () - unpacking module: "espeakdata" [D] 23:14:21.110872304.110 0x700ec5f13d00 () - extracting xz archive: "/app/share/dsnote/espeakdata.tar.xz" [D] 23:14:21.520990043.520 0x700ec5f13d00 () - xz decoded, stats: size= 6719792 , duration= 410 , threads= 6 [D] 23:14:21.521037785.521 0x700ec5f13d00 () - extracting archive: "/home/david/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/espeakdata.tar" [D] 23:14:21.562409020.562 0x700ec5f13d00 () - module successfully unpacked: "espeakdata" [D] 23:14:21.567272184.567 0x700ec5f13d00 () - module already unpacked: "espeakdata" [D] 23:14:21.568429440.568 0x700ec5f13d00 () - default stt model not found: "en" [D] 23:14:21.568452922.568 0x700ec5f13d00 () - default tts model not found: "en" [D] 23:14:21.568460063.568 0x700ec5f13d00 () - default mnt lang not found: "en" [D] 23:14:21.568480793.568 0x700ec5f13d00 () - new default mnt lang: "en" [D] 23:14:21.568496058.568 0x700ec5f13d00 () - service refresh status, new state: busy [D] 23:14:21.568507601.568 0x700ec5f13d00 () - service state changed: unknown => busy [D] 23:14:21.568519593.568 0x700ec5f13d00 () - features availability ready [W] 23:14:21.568690344.568 0x700ec5f13d00 has_lib:877 - failed to open libcudart.so: libcudart.so: cannot open shared object file: No such file or directory [W] 23:14:21.568771131.568 0x700ec5f13d00 has_lib:877 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory [W] 23:14:21.568849833.568 0x700ec5f13d00 has_lib:877 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory sh: line 1: perl: command not found

David656565 avatar Aug 11 '24 23:08 David656565

Thank you for helping me!

Unfortunately it is not FMA :(

So far the problem has been reported on the following CPUs:

  • Intel Xeon X5450
  • Intel Core i7-3770
  • Intel Core i3-2120

I also tested on Intel Core i5-6600K and 2 rather modern AMD CPUs and didn't have any problems...

I'm a bit blind here, so I must ask you to try the debugger approach again. Would you be able to go thought fhe following steps:

# Install SDK runtime to be able to use GDB debugger inside flatpak sandbox (skip if already installed)
flatpak install runtime/org.kde.Sdk/x86_64/5.15-23.08

# Enter flatpak sandbox. A new sub-shell will be opened.
flatpak run --command=sh --devel net.mkiol.SpeechNote

# Start a debugger (inside sub-shell)
gdb /app/bin/dsnote

# Enter "n" if asked
Enable debuginfod for this session? (y or [n])  n

# Run the app
(gdb) run

# When app crashes (or freezes) don't try to close it but enter:
(gdb) bt
(gdb) disassemble /m

# Exit debugger
(gdb) quit

# Exit flatpak sandbox sub-shell
exit

# Uninstall SDK (skip if you want to repeat the test or just want to have SDK installed)
flatpak uninstall runtime/org.kde.Sdk/x86_64/5.15-23.08

mkiol avatar Aug 12 '24 17:08 mkiol

Hello Mkiol. Here are my results:

(gdb) run Starting program: /app/bin/dsnote [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffefe66680 (LWP 16)] [New Thread 0x7fffef665680 (LWP 17)] Gtk-Message: 05:22:22.930: Failed to load module "canberra-gtk-module" Gtk-Message: 05:22:22.930: Failed to load module "canberra-gtk-module" qt.qpa.qgnomeplatform: Could not find color scheme "" Qt: Session management error: Could not open network socket [Detaching after fork from child process 18] [New Thread 0x7fffed1a1680 (LWP 19)] [Thread 0x7fffed1a1680 (LWP 19) exited] [New Thread 0x7fffed1a1680 (LWP 20)] [Thread 0x7fffed1a1680 (LWP 20) exited] [New Thread 0x7fffed1a1680 (LWP 21)] [New Thread 0x7fffec916680 (LWP 22)] [New Thread 0x7fffdffff680 (LWP 23)] [New Thread 0x7fffddc7a680 (LWP 24)] [New Thread 0x7fffdca42680 (LWP 25)] [New Thread 0x7fffd07fc680 (LWP 26)] [New Thread 0x7fffcdff9680 (LWP 27)] [New Thread 0x7fffcb7f6680 (LWP 28)] [New Thread 0x7fffc8ff3680 (LWP 29)] [Thread 0x7fffec916680 (LWP 22) exited] [Thread 0x7fffd07fc680 (LWP 26) exited] [Thread 0x7fffcdff9680 (LWP 27) exited] [Thread 0x7fffc8ff3680 (LWP 29) exited] [Thread 0x7fffcb7f6680 (LWP 28) exited] [Thread 0x7fffdca42680 (LWP 25) exited] [Thread 0x7fffddc7a680 (LWP 24) exited] [New Thread 0x7fffc8ff3680 (LWP 30)] [Thread 0x7fffc8ff3680 (LWP 30) exited] [New Thread 0x7fffc8ff3680 (LWP 31)] [Thread 0x7fffc8ff3680 (LWP 31) exited] [Detaching after vfork from child process 32] [New Thread 0x7fffc8ff3680 (LWP 34)] [New Thread 0x7fffcb7f6680 (LWP 35)] [New Thread 0x7fffcdff9680 (LWP 36)] [New Thread 0x7fffd07fc680 (LWP 37)] [New Thread 0x7fffde3ff680 (LWP 38)] [New Thread 0x7fffddbfe680 (LWP 39)] [New Thread 0x7fffdd3fd680 (LWP 40)]

Thread 1 "dsnote" received signal SIGILL, Illegal instruction. 0x00007fffde5fab4d in ?? () from /app/lib/libbergamot_api.so

(gdb) bt #0 0x00007fffde5fab4d in ??? () at /app/lib/libbergamot_api.so #1 0x00007ffff7fce187 in call_init () at /lib64/ld-linux-x86-64.so.2 #2 0x00007ffff7fce27d in _dl_init () at /lib64/ld-linux-x86-64.so.2 #3 0x00007ffff7fca5c2 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #4 0x00007ffff7fd4dcc in dl_open_worker () at /lib64/ld-linux-x86-64.so.2 #5 0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #6 0x00007ffff7fd5144 in _dl_open () at /lib64/ld-linux-x86-64.so.2 #7 0x00007ffff3e9dc04 in dlopen_doit () at /usr/lib/x86_64-linux-gnu/libc.so.6 #8 0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #9 0x00007ffff7fca679 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2 #10 0x00007ffff3e9d6e3 in _dlerror_run () at /usr/lib/x86_64-linux-gnu/libc.so.6 #11 0x00007ffff3e9dcbf in dlopen () at /usr/lib/x86_64-linux-gnu/libc.so.6 #12 0x00005555557bdc01 in ??? () #13 0x00005555556d6afb in ??? () #14 0x00005555556eb0be in ??? () #15 0x000055555561a127 in ??? () #16 0x000055555560fa75 in main ()

(gdb) disassemble /m No function contains program counter for selected frame.

David656565 avatar Aug 12 '24 19:08 David656565

Hi @mkiol - and here is the output from my terminal:

Starting program: /app/bin/dsnote 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffefe00680 (LWP 12)]
[New Thread 0x7fffed600680 (LWP 13)]
[New Thread 0x7fffecc00680 (LWP 14)]
[New Thread 0x7fffe5a00680 (LWP 15)]
[New Thread 0x7fffe5000680 (LWP 16)]
[New Thread 0x7fffd6a00680 (LWP 17)]
[Thread 0x7fffd6a00680 (LWP 17) exited]
[Thread 0x7fffe5000680 (LWP 16) exited]
[Detaching after fork from child process 18]
[New Thread 0x7fffe5000680 (LWP 19)]
[New Thread 0x7fffd6a00680 (LWP 20)]
[New Thread 0x7fffd6000680 (LWP 21)]
[New Thread 0x7fffd5600680 (LWP 22)]
[New Thread 0x7fffc3e00680 (LWP 23)]
[New Thread 0x7fffc1000680 (LWP 24)]
[New Thread 0x7fffb9a00680 (LWP 25)]
[Thread 0x7fffd6a00680 (LWP 20) exited]
[Thread 0x7fffc3e00680 (LWP 23) exited]
[Thread 0x7fffd5600680 (LWP 22) exited]
[Thread 0x7fffb9a00680 (LWP 25) exited]
[Thread 0x7fffc1000680 (LWP 24) exited]
[New Thread 0x7fffb9a00680 (LWP 26)]
[Thread 0x7fffb9a00680 (LWP 26) exited]
[New Thread 0x7fffb9a00680 (LWP 27)]
[Thread 0x7fffb9a00680 (LWP 27) exited]
[Detaching after vfork from child process 28]
[New Thread 0x7fffb9a00680 (LWP 30)]
[New Thread 0x7fffc1000680 (LWP 31)]
[New Thread 0x7fffc3e00680 (LWP 32)]

Thread 1 "dsnote" received signal SIGILL, Illegal instruction.
0x00007fffcf5fab4d in ?? () from /app/lib/libbergamot_api.so

(gdb) bt

#0  0x00007fffcf5fab4d in ??? () at /app/lib/libbergamot_api.so
#1  0x00007ffff7fce187 in call_init () at /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff7fce27d in _dl_init () at /lib64/ld-linux-x86-64.so.2
#3  0x00007ffff7fca5c2 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff7fd4dcc in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#5  0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2
#6  0x00007ffff7fd5144 in _dl_open () at /lib64/ld-linux-x86-64.so.2
#7  0x00007ffff3e9dc04 in dlopen_doit () at /usr/lib/x86_64-linux-gnu/libc.so.6
#8  0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2
#9  0x00007ffff7fca679 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#10 0x00007ffff3e9d6e3 in _dlerror_run () at /usr/lib/x86_64-linux-gnu/libc.so.6
#11 0x00007ffff3e9dcbf in dlopen () at /usr/lib/x86_64-linux-gnu/libc.so.6
#12 0x00005555557bdc01 in ??? ()
#13 0x00005555556d6afb in ??? ()
#14 0x00005555556eb0be in ??? ()
#15 0x000055555561a127 in ??? ()
#16 0x000055555560fa75 in main ()

MDR1098 avatar Aug 12 '24 20:08 MDR1098

@mkiol Fonctinne at home with an Intel Xeon X5450

Knut001 avatar Aug 13 '24 13:08 Knut001

@mkiol Not sure whether this will help you trace the issue, but I also have Speech Note installed and running without problems on a laptop with an AMD Ryzen 5 2500U processor.

MDR1098 avatar Aug 13 '24 13:08 MDR1098

@MDR1098 @David656565

Many thanks for all your test!

I have a new "theory". The problem may lie in the processor extension BMI2. Your processors don't support it, but upon further investigation BMI2 is also used in v4.6.0.

Would you be able to test new 4.6.1 version from flatpak-tiny package? Here is the procedure to follow:

# uninstall current version
flatpak uninstall net.mkiol.SpeechNote --delete-data

# download second 4.6.1 bundle package
wget "https://github.com/mkiol/dsnote/releases/download/v4.6.0/dsnote-4.6.1-x86_64-tiny-test2.flatpak"

# install bundle package
flatpak install dsnote-4.6.1-x86_64-tiny-test2.flatpak

# start the app
flatpak run net.mkiol.SpeechNote --verbose

If it works, please test the following features:

  • Translator
  • STT with any WhisperCpp model

Thank you!

mkiol avatar Aug 13 '24 16:08 mkiol

All working for me mkiol, thank you!

I'll leave the sdk installed if you need anything else testing

David656565 avatar Aug 14 '24 01:08 David656565

All working here as well. Thank you @mkiol for your hard work on this.

MDR1098 avatar Aug 14 '24 14:08 MDR1098

It's super great that it works :) I am preparing official release...

Thank you for your invaluable help!

mkiol avatar Aug 14 '24 18:08 mkiol

Fix: fd473cc93822344000f89f7e987aaaa8eb88ed75

The fix is included in the latest v4.6.1 release.

mkiol avatar Aug 17 '24 09:08 mkiol

Hi dear people, I had been using speechnote since the first time I installed very good, nice. suddenly it stopped working, below is the log, thanks very much if you can help I'm usin mx-linux on a lenovo x-201 I5 thinkpad.

flatpak run --command=sh --devel net.mkiol.SpeechNote F: /run/user/1000/.flatpak/net.mkiol.SpeechNote/xdg-run/pulse is not a symlink to "../../flatpak/pulse" as expected: readlinkat: Argumento inválido [📦 net.mkiol.SpeechNote ~]$ gdb -batch -ex "run" -ex "bt" --args /app/bin/dsnote --verbose [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffefe00680 (LWP 12)] [New Thread 0x7fffef400680 (LWP 13)] Gtk-Message: 18:08:28.200: Failed to load module "canberra-gtk-module" Qt: Session management error: Could not open network socket [I] 23:08:28.373143400.373 0x7ffff45d6d00 init:49 - logging to stderr enabled [D] 23:08:28.373255547.373 0x7ffff45d6d00 () - app version: 4.7.0 [D] 23:08:28.373285322.373 0x7ffff45d6d00 () - required addon version: 1.3 [D] 23:08:28.374199756.374 0x7ffff45d6d00 parse_cpuinfo:121 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid dtherm ida arat vnmi flush_l1d [D] 23:08:28.374390217.374 0x7ffff45d6d00 parse_cpuinfo:129 - cpuinfo: processor-count=4, flags=[sse4.1, ] [D] 23:08:28.374627914.374 0x7ffff45d6d00 () - failed to load translation: "es_PE" ":/translations" [D] 23:08:28.374704820.374 0x7ffff45d6d00 () - starting standalone app [D] 23:08:28.376902684.376 0x7ffff45d6d00 () - dbus app service registration successul [D] 23:08:28.377202841.377 0x7ffff45d6d00 () - app: net.mkiol dsnote [D] 23:08:28.377244950.377 0x7ffff45d6d00 () - config location: "/home/legar/.var/app/net.mkiol.SpeechNote/config" [D] 23:08:28.377275176.377 0x7ffff45d6d00 () - data location: "/home/legar/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote" [D] 23:08:28.377309429.377 0x7ffff45d6d00 () - cache location: "/home/legar/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote" [D] 23:08:28.377329977.377 0x7ffff45d6d00 () - settings file: "/home/legar/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf" [D] 23:08:28.377347926.377 0x7ffff45d6d00 () - platform: "xcb" [D] 23:08:28.377434360.377 0x7ffff45d6d00 () - enforcing num threads: 0 [Detaching after fork from child process 14] [New Thread 0x7fffed000680 (LWP 15)] [Thread 0x7fffed000680 (LWP 15) exited] [New Thread 0x7fffed000680 (LWP 16)] [Thread 0x7fffed000680 (LWP 16) exited] [D] 23:08:32.845312162.845 0x7ffff45d6d00 () - starting service: app-standalone [New Thread 0x7fffed000680 (LWP 17)] [New Thread 0x7fffe7e00680 (LWP 18)] [D] 23:08:32.908209274.908 0x7ffff45d6d00 () - mbrola dir: "/app/bin" [D] 23:08:32.908314977.908 0x7ffff45d6d00 () - espeak dir: "/app/bin" [New Thread 0x7fffe7400680 (LWP 19)] [D] 23:08:32.908795213.908 0x7fffe7400680 loop:88 - py executor loop started [D] 23:08:32.908862150.908 0x7fffe7400680 set_env:84 - set env: PYTHONIOENCODING = utf-8 [D] 23:08:32.908895728.908 0x7fffe7400680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1 [D] 23:08:32.908923197.908 0x7fffe7400680 set_env:84 - set env: HF_HUB_OFFLINE = 1 [D] 23:08:32.908953640.908 0x7fffe7400680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000 [D] 23:08:32.909044305.909 0x7fffe7400680 set_env:84 - set env: HF_HUB_CACHE = /home/legar/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote [W] 23:08:32.949010935.949 0x7fffe7400680 libs_availability:138 - disabling torch dependent libraries as avx is not supported [D] 23:08:32.949063616.949 0x7fffe7400680 libs_availability:142 - checking: mimic3 tts [D] 23:08:33.191547496.191 0x7fffe7e00680 () - config version: 96 96 [D] 23:08:33.338007666.338 0x7fffe7e00680 () - models changed [Thread 0x7fffe7e00680 (LWP 18) exited] [D] 23:08:33.955259965.955 0x7ffff45d6d00 () - module already unpacked: "rhvoicedata" [D] 23:08:33.962795878.962 0x7ffff45d6d00 () - module already unpacked: "rhvoiceconfig" [D] 23:08:34.048261124.48 0x7ffff45d6d00 () - module already unpacked: "espeakdata" [D] 23:08:34.051627065.51 0x7ffff45d6d00 () - default stt model not found: "en" [D] 23:08:34.051686181.51 0x7ffff45d6d00 () - default tts model not found: "en" [D] 23:08:34.051718735.51 0x7ffff45d6d00 () - default mnt lang not found: "en" [D] 23:08:34.051747047.51 0x7ffff45d6d00 () - new default mnt lang: "en" [D] 23:08:34.051786750.51 0x7ffff45d6d00 () - service refresh status, new state: busy [D] 23:08:34.051817187.51 0x7ffff45d6d00 () - service state changed: unknown => busy [D] 23:08:34.051857928.51 0x7ffff45d6d00 () - delaying features availability [New Thread 0x7fffe6a00680 (LWP 20)] [D] 23:08:34.064849387.64 0x7ffff45d6d00 () - runtime prefix: "/app" [D] 23:08:34.065922810.65 0x7ffff45d6d00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal") [D] 23:08:34.066220067.66 0x7ffff45d6d00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2") [D] 23:08:34.066311449.66 0x7ffff45d6d00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports") [D] 23:08:34.066354418.66 0x7ffff45d6d00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin") [D] 23:08:34.066393685.66 0x7ffff45d6d00 () - using auto qt style [D] 23:08:34.066426819.66 0x7ffff45d6d00 () - XDG_CURRENT_DESKTOP: XFCE [D] 23:08:34.066461172.66 0x7ffff45d6d00 () - switching to style: "org.kde.desktop" [D] 23:08:34.067321741.67 0x7ffff45d6d00 () - desktop file: "net.mkiol.SpeechNote" [New Thread 0x7fffd9c00680 (LWP 21)] [New Thread 0x7fffd9200680 (LWP 22)] [New Thread 0x7fffcbe00680 (LWP 23)] [New Thread 0x7fffc1800680 (LWP 24)] [New Thread 0x7fffb8e00680 (LWP 25)] [New Thread 0x7fffc0e00680 (LWP 26)] [New Thread 0x7fffbbe00680 (LWP 27)] [New Thread 0x7fffbb400680 (LWP 28)] [New Thread 0x7fffbaa00680 (LWP 29)] [New Thread 0x7fffba000680 (LWP 30)] [New Thread 0x7fffb3e00680 (LWP 31)] [New Thread 0x7fffb3400680 (LWP 32)] [New Thread 0x7fffb2a00680 (LWP 33)] [New Thread 0x7fffb2000680 (LWP 34)] [New Thread 0x7fffb1600680 (LWP 35)] [Thread 0x7fffb2a00680 (LWP 33) exited] [D] 23:08:41.564751819.564 0x7ffff45d6d00 state_pa_callback:30 - pa authorizing [D] 23:08:41.565406978.565 0x7ffff45d6d00 state_pa_callback:33 - pa setting name [D] 23:08:41.566975134.566 0x7ffff45d6d00 state_pa_callback:36 - pa ready [Thread 0x7fffb2000680 (LWP 34) exited] [New Thread 0x7fffb2a00680 (LWP 36)] [D] 23:08:41.620590592.620 0x7fffb2a00680 source_info_pa_callback:206 - pa source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Monitor of Audio Interno Estéreo analógico [D] 23:08:41.620730787.620 0x7fffb2a00680 source_info_pa_callback:206 - pa source: alsa_input.pci-0000_00_1b.0.analog-stereo Audio Interno Estéreo analógico [Thread 0x7fffb1600680 (LWP 35) exited] [D] 23:08:42.878039030.878 0x7ffff45d6d00 () - starting app: app-standalone [D] 23:08:42.879496627.879 0x7ffff45d6d00 () - app service state: unknown => busy [D] 23:08:42.879550168.879 0x7ffff45d6d00 () - app busy: false => true [D] 23:08:42.879591381.879 0x7ffff45d6d00 () - app connected: false = > true [W] 23:08:43.171637290.171 0x7ffff45d6d00 ():463 - qrc:/qml/main.qml:463:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 23:08:43.171793090.171 0x7ffff45d6d00 ():454 - qrc:/qml/main.qml:454:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 23:08:43.250284800.250 0x7ffff45d6d00 ():24 - qrc:/qml/Notepad.qml:24:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 23:08:43.338980754.338 0x7ffff45d6d00 ():30 - qrc:/qml/Translator.qml:30:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [D] 23:08:43.465559497.465 0x7ffff45d6d00 onCompleted:180 - default font pixel size: 13 [D] 23:08:43.506190189.506 0x7ffff45d6d00 () - default stt model not found: "en" [D] 23:08:43.506289619.506 0x7ffff45d6d00 () - default tts model not found: "en" [D] 23:08:43.506330085.506 0x7ffff45d6d00 () - default mnt lang not found: "en" [D] 23:08:43.506363231.506 0x7ffff45d6d00 () - new default mnt lang: "en" [D] 23:08:43.506403409.506 0x7ffff45d6d00 () - service refresh status, new state: busy [D] 23:08:43.506474113.506 0x7ffff45d6d00 () - service refresh status, new state: busy [W] 23:08:43.543279842.543 0x7ffff45d6d00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth" [W] 23:08:43.587121712.587 0x7ffff45d6d00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth" [W] 23:08:43.607693492.607 0x7ffff45d6d00 ():33 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:33:15: QML MenuItem: Binding loop detected for property "implicitWidth" [W] 23:08:43.668659646.668 0x7ffff45d6d00 ():293 - qrc:/qml/Translator.qml:293:9: QML ColumnLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredWidth" [D] 23:08:44.650722553.650 0x7ffff45d6d00 () - trying features availability update: false [New Thread 0x7fffb1600680 (LWP 37)] [D] 23:08:46.522033457.522 0x7ffff45d6d00 () - stt models changed [D] 23:08:46.530795957.530 0x7ffff45d6d00 () - update listen [D] 23:08:46.530905729.530 0x7ffff45d6d00 () - tts models changed [D] 23:08:46.531503637.531 0x7ffff45d6d00 () - update listen [W] 23:08:46.531555687.531 0x7ffff45d6d00 () - no available tts models for in mnt [W] 23:08:46.531584800.531 0x7ffff45d6d00 () - no available tts models for out mnt [D] 23:08:46.531611278.531 0x7ffff45d6d00 () - ttt models changed [D] 23:08:46.543309833.543 0x7ffff45d6d00 () - mnt langs changed [D] 23:08:46.543705203.543 0x7ffff45d6d00 () - update listen [W] 23:08:46.543833422.543 0x7ffff45d6d00 () - no available mnt langs [W] 23:08:46.543937372.543 0x7ffff45d6d00 () - no available mnt out langs [D] 23:08:46.576084456.576 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:46.586801298.586 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:47.053551792.53 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:47.343789054.343 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:47.528839448.528 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:48.003825423.3 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:48.344156874.344 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:48.479605389.479 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:48.954859060.954 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:49.344455669.344 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:49.430382557.430 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:49.906058716.906 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:50.344032422.344 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:50.382051329.382 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:50.856901786.856 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:51.343936112.343 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:51.344147035.344 0x7ffff45d6d00 () - [dbus app] State called [D] 23:08:52.344359318.344 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:53.344526880.344 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:54.343669870.343 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:55.344301357.344 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:56.345409559.345 0x7ffff45d6d00 () - trying features availability update: false [D] 23:08:56.531049967.531 0x7fffe7400680 libs_availability:150 - checking: gruut [D] 23:08:56.531145637.531 0x7fffe7400680 libs_availability:154 - checking: gruut-de [D] 23:08:56.552024749.552 0x7fffe7400680 libs_availability:162 - checking: gruut-es [D] 23:08:56.564110872.564 0x7fffe7400680 libs_availability:170 - checking: gruut-fr [D] 23:08:56.582025758.582 0x7fffe7400680 libs_availability:178 - checking: gruut-it [D] 23:08:56.588432172.588 0x7fffe7400680 libs_availability:186 - checking: gruut-ru [D] 23:08:56.589666943.589 0x7fffe7400680 libs_availability:194 - checking: gruut-fa [D] 23:08:56.602948705.602 0x7fffe7400680 libs_availability:202 - checking: gruut-sw [D] 23:08:56.611038633.611 0x7fffe7400680 libs_availability:210 - checking: gruut-nl [D] 23:08:56.623748825.623 0x7fffe7400680 libs_availability:221 - checking: mecab [D] 23:08:56.771356823.771 0x7fffe7400680 libs_availability:223 - checking: unidic-lite [D] 23:08:56.817718044.817 0x7fffe7400680 libs_availability:230 - py libs availability: [coqui-tts=false, faster-whisper=false, ctranslate2-cuda=false, mimic3-tts=true, whisperspeech-tts=false, transformers=false, unikud=false, gruut_de=true, gruut_es=true, gruut_fa=true, gruut_fr=true, gruut_nl=true, gruut_it=true, gruut_ru=true, gruut_sw=true, mecab=true, torch-cuda=false, torch-hip=false] [D] 23:08:57.343522457.343 0x7ffff45d6d00 () - trying features availability update: true [D] 23:08:57.343597195.343 0x7ffff45d6d00 () - features availability ready [W] 23:08:57.344311916.344 0x7ffff45d6d00 has_lib:1278 - failed to open libcudart.so: libcudart.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio [W] 23:08:57.344656171.344 0x7ffff45d6d00 has_lib:1278 - failed to open libcudnn.so: libcudnn.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio [W] 23:08:57.344904993.344 0x7ffff45d6d00 has_lib:1278 - failed to open libcudnn.so.9: libcudnn.so.9: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio [W] 23:08:57.345157788.345 0x7ffff45d6d00 has_lib:1278 - failed to open libcudnn.so.8: libcudnn.so.8: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio [W] 23:08:57.345425376.345 0x7ffff45d6d00 has_lib:1278 - failed to open libamdhip64.so: libamdhip64.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio [Detaching after vfork from child process 38] [W] 23:08:57.375182348.375 0x7ffff45d6d00 available:106 - avx not supported but ds engine needs it [New Thread 0x7fffb2000680 (LWP 40)] [New Thread 0x7fffa6000680 (LWP 41)] [New Thread 0x7fffa5600680 (LWP 42)]

Thread 1 "dsnote" received signal SIGILL, Illegal instruction. 0x00007fffa4870a32 in ?? () from /app/lib/libwhisper-vulkan.so #0 0x00007fffa4870a32 in ??? () at /app/lib/libwhisper-vulkan.so #1 0x00007ffff7fce187 in call_init () at /lib64/ld-linux-x86-64.so.2 #2 0x00007ffff7fce27d in _dl_init () at /lib64/ld-linux-x86-64.so.2 #3 0x00007ffff7fca5c2 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #4 0x00007ffff7fd4dcc in dl_open_worker () at /lib64/ld-linux-x86-64.so.2 #5 0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #6 0x00007ffff7fd5144 in _dl_open () at /lib64/ld-linux-x86-64.so.2 #7 0x00007ffff3e9dc04 in dlopen_doit () at /usr/lib/x86_64-linux-gnu/libc.so.6 #8 0x00007ffff7fca523 in _dl_catch_exception () at /lib64/ld-linux-x86-64.so.2 #9 0x00007ffff7fca679 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2 #10 0x00007ffff3e9d6e3 in _dlerror_run () at /usr/lib/x86_64-linux-gnu/libc.so.6 #11 0x00007ffff3e9dcbf in dlopen () at /usr/lib/x86_64-linux-gnu/libc.so.6 #12 0x000055555572ee27 in ??? () #13 0x00005555556f00e0 in ??? () #14 0x00005555556f5b40 in ??? () #15 0x00007ffff43186f2 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007ffff431c78a in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007ffff430c02b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007ffff777ad6e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007ffff42dfca8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007ffff4338979 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007ffff433925c in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007ffff3d2ae59 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007ffff3d882b8 in g_main_context_iterate.isra () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007ffff3d28513 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007ffff4339586 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007ffff42de73b in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007ffff42e6bd0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x0000555555616484 in main () [📦 net.mkiol.SpeechNote ~]$ exit exit

18legar avatar Jan 04 '25 23:01 18legar

New issue will be tracked here: https://github.com/mkiol/dsnote/issues/196

mkiol avatar Jan 05 '25 15:01 mkiol