Anyone else ever have a problem like this? Im using MP4Box to hint 3gp files to be streamed in RTSP i can do this fine in the CLI I was thinking this is a PHP problem since i can run the MP4Box fine from a terminal When i use the exec() function in PHP, it does not work unfortunatly. I get this error: *** glibc detected *** MP4Box: double free or corruption (fasttop): 0x08259058 *** ======= Backtrace: ========= /lib/libc.so.6[0x4bb301e0] /lib/libc.so.6(__libc_free+0x77)[0x4bb3072b] MP4Box[0x80ef062] MP4Box[0x804c74b] /lib/libc.so.6(__libc_start_main+0xdf)[0x4bae1d7f] MP4Box[0x8049ed1] ======= Memory map: ======== 08047000-08256000 r-xp 00000000 08:01 619063 /usr/bin/MP4Box 08256000-08257000 rw-p 0020f000 08:01 619063 /usr/bin/MP4Box 08257000-0827a000 rw-p 08257000 00:00 0 [heap] 443df000-443f1000 r-xp 00000000 08:01 614837 /usr/lib/libz.so.1.2.3 443f1000-443f2000 rw-p 00011000 08:01 614837 /usr/lib/libz.so.1.2.3 4baaf000-4bac9000 r-xp 00000000 08:01 217333 /lib/ld-2.3.6.so 4bac9000-4baca000 r--p 00019000 08:01 217333 /lib/ld-2.3.6.so 4baca000-4bacb000 rw-p 0001a000 08:01 217333 /lib/ld-2.3.6.so 4bacd000-4bbf0000 r-xp 00000000 08:01 217334 /lib/libc-2.3.6.so 4bbf0000-4bbf2000 r--p 00122000 08:01 217334 /lib/libc-2.3.6.so 4bbf2000-4bbf4000 rw-p 00124000 08:01 217334 /lib/libc-2.3.6.so 4bbf4000-4bbf6000 rw-p 4bbf4000 00:00 0 4bbfe000-4bc21000 r-xp 00000000 08:01 217335 /lib/libm-2.3.6.so 4bc21000-4bc22000 r--p 00022000 08:01 217335 /lib/libm-2.3.6.so 4bc22000-4bc23000 rw-p 00023000 08:01 217335 /lib/libm-2.3.6.so 4bcae000-4bcb7000 r-xp 00000000 08:01 217336 /lib/libgcc_s-4.0.2-20051126.so.1 4bcb7000-4bcb8000 rw-p 00009000 08:01 217336 /lib/libgcc_s-4.0.2-20051126.so.1 4bf63000-4bf71000 r-xp 00000000 08:01 217348 /lib/libpthread-2.3.6.so 4bf71000-4bf72000 r--p 0000d000 08:01 217348 /lib/libpthread-2.3.6.so 4bf72000-4bf73000 rw-p 0000e000 08:01 217348 /lib/libpthread-2.3.6.so 4bf73000-4bf75000 rw-p 4bf73000 00:00 0 b7e00000-b7e21000 rw-p b7e00000 00:00 0 b7e21000-b7f00000 ---p b7e21000 00:00 0 b7f92000-b7f94000 rw-p b7f92000 00:00 0 b7f9d000-b7f9e000 rw-p b7f9d000 00:00 0 b7fa0000-b7fa1000 rw-p b7fa0000 00:00 0 bff63000-bff9e000 rw-p bff63000 00:00 0 [stack] bfffe000-bffff000 r-xp bfffe000 00:00 0 Saving /usr/local/movies/vids/16c81946f44d70b42440009c605144d9.3gp: 0.500 secs Interleaving Saving /usr/local/movies/vids/16c81946f44d70b42440009c605144d9.3gp: 0.500 secs Interleaving
Nevermind, you can disregard this thread. I tried running MP4Box in a bash script and it was doing the same thing. So i guess you cant run MP4Box in any kind of script.