I have mediatomb 0.12.1 running on Gentoo x86 hardened. When using the js import mechanism, mediatomb segfaults during the media import. I've been unable to produce a meaningful backtrace, but from the debug output I could point the issue down: When doing the recursive import, the segfault is triggered by an empty directory. If I purge empty directories with
$ find $root_dir -type d -empty -delete
the import is successful. If I mkdir $root_dir/some_empty_dir, it segfaults again. I hope that's sufficient information to fix this bug...