red5pro / streaming-ios

This repository contains a simple project with a number of iOS examples that can be used for testing and reference.
Other
92 stars 29 forks source link

App crashes at `[R5Stream stopPublishFinalize]` #190

Open erychagov opened 3 years ago

erychagov commented 3 years ago

I faced with a problem that from time to time my app crashes. I catch it using Xcode:

com.red5pro.publish_loop (51)

#9724   0x0000000100e473c4 in -[R5Publisher .cxx_destruct] at /Users/infrared5/Documents/TeamCity/buildAgent/work/cc920c7012206aa9/red5streaming/src/R5Publisher.mm:77
#9725   0x0000000189bc27cc in object_cxxDestructFromClass(objc_object*, objc_class*) ()
#9726   0x0000000189bd26b8 in objc_destructInstance ()
#9727   0x0000000189bd2720 in object_dispose ()
#9728   0x0000000100e52ef0 in -[R5Stream stopPublishFinalize] at /Users/infrared5/Documents/TeamCity/buildAgent/work/cc920c7012206aa9/red5streaming/src/R5Stream.mm:1204
#9729   0x0000000100e4f8bc in -[R5Stream onConfigurationStatus:withMsg:] at /Users/infrared5/Documents/TeamCity/buildAgent/work/cc920c7012206aa9/red5streaming/src/R5Stream.mm:482
#9730   0x0000000100e4ea84 in configuration_cb(int, client_ctx*, char const*) at /Users/infrared5/Documents/TeamCity/buildAgent/work/cc920c7012206aa9/red5streaming/src/R5Stream.mm:172
#9731   0x0000000100e36434 in conn_close [inlined] at /Users/infrared5/Documents/TeamCity/buildAgent/work/cc920c7012206aa9/red5streaming/src/connection.c:779
#9732   0x0000000100e3628c in do_kill at /Users/infrared5/Documents/TeamCity/buildAgent/work/cc920c7012206aa9/red5streaming/src/connection.c:577
#9733   0x0000000100e6f020 in uv__stream_eof at /Users/azupko/Downloads/libuv1/src/unix/stream.c:952
#9734   0x0000000100e6ede0 in uv__read at /Users/azupko/Downloads/libuv1/src/unix/stream.c:1130
#9735   0x0000000100e6a808 in uv__stream_io at /Users/azupko/Downloads/libuv1/src/unix/stream.c:1206
#9736   0x0000000100e76184 in uv__io_poll at /Users/azupko/Downloads/libuv1/src/unix/kqueue.c:247
#9737   0x0000000100e5e144 in uv_run at /Users/azupko/Downloads/libuv1/src/unix/core.c:324

iOS SDK version: 7.3.0 Xcode version: 12.4 (12D4e) iOS version: 12.5.1

Any solution or workaround?