:: The Human JenoM Project :: :: The Human JenoM Project ::
The Mind Never Sleeps
Home News Blog Support Shop Contact Us Members
Development
MP4Box Bufffer Overflow and Segmentation Fault

MP4Box appears to have a bug dealing with the period in a path causing a segmenation fault on Linux.


By: jeno , May 04 2009: 10:20 AM EDT

If you run:

/usr/bin/MP4Box -hint -static -mtu 1450 /path/toyour.com/infile.mpeg -out /path/toyour.com/outfile.mpeg

MP4Box halts with a ‘buffer overflow’.

Even quoting the path and file do not resolve this.

/usr/bin/MP4Box -hint -static -mtu 1450 ’/path/toyour.com/infile.mpeg’ -out ’/path/toyour.com/outfile.mpeg’

When the same command was run from within the toyour.com/ directory it finished without issue:

#cd /path/toyour.com/
#/usr/bin/MP4Box -hint -static -mtu 1450 ‘infile.mpeg’ -out ‘outfile.mpeg’
Processed successfully.

A core dump debug (see instructions at http://bugs.php.net/bugs-generating-backtrace.php) indicated that the linked libraries all were fine. At the very end of the core dump debug it showed:

Core was generated by `/usr/bin/MP4Box -hint -static -mtu 1400 /path/toyour.com/i’.
Program terminated with signal 6, Aborted.
[New process 5776] #0 0×00283402 in __kernel_vsyscall ()

Note the cryptic /path/toyour.com/i’. at the end.

On a hunch the toyour.com directory was renamed to toyour_com and voila it worked fine.

/usr/bin/MP4Box -hint -static -mtu 1450 /path/toyour_com/infile.mpeg -out /path/toyour_com/outfile.mpeg

File was successfully processed.


Hope this helps someone,

Happy MP4Box-ing



****



 
  Options

 Printer Friendly Page  Print it

 Send to a Friend  Send it

   Digg it

 Post it  Post it

 Stumbleupon it  Stumbleupon it

 Reddit  Reddit



  Related Links

  Article Rating
Average Score: 0
Votes: 0.000

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad






If you have questions, or need to contact us directly send an email to webmaster at jenom dot com
Page Generation: 0.159 Seconds
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2007 by JenoM.com.
Powered by MAXIMVS