Bug#404876: Backtrace

Yavor Doganov y.doganov at southway-varna.com
Sat Dec 30 09:51:03 UTC 2006


On Sat, Dec 30, 2006 at 12:49:36AM -0800, David Schleef wrote:
> Now try:
> 
>    rm ~/.gstreamer-0.10/registry.*.xml
>    gdb -args gst-launch-0.10 --gst-disable-registry-fork
> 
> and give gdb the command 'run'.  GDB will stop once with a SIGILL in
> the function 'test_altivec()' called by 'oil_cpu_fault_try()'.  Use
> the command 'c' to continue when this happens (since it's not a
> problem).  It should stop again with a SIGILL.  Please capture the
> backtrace at this point and attach it to the bug.

It's not exactly as you describe:

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 805422944 (LWP 16781)]
0x0e9fb2a8 in oil_cpu_get_flags () from /usr/lib/liboil-0.3.so.0
(gdb) bt
#0  0x0e9fb2a8 in oil_cpu_get_flags () from /usr/lib/liboil-0.3.so.0
#1  0x0e9fb388 in oil_cpu_fault_check_try () from /usr/lib/liboil-0.3.so.0
#2  0x0e9fb544 in oil_cpu_fault_check_enable () from /usr/lib/liboil-0.3.so.0
#3  0x0e9fc660 in oil_init () from /usr/lib/liboil-0.3.so.0
#4  0x0ea6bc08 in gst_video_box_get_type () from /usr/lib/gstreamer-0.10/libgstvideobox.so
#5  0x0fef69e4 in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
#6  0x0ff6a96c in gst_element_register (plugin=0x10050f48, name=0xea6d118 "videobox", rank=0, type=269068808)
    at gstelementfactory.c:273
#7  0x0ea6b904 in gst_video_box_get_type () from /usr/lib/gstreamer-0.10/libgstvideobox.so
#8  0x0ff88050 in gst_plugin_register_func (plugin=0x10050f48, module=<value optimized out>, desc=<value optimized out>)
    at gstplugin.c:259
#9  0x0ff88648 in gst_plugin_load_file (filename=0x1003f4e8 "/usr/lib/gstreamer-0.10/libgstvideobox.so", error=0x0)
    at gstplugin.c:450
#10 0x0ff8e668 in gst_registry_scan_path_level (registry=0x10029000, path=0xffbf5fc "/usr/lib/gstreamer-0.10", level=10)
    at gstregistry.c:834
#11 0x0ff8e8f8 in gst_registry_scan_path (registry=0x10029000, path=0xffbf5fc "/usr/lib/gstreamer-0.10")
    at gstregistry.c:872
#12 0x0ff4dbd8 in scan_and_update_registry (default_registry=0x10029000,
    registry_file=0x1002acf8 "/home/yavor/.gstreamer-0.10/registry.powerpc.xml", write_changes=1) at gst.c:634
#13 0x0ff4de90 in init_post () at gst.c:674
#14 0x0fdd29a0 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#15 0x10003618 in main (argc=2, argv=0x7f8d8a34) at gst-launch.c:551
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0x0d74e4cc in visual_cpu_get_tsc () from /usr/lib/libvisual-0.4.so.0
(gdb) bt
#0  0x0d74e4cc in visual_cpu_get_tsc () from /usr/lib/libvisual-0.4.so.0
#1  0x0d74e588 in visual_cpu_initialize () from /usr/lib/libvisual-0.4.so.0
#2  0x0d748d88 in visual_init () from /usr/lib/libvisual-0.4.so.0
#3  0x0d77a2a0 in gst_visual_get_type () from /usr/lib/gstreamer-0.10/libgstlibvisual.so
#4  0x0ff88050 in gst_plugin_register_func (plugin=0x100e4570, module=<value optimized out>, desc=<value optimized out>)
    at gstplugin.c:259
#5  0x0ff88648 in gst_plugin_load_file (filename=0x10103168 "/usr/lib/gstreamer-0.10/libgstlibvisual.so", error=0x0)
    at gstplugin.c:450
#6  0x0ff8e668 in gst_registry_scan_path_level (registry=0x10029000, path=0x100e4570 "\020\002l\030", level=10)
    at gstregistry.c:834
#7  0x0ff8e8f8 in gst_registry_scan_path (registry=0x10029000, path=0xffbf5fc "/usr/lib/gstreamer-0.10")
    at gstregistry.c:872
#8  0x0ff4dbd8 in scan_and_update_registry (default_registry=0x10029000,
    registry_file=0x1002acf8 "/home/yavor/.gstreamer-0.10/registry.powerpc.xml", write_changes=1) at gst.c:634
#9  0x0ff4de90 in init_post () at gst.c:674
#10 0x0fdd29a0 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#11 0x10003618 in main (argc=2, argv=0x7f8d8a34) at gst-launch.c:551
(gdb) c
Continuing.
reading register r0 (#0): No such process.

> As an off the cuff guess, it's probably due to the ffmpeg plugin,
> /usr/lib/gstreamer-0.10/libgstffmpeg.so.  You could attempt removing
> that to see if it starts working.

Removing this file doesn't change the behaviour.
However, if I remove libgstlibvisual.so, I get the following while
launching the first command with LANG=C:

0:00:01.701811000 16833 0x1001ae50 INFO          GST_PIPELINE gstparse.c:150:gst_parse_launch: parsing pipeline description
0:00:01.702656000 16833 0x1001ae50 ERROR         GST_PIPELINE ./grammar.y:765:_gst_parse__yyparse: empty pipeline not allowed
ERROR: pipeline could not be constructed: empty pipeline not allowed.

Amazingly, if I restore the file I continue to get the same error
(removing ~/.gstreamer-0.10/registry.powerpc.xml every time).

-- 
Best regards / SSC Varna | E-mail: office at southway-varna.com
Yavor Doganov            | Mobile: +359 88 7517748 
Southway Shipping Consultancy Ltd.-Gibraltar, Varna Branch
Ph: +359 52 600129, 600130, 603643 | Fax: +359 52 603612




More information about the pkg-gstreamer-maintainers mailing list