[gst-devel] buglet

Ronald S. Bultje R.S.Bultje at students.uu.nl
Wed Apr 14 18:44:03 CEST 2004


Hi,

after Dave's modifications to the cpuid code, gst-register-0.8 fails to
run (after a make clean && make):

(gdb) r
Starting program:
/media/gnome/src/gstreamer/gstreamer/tools/.libs/lt-gst-register-0.8
[New Thread 16384 (LWP 19522)]
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 19522)]
_gst_cpu_initialize_i386 (flags=0xfff58ed7, featurelist=0x8055ec0)
    at gstcpu.c:97
97          _gst_cpu_flags |= GST_CPU_FLAG_MMX;
(gdb) print _gst_cpu_flags
$1 = 0
(gdb) print &_gst_cpu_flags
$2 = (guint32 *) 0x401163c4
(gdb) print _gst_cpu_flags
$3 = 0
(gdb) print (gint) GST_CPU_FLAG_MMX
$5 = 1
(gdb) bt
#0  _gst_cpu_initialize_i386 (flags=0xfff58ed7, featurelist=0x8055ec0)
    at gstcpu.c:97
#1  0x400349f8 in _gst_cpu_initialize (opt=1) at gstcpu.c:49
#2  0x4002baf5 in init_post () at gst.c:595
#3  0x4002c0f9 in init_popt_callback (context=0x804bea8,
reason=4294282967,
    option=0x383f9ff, arg=0x0, data=0x0) at gst.c:794
#4  0x4034c6e2 in poptSetExecPath () from /usr/lib/libpopt.so.0
#5  0x4034c6f0 in poptSetExecPath () from /usr/lib/libpopt.so.0
#6  0x4034e196 in poptGetNextOpt () from /usr/lib/libpopt.so.0
#7  0x4002b2e5 in gst_init_check_with_popt_table (argc=0xbffff8a0,
    argv=0xbffff8a4, popt_options=0x0) at gst.c:330
#8  0x4002b03d in gst_init_with_popt_table (argc=0xbffff8a0,
argv=0xbffff8a4,
    popt_options=0x0) at gst.c:261
#9  0x4002b014 in gst_init (argc=0xbffff8a0, argv=0xbffff8a4) at
gst.c:240
#10 0x08048da3 in main (argc=1, argv=0xbffff8e4) at gst-register.c:86
#11 0x40368a67 in __libc_start_main () from /lib/i686/libc.so.6

So... Interesting crash. How do I fix this?

Ronald




More information about the gstreamer-devel mailing list