-
Notifications
You must be signed in to change notification settings - Fork 58
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
Program aborted with reason: Assertion 'pa_atomic_load(&(o)->_ref) >= 1' failed at ../src/pulse/operation.c:68, function pa_operation_unref(). #181
Comments
Thanks, we had some very recent changes around sound handling on Linux. I have unfortunately |
@chuma, I am experiencing this same error under OpenBSD, as well. I don't use a desktop environment which would start pulseaudio automatically, so when testing Einstein I just do the following:
Einstein will start booting NewtonOS and I hear the startup sound, but Einstein seems to just hang at the Newton logo and never complete the boot process. If I kill Einstein and launch it again, then Einstein crashes with the error mentioned in this issue. However, if I restart pulseaudio as follows, Einstein will then play the startup sound and hang again:
Update: The hanging issue seems to have been related to my einstein.prefs. Deleting it & reconfiguring allows it to boot at normal speed, though interactions that presumably would play sounds (such as tapping a button) do cause NewtonOS to hang without playing a sound. |
I can confirm that reverting the October 2022 commit related to Pulseaudio fixed this error for me.
|
I reverted the commit in the master. Sorry @chuma , it crashed many machines, and I don't have the time right now to fix this. Maybe you can look at 80727f6 and create a new PR?
|
Basic Information
Description of issue
I did a build from the master branch, everything was fine until when I ran the application, after the NewtonOS startup screen and sound startup played, and then the sound suddenly stopped, and in the next screen I clicked Continue (Welcome Screen in NewtonOS), but at the moment the sound continued and stopped again after it had moved to the next screen, and in the next screen, I press Next button, and when I press the button, the previous startup sound continues to play (It's like the startup sound was broken up and played every time the button was pressed and stopped when it moved to the next screen) and then it threw an error:
As far as I understand this is a bug in implementing the emulator's audio to work with Linux's PulseAudio.
So, is there any workaround for this problem, and how can I fix it?
Expected behaviour
Fully working emulator with supported sound
Steps to reproduce issue
I did a build from the master branch, everything was fine until when I ran the application, after the NewtonOS startup screen and sound startup played, and then the sound suddenly stopped, and in the next screen I clicked Continue (Welcome Screen in NewtonOS), but at the moment the sound continued and stopped again after it had moved to the next screen, and in the next screen, I press Next button, and when I press the button, the previous startup sound continues to play (It's like the startup sound was broken up and played every time the button was pressed and stopped when it moved to the next screen)
The text was updated successfully, but these errors were encountered: