Skip to content

crash when connecting to an SRT server failed #11620

Open

Description

@darix

Operating System Info

Other

Other OS

openSUSE Tumbleweed

OBS Studio Version

31.0.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

OBS Studio Crash Log URL

No response

Expected Behavior

not crashing when connecting failed

Current Behavior

Program terminated with signal SIGSEGV, Segmentation fault.
#0  libsrt_close.isra.0 (h=<optimized out>) at /usr/src/debug/obs-studio-31.0.0/plugins/obs-ffmpeg/obs-ffmpeg-srt.h:790
790		if (s->streamid)
(gdb) p s
$1 = (SRTContext *) 0x7f9531388ac6
(gdb) p *s
Cannot access memory at address 0x7f9531388ac6

Steps to Reproduce

  1. configure an SRT that leads to a rejected connection
  2. start streaming

Anything else we should know?

No response

Activity

  1. RytoEX commented on Dec 11, 2024

    @RytoEX
    Member

    What happens in OBS Studio 30.2.3?

  2. darix commented on Dec 11, 2024

    @darix
    ContributorAuthor

    sorry don't have the package for that. I went with upgrading the 29.x to 32.x with our package.

  3. RytoEX commented on Dec 11, 2024

    @RytoEX
    Member

    Please also provide a log file from when this occurs.

  4. pkviet commented on May 17, 2025

    @pkviet
    Member

    The crashes should be fixed hopefully; at least they are for me. Testers welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions