libvlc crashes on some streams
I use libvlc in my python kivy app with python-vlc for getting strems. It works perfect on my android devices when I use libvlc for getting rtp streams or local files but when I try to get http://_.mp3 or http://_.m3u8 streams it crashes. Also on my windows pc with same code all streams works without crashes.
03-30 18:21:02.363 14331 14331 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-30 18:21:02.364 14331 14331 F DEBUG : Build fingerprint: 'Imaqliq/gbox_x/gbox_x:7.1.2/NHG47L/202106081233:user/test-keys'
03-30 18:21:02.364 14331 14331 F DEBUG : Revision: '0'
03-30 18:21:02.364 14331 14331 F DEBUG : ABI: 'arm64'
03-30 18:21:02.364 14331 14331 F DEBUG : pid: 14136, tid: 14330, name: SDLThread >>> org.test_kt_app.test_kt_app <<<
03-30 18:21:02.364 14331 14331 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
03-30 18:21:02.364 14331 14331 F DEBUG : x0 0000000000000000 x1 00000078913a0a70 x2 0000000000010002 x3 0000000000000020
03-30 18:21:02.364 14331 14331 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 000000789a9ffb20 x7 69646172676e6974
03-30 18:21:02.364 14331 14331 F DEBUG : x8 2c1b52ccf699cfd2 x9 0000000000000958 x10 000000789cb54680 x11 0000000000000000
03-30 18:21:02.364 14331 14331 F DEBUG : x12 000000789cb54688 x13 000000008000002f x14 00000078c10ea0e8 x15 00000078c10e9d8c
03-30 18:21:02.364 14331 14331 F DEBUG : x16 0000007897a4c480 x17 00000078956a9bb0 x18 0000000000000000 x19 0000000000000002
03-30 18:21:02.364 14331 14331 F DEBUG : x20 0000000000000000 x21 000000789a9ffb20 x22 00000078913a14e8 x23 0000000000000000
03-30 18:21:02.364 14331 14331 F DEBUG : x24 00000078913a14e8 x25 0000007897ab6000 x26 000000789746c1b7 x27 00000078970aa77a
03-30 18:21:02.364 14331 14331 F DEBUG : x28 000000789a912f40 x29 00000078913a0ad0 x30 000000789575ef10
03-30 18:21:02.364 14331 14331 F DEBUG : sp 00000078913a0a50 pc 00000078956a9bf8 pstate 0000000020000000
03-30 18:21:02.379 14331 14331 F DEBUG :
03-30 18:21:02.379 14331 14331 F DEBUG : backtrace:
03-30 18:21:02.379 14331 14331 F DEBUG : #00 pc 0000000000490bf8 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so (vlc_getProxyUrl+72)
03-30 18:21:02.379 14331 14331 F DEBUG : #01 pc 0000000000545f0c /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.379 14331 14331 F DEBUG : #02 pc 0000000000545cdc /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.379 14331 14331 F DEBUG : #03 pc 000000000054cb00 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #04 pc 000000000054cc20 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #05 pc 00000000006010a4 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #06 pc 0000000000454790 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so (vlc_module_load+684)
03-30 18:21:02.380 14331 14331 F DEBUG : #07 pc 00000000004a49f8 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #08 pc 00000000004a4cfc /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #09 pc 0000000000468368 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #10 pc 0000000000463164 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #11 pc 0000000000465544 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #12 pc 0000000000491af8 /data/app/org.test_kt_app.test_kt_app-1/lib/arm64/libvlc.so
03-30 18:21:02.380 14331 14331 F DEBUG : #13 pc 0000000000069690 /system/lib64/libc.so (_ZL15__pthread_startPv+196)
03-30 18:21:02.380 14331 14331 F DEBUG : #14 pc 000000000001da00 /system/lib64/libc.so (__start_thread+16)
Steps to reproduce
Use any http://_.mp3 or http://_.m3u8 stream, example: http://hitfm.hostingradio.ru/hitfm128.mp3
Code you used
VLC_INSTANCE = vlc.Instance()
VLC_PLAYER = VLC_INSTANCE.media_player_new()
media = VLC_INSTANCE.media_new(url)
VLC_PLAYER.set_media(media)
VLC_PLAYER.play()
libvlc version
Tested compiled version from master branch and versions from android vlc app 3.5.4, 3.4.0, 3.3.0
Android version
Issue occurs on all versions of android (tested on 7,8,9,10,11,12)