Re: glibc detected /usr/bin/spumux double free or corruption

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]> Sun, 11 Nov 2012 14:22:48 +1300
Newsgroups gmane.comp.multimedia.dvdauthor.user
Organization Geek Central
Message-ID <[email protected]>
On Sat, 10 Nov 2012 20:16:52 +0100 (CET), Alexander Schwarzkopf wrote:

> Following a suggestion I have specified the button geometries in XML
> for spumux.
> 
> Now spumux fails.
> 
> INFO: Subtitle inserted at: 0.133467 sd=0
> *** glibc detected *** /usr/bin/spumux: double free or corruption
> (out): 0x0000000000bc0ad0 *** Segmentation fault
> 
> I don't know if something is wrong with my input or if this is a bug
> in spumux.

Yes, there is a spumux bug. I tried your files, and it autodetected 407
buttons, which is way too many. When writing these out for dvdauthor, it
runs off the end of its 2048-byte sector buffer and starts overwriting
random memory, hence the crash.

I should probably stick a range check on writes to that sector buffer.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov