Re: rc3 - yuvscaler crash with -M BICUBIC
Herve <[email protected]> Mon, 10 Dec 2007 18:12:47 +0100
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
sorry for the late (e-mail problems) Steven M. Schultz a écrit : > On Thu, 6 Dec 2007, herve.flores wrote: > >> Hi this bug is not specific to rc3 (same behavior for rc2, I didn't =20 >> test earlier versions) I just noticed it last day, so I compiled the previous version to know if I could reproduce the crash (I didn't know it before RC3 release ;-)) >> seems to occurs with -M BICUBIC ... > ... >> INFO: [yuvscaler] MMX accelerated treatment activated >> YUV4MPEG2 W720 H576 F25:1 Ib A64:45 C420mpeg2 XYSCSS=3D420MPEG2 >> INFO: [yuvscaler] output: frame size: 720x576 pixels (622080 =20 >> bytes) >> INFO: [yuvscaler] output: chroma: 4:2:0 MPEG-2 (horiz. =20 >> cositing) >> INFO: [yuvscaler] output: frame rate: 25/1 fps (~25.000000) >> INFO: [yuvscaler] output: interlace: bottom-field-first >> INFO: [yuvscaler] output: sample aspect ratio: 64:45 >> INFO: [yuvscaler] Frame number 0 >> FRAME >> [h264 @ 0x5c8790]AVC: Consumed only 11410 bytes instead of 11420 >> [h264 @ 0x5c8790]AVC: nal size 0 >> [h264 @ 0x5c8790]AVC: Consumed only 58093 bytes instead of 58108 >> [h264 @ 0x5c8790]AVC: nal size 0 >> Segmentation fault > > I have checked in a "workaround" to the problem and yuvscaler no > longer crashes on OSX 10.5.1 on a MacBookPro. I am not, however, > 100% certain the fix is the best one but it's the best I can do. > > An intermdiate buffer was apparently being overrun. I am not sure > if there is a flaw in the logic of the program or the buffer was too > small. I increased the size of the buffer and the crash no longer > happens. You did your own tests. Do you still need a backtrace with gdb? (if you want I could access to intel and a PPC mac, both with Leopard) Regards Hervé ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mjpeg-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mjpeg-developer