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

OBS Crashing at the one 1 hour 30 minute mark during stream #6804

Closed
oparada1988 opened this issue Jul 24, 2022 · 9 comments
Closed

OBS Crashing at the one 1 hour 30 minute mark during stream #6804

oparada1988 opened this issue Jul 24, 2022 · 9 comments

Comments

@oparada1988
Copy link

Operating System Info

Other

Other OS

Ubuntu 22.04 LTS

OBS Studio Version

27.2.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/4MPDLE3RuRxi7Nd-

OBS Studio Crash Log URL

https://drive.google.com/file/d/1cZ7kucnRoqST-gB_FykkpMY3LuJU7BBy/view?usp=sharing

Expected Behavior

Not to crash while streaming

Current Behavior

OBS crashes at the 1 hour 30 minute mark

Steps to Reproduce

  1. open obs
  2. clicked on "start streaming"
  3. OBS crashes at the 1 hour 30 minute mark
    ...

Anything else we should know?

to rule out any issues with my OS, i performed a reinstallation on July 22, 2022. I streamed on July 23, 2022 and OBS crashed at the above time frame

On July 24, 2022 I streamed again with gdb and OB crashed again

@kkartaltepe
Copy link
Collaborator

kkartaltepe commented Jul 24, 2022

You exited before getting the full output from gdb. Please try again and continue at the prompts for more output instead of exiting. bt is good enough there is no need for bt full.

@oparada1988
Copy link
Author

You exited before getting the full output from gdb. Please try again and continue at the prompts for more output instead of exiting. bt is good enough there is no need for bt full.

Thanks for the follow up, capturing again

@oparada1988
Copy link
Author

please see below:
obs log: 2022-07-24 12-51-08.txt

gdb log:

(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140731675027008) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140731675027008) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140731675027008, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007ffff446a476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff44507f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff445071b in __assert_fail_base (fmt=0x7ffff4605150 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x7ffff567e11b "size <= cb->size", file=0x7ffff567e101 "./libobs/util/circlebuf.h", line=246, function=)
at ./assert/assert.c:92
#6 0x00007ffff4461e96 in __GI___assert_fail (assertion=0x7ffff567e11b "size <= cb->size", file=0x7ffff567e101 "./libobs/util/circlebuf.h",
line=246, function=0x7ffff568a540 "circlebuf_peek_front") at ./assert/assert.c:101
#7 0x00007ffff5678e0f in ?? () from /lib/libobs.so.0
#8 0x00007ffff5634b0c in obs_source_output_audio () from /lib/libobs.so.0
#9 0x00007fff2d820ead in ?? () from /usr//lib/obs-plugins/linux-pulseaudio.so
#10 0x00007fffef02d251 in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#11 0x00007fffeda56765 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#12 0x00007fffeda5728f in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#13 0x00007fffef040a73 in pa_mainloop_dispatch () from /lib/x86_64-linux-gnu/libpulse.so.0
#14 0x00007fffef0410ca in pa_mainloop_iterate () from /lib/x86_64-linux-gnu/libpulse.so.0
#15 0x00007fffef041170 in pa_mainloop_run () from /lib/x86_64-linux-gnu/libpulse.so.0
#16 0x00007fffef05137d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#17 0x00007fffeda69cb3 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
#18 0x00007ffff44bcb43 in start_thread (arg=) at ./nptl/pthread_create.c:442
#19 0x00007ffff454ea00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)

@kkartaltepe
Copy link
Collaborator

You have some audio related third party plugins, can you remove them and see if this solves the issue?

@oparada1988
Copy link
Author

Interesting,

I dont have any audio plugins, I have websocket(https://github.com/obsproject/obs-websocket) and the below plugins:
Screenshot from 2022-07-24 14-56-38

Do you think it could be related to pipewire? Installed it using this guide: https://github.com/mikeroyal/PipeWire-Guide

Ill go ahead and uninstall pipewire and try again

@kkartaltepe
Copy link
Collaborator

kkartaltepe commented Jul 24, 2022

if phandasm_waveform_source is not reading or writing audio data into obs then that's probably fine. If you have time to test with/without pipewire that would be helpful as well.

@oparada1988
Copy link
Author

if phandasm_waveform_source is not reading or writing audio data into obs then that's probably fine. If you have time to test with/without pipewire that would be helpful as well.

Just an update, I was able to do a test stream for 2 hours without crash after removing pipewire.

Will proceed to retest in a real world situation. will report back

@kkartaltepe
Copy link
Collaborator

I was not able to replicate a crash on the current master version with pipewire 0.3.55 after recording for 2h15m with one stereo device.

Looking at the log it seems you are using a version of pipewire that isnt distributed with ubuntu 22.04 which may cause issues with trying to use our PPA.

@oparada1988
Copy link
Author

I was not able to replicate a crash on the current master version with pipewire 0.3.55 after recording for 2h15m with one stereo device.

Looking at the log it seems you are using a version of pipewire that isnt distributed with ubuntu 22.04 which may cause issues with trying to use our PPA.

Hello, I just completed a stream of 2:30 with no crash. It appears the above PPA of pipewire is the cause of the issue. Going forward I will try to install the master branch of pipewire.

Thanks for your help, this ticket can be closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants