When an non-openable file is given to SMPEG_new, it doesn't return a NULL pointer (this is normal behavior) but the status MPEG class member is not properly initialized. The SMPEG_delete on the object created will then segfault because of a NULL pointer test not initialized. (can be test with the current ultrastar-ng cvs version) Reproducible: Always Steps to Reproduce: 1.Create an SMPEG object with a non-existant file with SMPEG_new 2.Try to delete it with SMPEG_delete Patched will be attached in the next comment
Created attachment 105957 [details, diff] smpeg-0.4.4-missing-init.patch Compile fine and patch the bug (patch has been sent to the loki team)
In portage. Thanks for the bug report and patch. It seems like a pretty obscure corner case so I didn't rev bump it. Remerge for the patch.