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

Segmentation fault (core dumped) after upgrade from v0.127.2 to v0.128.0 #244

Open
yelodevopsi opened this issue Feb 16, 2024 · 0 comments

Comments

@yelodevopsi
Copy link
Contributor

I see the update is related to pointers. It's hard to get more debug out of this, but please give some hints and I'll give what I can.

Our current RTSP-server implementation throws a segmentation fault after

//For all pending tracks
//Attach it
for (const outgoingVideoTrak of this.tracks) {
    console.log("outgoingVideoTrak", outgoingVideoTrak);
    outgoingVideoTrak.attachTo(this.session.getIncomingStreamTrack());
}

Here are some log. Just console the "outgoingVideoTrak":

2024-02-16T12:40:52.780Z [DEBUG] Camera[PI-02] play() |  Got description, creating new streamer session and setting up rtsp session
2024-02-16T12:40:52.780Z [INFO ] Camera[PI-02] RTCP set to 0
request SETUP rtsp://172.25.25.102:554/axis-media/media.amp/trackID=1 { Transport: 'RTP/AVP;unicast;client_port=25830-25831' }
2024-02-16T12:40:52.854Z [DEBUG] Camera[PI-02] play() |  Session setup, starting playback
request PLAY rtsp://172.25.25.102:554/axis-media/media.amp { Session: 'F42786D7' }
2024-02-16T12:40:52.932Z [DEBUG] Camera[PI-02] Switching to state playing from connecting
2024-02-16T12:40:52.932Z [INFO ] Camera[PI-02] play() |  Playback started
outgoingVideoTrak OutgoingStreamTrack {
  id: 'video',
  mediaId: '',
  media: 'video',
  sender: _exports_RTPSenderShared {},
  source: _exports_RTPOutgoingSourceGroupShared {},
  muted: false,
  trackInfo: TrackInfo {
    media: 'video',
    id: 'video',
    ssrcs: [ 255741573, 425480336 ],
    groups: [ [SourceGroupInfo] ],
    encodings: []
  },
  emitter: EventEmitter {
    _events: [Object: null prototype] { stopped: [Array] },
    _eventsCount: 1,
    _maxListeners: undefined,
    [Symbol(kCapture)]: false
  },
  onremb: [Function (anonymous)]
}
Segmentation fault (core dumped)
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

1 participant