VLC / vlc-cache-gen crashes on OpenBSD.
Trying to build VLC 1.1.x on OpenBSD I'm running into vlc-cache-gen crashing. Removing vlc-cache-gen from the build and trying to start VLC without vlc-cache-gen results in a similar backtrace.
Here is a full backtrace from the vlc-cache-gen crash..
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00000002084950f1 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
p = (struct atexit *) 0x202246000
mask = 4294967263
cleanup_called = 1
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x0000000202b166a7 in vlc_tdestroy (root=0x0, freenode=0x202b12ef9 <CleanupVar>) at extras/tdestroy.c:106
i = 0
tab = (const void **) 0x2050300b0
count = 1
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x0000000202b12f39 in var_DestroyAll (obj=0x205033d70) at misc/variables.c:399
priv = (vlc_object_internals_t *) 0x205033d00
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x0000000202b10957 in vlc_object_destroy (p_this=0x205033d70) at misc/objects.c:275
p_priv = (vlc_object_internals_t *) 0x205033d00
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x0000000202b10fa5 in vlc_object_release (p_this=0x205033d70) at misc/objects.c:605
canc = 0
internals = (vlc_object_internals_t *) 0x205033d00
parent = (vlc_object_t *) 0x206a40870
b_should_destroy = true
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x0000000202a85a0c in intf_Create (p_this=0x206a40870, psz_module=0x202c31548 "inhibit,none") at interface/interface.c:178
p_libvlc = (libvlc_int_t *) 0x206a40870
p_intf = (intf_thread_t *) 0x205033d70
val = {i_int = 46385844, b_bool = 180, f_float = 2.87690207e-37, psz_string = 0x202c3cab4 "gestures", p_address = 0x202c3cab4, p_object = 0x202c3cab4, p_list = 0x202c3cab4, i_time = 8636320436, coords = {
x = 46385844, y = 2}, padding = "´ÊÃ\002\002\000\000"}
text = {i_int = 46385853, b_bool = 189, f_float = 2.87690409e-37, psz_string = 0x202c3cabd "Mouse Gestures", p_address = 0x202c3cabd, p_object = 0x202c3cabd, p_list = 0x202c3cabd, i_time = 8636320445,
coords = {x = 46385853, y = 2}, padding = "½ÊÃ\002\002\000\000"}
psz_parser = 0x205030170 'ß' <repeats 80 times>, "autolaunch:"
psz_tmp = 0x0
psz_type = "interface"
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x0000000202a6fc53 in libvlc_InternalInit (p_libvlc=0x206a40870, i_argc=6, ppsz_argv=0x7f7ffffde080) at libvlc.c:905
priv = (libvlc_priv_t *) 0x206a40870
p_tmp = 0x0
psz_modules = 0x0
psz_parser = 0x0
psz_control = 0x0
b_exit = false
i_ret = -255
p_playlist = (playlist_t *) 0x20918d670
psz_val = 0x204f05d9d "H\211èH\213\\$\020H\213l$\030L\213d$ L\213l$(L\213t$0H\203Ä8Ãf\220H\215t$\f1ÿè\204éÿÿH\213sPH\213{Hº\003"
module_count = 345
list = (module_t **) 0x206f59530
vlc_optind = 6
psz_verbose_objects = 0x0
p_capabilities = "MMX 3DNow! MMXEXT SSE SSE2 SSE3 FPU \000\000\000\000Iå¦\002\002\000\000\000\235]ð\004\002\000\000\000P\035¥\002\002\000\000\000 \020\036\b\000\000\000\000\bâýÿ\177\177\000\0000áýÿ\177\177\000\000\002\000\000\000\000\000\000\000\200\030\200", '\0' <repeats 13 times>, "\221$ð\004\002", '\0' <repeats 11 times>, "\037", '\0' <repeats 23 times>, "p\b¤\006\002\000\000\000\006\000\000\000\000\000\000\000\200àýÿ\177\177\000\000È9Ä\f\002", '\0' <repeats 11 times>, "\006\002\000\000\000\000\000"
[#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x00000002103b5259 in libvlc_new (argc=5, argv=0x7f7ffffde160) at control/core.c:58
p_new = (libvlc_instance_t *) 0x208be8140
my_argv = 0x7f7ffffde080
p_libvlc_int = (libvlc_int_t *) 0x206a40870
[#9](https://code.videolan.org/videolan/vlc/-/issues/9) 0x0000000000400f85 in main (argc=2, argv=0x7f7ffffde208) at cachegen.c:111
vlc_argv = {0x5011b6 "--ignore-config", 0x5011c6 "--quiet", 0x5011ce "--no-media-library", 0x208adb010 "--plugin-path=.", 0x5011f7 "--", 0x0, 0x7f7ffffde208 "Häýÿ\177\177"}
vlc = (libvlc_instance_t *) 0x7f7ffffde1f0
path = 0x7f7ffffde48e "."
arg = 0x208adb010 "--plugin-path=."
vlc_argc = 5
i = 1
c = -1
force = false
opts = {{name = 0x50110d "force", has_arg = 0, flag = 0x0, val = 102}, {name = 0x501113 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x501118 "version", has_arg = 0, flag = 0x0, val = 86}, {
name = 0x0, has_arg = 0, flag = 0x0, val = 0}}