Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chatterino will crash on startup if Pipewire service is down #4930

Open
3 of 4 tasks
fruzitent opened this issue Oct 31, 2023 · 1 comment
Open
3 of 4 tasks

Chatterino will crash on startup if Pipewire service is down #4930

fruzitent opened this issue Oct 31, 2023 · 1 comment
Labels
crash help wanted Help is wanted to debug/fix this issue OS: Linux

Comments

@fruzitent
Copy link

fruzitent commented Oct 31, 2023

Checklist

  • I'm reporting a problem with Chatterino
  • I've verified that I'm running the most recent nightly build or stable release
  • I've looked for my problem on the wiki
  • I've searched the issues and pull requests for similar looking reports

Describe your issue

Stack trace
Stack trace of thread 1286:
#0  0x00007fc8dcaac83c n/a (libc.so.6 + 0x8e83c)
#1  0x00007fc8dca5c668 raise (libc.so.6 + 0x3e668)
#2  0x00007fc8dca444b8 abort (libc.so.6 + 0x264b8)
#3  0x00007fc8b0109147 pa_channel_map_init_extend (libpulse.so + 0xf147)
#4  0x000055911bb74188 ma_device_init__pulse (chatterino + 0x56d188)
#5  0x000055911bb783ed ma_device_init (chatterino + 0x5713ed)
#6  0x000055911bba003e _ZN10chatterino15SoundController14recreateDeviceEv (chatterino + 0x59903e)
#7  0x000055911bba0783 _ZN10chatterino15SoundController10initializeERNS_8SettingsERNS_5PathsE (chatterino + 0x599783)
#8  0x000055911b9e304c _ZN10chatterino11Application10initializeERNS_8SettingsERNS_5PathsE (chatterino + 0x3dc04c)
#9  0x000055911b9fa06a _ZN10chatterino6runGuiER12QApplicationRNS_5PathsERNS_8SettingsE (chatterino + 0x3f306a)
#10 0x000055911b9cd2ee main (chatterino + 0x3c62ee)
#11 0x00007fc8dca45cd0 n/a (libc.so.6 + 0x27cd0)
#12 0x00007fc8dca45d8a __libc_start_main (libc.so.6 + 0x27d8a)
#13 0x000055911b9c8e65 _start (chatterino + 0x3c1e65)

Stack trace of thread 1380:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1382:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1343:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaa9d40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2  0x00007fc8dd8cc950 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc950)
#3  0x00007fc8d936b828 n/a (libQt6WaylandClient.so.6 + 0x72828)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1337:
#0  0x00007fc8dcb20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fc8dc98a276 n/a (libglib-2.0.so.0 + 0xb8276)
#2  0x00007fc8dc92a162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3  0x00007fc8dd997934 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x397934)
#4  0x00007fc8dd76cc5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cc5e)
#5  0x00007fc8dd849d6f _ZN7QThread4execEv (libQt6Core.so.6 + 0x249d6f)
#6  0x00007fc8ddd777ff n/a (libQt6DBus.so.6 + 0x2e7ff)
#7  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#8  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#9  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1344:
#0  0x00007fc8dcb20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fc8d936b8a8 n/a (libQt6WaylandClient.so.6 + 0x728a8)
#2  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#3  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#4  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1385:
#0  0x00007fc8dcb20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fc8dc98a276 n/a (libglib-2.0.so.0 + 0xb8276)
#2  0x00007fc8dc92a162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3  0x00007fc8dd997934 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x397934)
#4  0x00007fc8dd76cc5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cc5e)
#5  0x00007fc8dd849e6f _ZN7QThread3runEv (libQt6Core.so.6 + 0x249e6f)
#6  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#7  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#8  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1379:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1473:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaa9d40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2  0x00007fc8996d1b5c n/a (radeonsi_dri.so + 0xd1b5c)
#3  0x00007fc89971ca0c n/a (radeonsi_dri.so + 0x11ca0c)
#4  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#5  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1383:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1406:
#0  0x00007fc8dcb20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fc8dc98a276 n/a (libglib-2.0.so.0 + 0xb8276)
#2  0x00007fc8dc92a162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3  0x00007fc8dc92a1b2 n/a (libglib-2.0.so.0 + 0x581b2)
#4  0x00007fc8dc95d9f5 n/a (libglib-2.0.so.0 + 0x8b9f5)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1405:
#0  0x00007fc8dcb2c73d syscall (libc.so.6 + 0x10e73d)
#1  0x00007fc8dc9852b7 g_cond_wait (libglib-2.0.so.0 + 0xb32b7)
#2  0x00007fc8dc8f71b4 n/a (libglib-2.0.so.0 + 0x251b4)
#3  0x00007fc8dc95fa7e n/a (libglib-2.0.so.0 + 0x8da7e)
#4  0x00007fc8dc95d9f5 n/a (libglib-2.0.so.0 + 0x8b9f5)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1407:
#0  0x00007fc8dcb20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fc8dc98a276 n/a (libglib-2.0.so.0 + 0xb8276)
#2  0x00007fc8dc92cb97 g_main_loop_run (libglib-2.0.so.0 + 0x5ab97)
#3  0x00007fc8d987f14c n/a (libgio-2.0.so.0 + 0x11214c)
#4  0x00007fc8dc95d9f5 n/a (libglib-2.0.so.0 + 0x8b9f5)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1408:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1404:
#0  0x00007fc8dcb20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fc8dc98a276 n/a (libglib-2.0.so.0 + 0xb8276)
#2  0x00007fc8dc92a162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3  0x00007fc8dd997934 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x397934)
#4  0x00007fc8dd76cc5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cc5e)
#5  0x00007fc8dd849e6f _ZN7QThread3runEv (libQt6Core.so.6 + 0x249e6f)
#6  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#7  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#8  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1409:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1471:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaa9d40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2  0x00007fc8996d1b5c n/a (radeonsi_dri.so + 0xd1b5c)
#3  0x00007fc89971ca0c n/a (radeonsi_dri.so + 0x11ca0c)
#4  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#5  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1472:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaa9d40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2  0x00007fc8996d1b5c n/a (radeonsi_dri.so + 0xd1b5c)
#3  0x00007fc89971ca0c n/a (radeonsi_dri.so + 0x11ca0c)
#4  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#5  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1474:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaa9d40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2  0x00007fc8996d1b5c n/a (radeonsi_dri.so + 0xd1b5c)
#3  0x00007fc89971ca0c n/a (radeonsi_dri.so + 0x11ca0c)
#4  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#5  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1475:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1518:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaa9d40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2  0x000055911bb5a884 ma_semaphore_wait__posix (chatterino + 0x553884)
#3  0x000055911bb5a929 ma_resource_manager_next_job (chatterino + 0x553929)
#4  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#5  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 1381:
#0  0x00007fc8dcaa74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fc8dcaaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fc8dd8cc8e4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2cc8e4)
#3  0x00007fc8dd8cf40a n/a (libQt6Core.so.6 + 0x2cf40a)
#4  0x00007fc8dd8c97b3 n/a (libQt6Core.so.6 + 0x2c97b3)
#5  0x00007fc8dcaaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fc8dcb2e7cc n/a (libc.so.6 + 0x1107cc)
ELF object binary architecture: AMD x86-64

Related issues:
mackron/miniaudio#527

Screenshots

No response

OS and Chatterino Version

Chatterino 2.4.6 (commit 25c776c) built with Qt 6.6.0 Running on Arch Linux, kernel: 6.5.9-arch2-1

@fruzitent fruzitent added the issue-report An issue reported by a user. label Oct 31, 2023
@Felanbird Felanbird added crash OS: Linux and removed issue-report An issue reported by a user. labels Oct 31, 2023
@pajlada pajlada added the help wanted Help is wanted to debug/fix this issue label Nov 5, 2023
@cWve
Copy link

cWve commented Nov 20, 2023

I get the same crash, same backtrace on gdb, however I can also reproduce it when pipewire is running and has no output devices (I noticed because I keep my speakers disabled at all times, so that chatterino crashes on start when my headphones are not connected)

Chatterino 2.4.6 DEBUG (commit fbc8aaca) built with Qt 6.6.0
Running on Arch Linux, kernel: 6.6.1-zen1-1-zen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash help wanted Help is wanted to debug/fix this issue OS: Linux
Projects
None yet
Development

No branches or pull requests

4 participants