Service Discovery crash during playback
VLC crashed while playing back a media, apparently due to the service discovery being turned off.
Description
I launched a playback, and let it play for a while (about a minute or so). The screen was locked when the crash occured.
Expected behavior
No crash
Actual behavior
Yes crash
********** Crash dump: **********
Build fingerprint: 'google/taimen/taimen:9/PQ3A.190705.001/5565753:user/release-keys'
pid: 8990, tid: 15047, name: VlcObject >>> org.videolan.vlc <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4
Stack frame #00 pc 00000000004645f4 /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+84)
Stack frame #01 pc 0000000000342dc4 /system/lib64/libart.so (art::JNI::CallVoidMethod(_JNIEnv*, _jobject*, _jmethodID*, ...)+716)
Stack frame #02 pc 000000000000ae24 /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlcjni.so: Routine VLCJniObject_eventCallback at /mnt/ssd/build-avlc/libvlc/jni/libvlcjni-vlcobject.c:192
Stack frame #03 pc 000000000069c70c /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so: Routine libvlc_event_send at /mnt/ssd/build-avlc/vlc/build-android-aarch64-linux-android/lib/../../lib/event.c:120
Stack frame #04 pc 00000000006a24b0 /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so: Routine notify_item_deletion at /mnt/ssd/build-avlc/vlc/build-android-aarch64-linux-android/lib/../../lib/media_list.c:112
Stack frame #05 pc 00000000006a451c /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so: Routine services_discovery_item_removed at /mnt/ssd/build-avlc/vlc/build-android-aarch64-linux-android/lib/../../lib/media_discoverer.c:129
Stack frame #06 pc 00000000004cad54 /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so: Routine services_discovery_RemoveItem at /mnt/ssd/build-avlc/vlc/build-android-aarch64-linux-android/modules/../../include/vlc_services_discovery.h:210
Stack frame #07 pc 00000000004cb3b8 /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so: Routine stop_sd_cb at /mnt/ssd/build-avlc/vlc/build-android-aarch64-linux-android/modules/../../modules/services_discovery/microdns.c:445
Stack frame #08 pc 0000000001751b64 /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so (mdns_listen+456): Routine mdns_listen at /mnt/ssd/build-avlc/vlc/contrib/contrib-android-aarch64-linux-android/microdns/src/mdns.c:605
Stack frame #09 pc 00000000004ca830 /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so: Routine RunSD at /mnt/ssd/build-avlc/vlc/build-android-aarch64-linux-android/modules/../../modules/services_discovery/microdns.c:456
Stack frame #10 pc 00000000006ff524 /data/app/org.videolan.vlc-Fk4m1zjoncfcWL6dCMHV5w==/lib/arm64/libvlc.so: Routine joinable_thread at /mnt/ssd/build-avlc/vlc/build-android-aarch64-linux-android/src/../../src/android/thread.c:211
Stack frame #11 pc 0000000000083114 /system/lib64/libc.so (__pthread_start(void*)+36)
Stack frame #12 pc 00000000000233bc /system/lib64/libc.so (__start_thread+68)
Steps to reproduce
- Go to the network browsing tab
- Start a (local in my case) playback
- Pray for the crash to happen because it's not easily reproducible
Screenshot / video
Context
App version
3.2.0 alpha
Android version
9
Device model
Pixel 2 XL
App mode
Smartphone