GNOME Bugzilla – Bug 104828
mpeg movies segfault with CVS 0.6.0
Last modified: 2004-12-22 21:47:04 UTC
Using todays CVS of the 0.6 branch and gst-launch-ext I get: /pipeline0/thread0/mpeg2dec0: streaminfo = (GstCaps *) { application/x-gst-streaminfo; bitrate=(int) 1180000; framerate=(float) 29.970030 } Caught SIGSEGV accessing address 0x409a1000
+ Trace 33321
Created attachment 13958 [details] gst-mask=-1 log
Ok, adding #undef HAVE_MAKECONTEXT to line 704 as Wim suggested fixes the issue.
line 705 of cothreads.c that is
Created attachment 13978 [details] [review] Patch to disable makecontext() on i386 for now. Please test.
Do not commit this patch yet. It seems the NTPL implementation in phoebe2 is borked, upgrading to Rawhide seems to have fixed most issues. Will close/report back when I know more.
Correction, it was only the temporary lack of sound support that made it look like things work with newer glibc packages. This patch is indeed essential to get mpeg working with RH8.1 (vob and avi is still broken however unless I use opt)
I now get this segfault with gst-launch-ext even using the patch. RUNNING pipeline Caught SIGSEGV accessing address 0x409a1000
+ Trace 33359
I added some extra checks in 0.6 branch to check for NULLity of pointers, but this doesn't solve the root problem. The patch isn't useful since all it does is remove makecontext, which doesn't seem to be the cause of the problem. So there's no point in applying it, we're not even sure if it fixes anything, let alone this bug :)
Deemed unfixable in 0.6.0, will have to be fixed in 0.6.x or even later.
Since all these bugs are listed as needing to be fixed in 0.6.x, they are by definition bugs in 0.6.0
Tried compiling 0.6.0 on my laptop today (running Pentium CPU). Managed to play an mpeg. The AVI I tried still segfaulted with the same segfault seen here and in my AVI and VOB bug reports.
*** This bug has been marked as a duplicate of 104892 ***