I'm trying to run the GPAC service on gpac_android with the command _"gpac -i route:{url}:max_segs=8 dashin:forward=file httpout:port=6000 --rdirs=/sdcard/gpac --cors=auto"_, which is causing a crash with the log message _JNI DETECTED ERROR IN APPLICATION: can't call void android.media.AudioTrack.stop() on null object_. If I comment out the uninit() function in the gpac_jni.cpp file and rebuild, the crash doesn't occur. However, the service doesn't stop. Therefore, I'm attempting to stop the previous service and start a new one.

Crash log: https://www.mediafire.com/file/h10vaq1x14dktsw/gpac_crash_log.rtf/file




Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!

- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/

App crashes when running GPAC Service
This is a GitHub Issue
repo:gpac
owner:gpac
Title : App crashes when running GPAC Service
Issue date:

--- start body ---
I'm trying to run the GPAC service on gpac_android with the command _"gpac -i route:{url}:max_segs=8 dashin:forward=file httpout:port=6000 --rdirs=/sdcard/gpac --cors=auto"_, which is causing a crash with the log message _JNI DETECTED ERROR IN APPLICATION: can't call void android.media.AudioTrack.stop() on null object_. If I comment out the uninit() function in the gpac_jni.cpp file and rebuild, the crash doesn't occur. However, the service doesn't stop. Therefore, I'm attempting to stop the previous service and start a new one.

Crash log: https://www.mediafire.com/file/h10vaq1x14dktsw/gpac_crash_log.rtf/file




Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!

- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/

--- end body ---
