On Tue, Apr 25, 2006 at 07:17:34PM +0200, Diego Biurrun wrote:
On Tue, Apr 25, 2006 at 10:55:48AM -0500, John Donaghy wrote:
This crashes in demux_open for me on my G4:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 805500448 (LWP 9422)] 0x0ecc79e4 in memcmp () from /lib/tls/libc.so.6
Let me know if you need more details.
Anything you can provide would be helpful. Did you try it on x86?
Diego
I dont know how to progress this any further. The patch seems to work fine on Windows and I could try it on Linux (x86) just to be sure if you think it's worth it. However I dont have access to a G4 machine so I'm not sure what I can do.
Do you want to discuss the patch with me to see if we can figure out what might be causing the problem?
I'll investigate this further in the next few days. I'm rather busy, that's why it slipped off my radar, but I haven't forgotten about it. Thanks for following up.
OK, I teste on my x86 box, it works fine there, but immediately crashes on my G4. Here is a backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 805500416 (LWP 28423)] 0x0eca09e4 in memcmp () from /lib/tls/libc.so.6 (gdb) bt #0 0x0eca09e4 in memcmp () from /lib/tls/libc.so.6 #1 0x10199534 in find_asf_guid (buf=<value optimized out>, guid=0x104c5db0 "\221\aÜ··©Ï\021\216æ", cur_pos=<value optimized out>, buf_len=<value optimized out>) at asfheader.c:153 #2 0x10199e08 in read_asf_header (demuxer=0x10737918, asf=0x107365c0) at asfheader.c:258 #3 0x1013820c in demux_open_asf (demuxer=0x9873a2dc) at demux_asf.c:563 #4 0x101354a8 in demux_open_stream (stream=0x200, file_format=-2013257395, force=0, audio_id=0, video_id=0, dvdsub_id=276013735, filename=0x0) at demuxer.c:770 #5 0x10135794 in demux_open (vs=0x10736f80, file_format=273440176, audio_id=9393, video_id=-1, dvdsub_id=0, filename=0x107267a0 "/home/diego/tmp/bug_reports/demuxer/microsoft-new-way-to-shove-mpeg2-in-asf.dvr-ms") at demuxer.c:844 #6 0x1004d1d0 in main (argc=<value optimized out>, argv=<value optimized out>) at mplayer.c:3032 the sample is at http://www.mplayerhq.hu/MPlayer/samples/dvr_ms/microsoft-new-way-to-shove-mp... Let me know if I can provide further information. Diego