Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440998

Summary: net-misc/mediatomb-0.12.1-r2: segfault with js import on empty subdirectory
Product: Gentoo Linux Reporter: mephinet <mephinet>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED NEEDINFO    
Severity: normal CC: spatz, thev00d00, tomwij
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/tracker/?func=detail&aid=3582726&group_id=129766&atid=715780
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of emerge --info mediatomb

Description mephinet 2012-11-02 19:06:20 UTC
I have mediatomb 0.12.1-r2 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...
Comment 1 mephinet 2012-11-02 19:08:09 UTC
Created attachment 328132 [details]
Output of emerge --info mediatomb
Comment 2 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2013-01-20 19:40:16 UTC
Hello, 

Can you confirm this is still an issue with -r5?