New comment by rien on void-packages repository https://github.com/void-linux/void-packages/issues/24873#issuecomment-691561662 Comment: Passing any other value (a valid path, en empty string, whatever) now causes a segmentation fault in the same function, but with the following backtrace: ``` #0 0x0000555555f9644a in std::deque, std::allocator >, std::allocator, std::allocator > > >::_M_destroy_data_aux (this=0x7fffffffe020, __first=, __last=) at /usr/include/c++/9.3/bits/deque.tcc:854 #1 0x00007ffff7b17e9d in std::deque, std::allocator >, std::allocator, std::allocator > > >::_M_destroy_data (__last=..., __first=..., this=0x7fffffffe020) at /usr/include/c++/9.2/bits/stl_deque.h:2110 #2 std::deque, std::allocator >, std::allocator, std::allocator > > >::~deque (this=0x7fffffffe020, __in_chrg=) at /usr/include/c++/9.2/bits/stl_deque.h:1069 #3 osgDB::Registry::initDataFilePathList (this=0x555556d97cc0) at /builddir/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgDB/Registry.cpp:506 #4 0x00007ffff7b18403 in osgDB::Registry::initFilePathLists (this=0x555556d97cc0) at /builddir/OpenSceneGraph-OpenSceneGraph-3.4.1/include/osgDB/Registry:388 #5 osgDB::Registry::Registry (this=0x555556d97cc0) at /builddir/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgDB/Registry.cpp:262 #6 0x00007ffff7b19cdd in osgDB::Registry::instance (erase=erase@entry=false) at /builddir/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgDB/Registry.cpp:209 #7 0x00007ffff7a89009 in osgDB::RegisterCompressorProxy::RegisterCompressorProxy (this=0x7ffff7b6b770 , name=..., compressor=) at /builddir/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgDB/ObjectWrapper.cpp:754 #8 0x00007ffff7a83c81 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /usr/include/c++/9.2/ext/new_allocator.h:80 #9 _GLOBAL__sub_I_Compressors.cpp(void) () at /builddir/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgDB/Compressors.cpp:174 #10 0x00007ffff7fe31ea in call_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fffffffe2b8, env=env@entry=0x7fffffffe2c8) at dl-init.c:72 #11 0x00007ffff7fe32e9 in call_init (env=0x7fffffffe2c8, argv=0x7fffffffe2b8, argc=1, l=) at dl-init.c:30 #12 _dl_init (main_map=0x7ffff7ffe130, argc=1, argv=0x7fffffffe2b8, env=0x7fffffffe2c8) at dl-init.c:119 #13 0x00007ffff7fd50ca in _dl_start_user () from /lib/ld-linux-x86-64.so.2 #14 0x0000000000000001 in ?? () #15 0x00007fffffffe61f in ?? () #16 0x0000000000000000 in ?? () ``` I'm almost suspecting a fault in the c++ stdlib, but then there would be other programs having this issue.