Skip to content

[crash] Segfault in fcntl() call in modules/access/file.c

stacktrace:

Uncaught RuntimeError: abort(segmentation fault) at Error
    at jsStackTrace (http://localhost:6931/experimental.js:2543:19)
    at stackTrace (http://localhost:6931/experimental.js:2560:16)
    at abort (http://localhost:6931/experimental.js:1923:44)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
    at abort (http://localhost:6931/experimental.js:1929:11)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
    at access_New (http://localhost:6931/experimental.wasm:wasm-function[15133]:0xc3148a)
    at stream_AccessNew (http://localhost:6931/experimental.wasm:wasm-function[15136]:0xc31719)
abort	@	experimental.js:1929
segfault	@	experimental.js:956
SAFE_HEAP_LOAD_i32_4_4	@	tfind.c:230
fcntl	@	tfind.c:230
FileOpen	@	file.c:188
generic_start	@	modules.c:275
vlc_module_load	@	modules.c:243
module_need	@	modules.c:286
access_New	@	access.c:149
stream_AccessNew	@	access.c:294
InputSourceInit	@	input.c:2644
Init	@	input.c:1276
Preparse	@	input.c:493
dynCall	@	experimental.js:2206
onmessage	@	experimental.worker.js:123

more:

[vlc.js: 0xf987b0/0xf39658] libvlc input: Creating an input for 'BigBuckBunny.mp4'
module-loader.js:68 pthread_sigmask() is not supported: this is a no-op.
module-loader.js:68 pthread_sigmask() is not supported: this is a no-op.
experimental.js:15112 [Violation] 'click' handler took 324ms
experimental.js:14934 [vlc.js: 0x13a0948/0xf3a758] libvlc input: Creating an input for preparsing 'BigBuckBunny.mp4'
experimental.js:16349 pthread_sigmask() is not supported: this is a no-op.
experimental.js:16349 pthread_sigmask() is not supported: this is a no-op.
experimental.js:14934 [vlc.js: 0xf987b0/0x13a0620] libvlc input: using timeshift granularity of 50 MiB
experimental.js:14934 [vlc.js: 0xf987b0/0x13a0620] libvlc input: using default timeshift path
experimental.js:14934 [vlc.js: 0xf987b0/0x13a0620] libvlc input: `file:////./BigBuckBunny.mp4' gives access `file' demux `any' path `//./BigBuckBunny.mp4'
experimental.js:14934 [vlc.js: 0x1423c40/0x13a0620] libvlc access: creating access: file:////./BigBuckBunny.mp4
experimental.js:14934 [vlc.js: 0x1423c40/0x13a0620] libvlc access:  (path: //./BigBuckBunny.mp4)
experimental.js:14934 [vlc.js: 0x13a020c/0x13a0620] libvlc generic: looking for access module matching "file": 2 candidates
experimental.js:1916 Pthread aborting at Error
    at abort (http://localhost:6931/experimental.js:1916:70)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
    at access_New (http://localhost:6931/experimental.wasm:wasm-function[15133]:0xc3148a)
    at stream_AccessNew (http://localhost:6931/experimental.wasm:wasm-function[15136]:0xc31719)
experimental.js:1918 segmentation fault
experimental.worker.js:163 worker.js onmessage() captured an uncaught exception: RuntimeError: abort(segmentation fault) at Error
    at jsStackTrace (http://localhost:6931/experimental.js:2543:19)
    at stackTrace (http://localhost:6931/experimental.js:2560:16)
    at abort (http://localhost:6931/experimental.js:1923:44)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
experimental.worker.js:164 RuntimeError: abort(segmentation fault) at Error
    at jsStackTrace (http://localhost:6931/experimental.js:2543:19)
    at stackTrace (http://localhost:6931/experimental.js:2560:16)
    at abort (http://localhost:6931/experimental.js:1923:44)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
    at abort (http://localhost:6931/experimental.js:1929:11)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
    at access_New (http://localhost:6931/experimental.wasm:wasm-function[15133]:0xc3148a)
    at stream_AccessNew (http://localhost:6931/experimental.wasm:wasm-function[15136]:0xc31719)
module-loader.js:68 pthread sent an error! http://localhost:6931/experimental.worker.js:165: Uncaught RuntimeError: abort(segmentation fault) at Error
    at jsStackTrace (http://localhost:6931/experimental.js:2543:19)
    at stackTrace (http://localhost:6931/experimental.js:2560:16)
    at abort (http://localhost:6931/experimental.js:1923:44)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
experimental.worker.js:165 Uncaught RuntimeError: abort(segmentation fault) at Error
    at jsStackTrace (http://localhost:6931/experimental.js:2543:19)
    at stackTrace (http://localhost:6931/experimental.js:2560:16)
    at abort (http://localhost:6931/experimental.js:1923:44)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
    at abort (http://localhost:6931/experimental.js:1929:11)
    at segfault (http://localhost:6931/experimental.js:956:3)
    at SAFE_HEAP_LOAD_i32_4_4 (http://localhost:6931/experimental.wasm:wasm-function[19090]:0xcda170)
    at fcntl (http://localhost:6931/experimental.wasm:wasm-function[17179]:0xcaceeb)
    at FileOpen (http://localhost:6931/experimental.wasm:wasm-function[2768]:0x1255b2)
    at generic_start (http://localhost:6931/experimental.wasm:wasm-function[14932]:0xc0bfd6)
    at vlc_module_load (http://localhost:6931/experimental.wasm:wasm-function[14930]:0xc0be27)
    at module_need (http://localhost:6931/experimental.wasm:wasm-function[14931]:0xc0bf3b)
    at access_New (http://localhost:6931/experimental.wasm:wasm-function[15133]:0xc3148a)
    at stream_AccessNew (http://localhost:6931/experimental.wasm:wasm-function[15136]:0xc31719)