[gst-devel] ALSA Problem
Steve Brown
sbrown at cortland.com
Mon Apr 23 23:44:07 CEST 2001
Thomas,
Here is the alsa gdb dump and debug output you requested.
I am running alsa 5.10b. This version is a little tricky to get running.
You have to have either devfs disabled in .config or fully running
(devfsd). Enabled and not running causes alsa to not create devices.
Thanks for looking at this. This is not a big deal, as alsa's oss
emulation seems to work fine.
Steve
-------------- next part --------------
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
warning: core file may not match specified executable file.
Core was generated by `lt-gstreamer-launch disksrc location=/home/brown/loser.mp3 ! mp3parse ! mpg123'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /home/brown/gstreamer/gstreamer/gst/.libs/libgst.so.0...
done.
Loaded symbols for /home/brown/gstreamer/gstreamer/gst/.libs/libgst.so.0
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /usr/lib/libgmodule-1.2.so.0
Reading symbols from /usr/lib/libgthread-1.2.so.0...done.
Loaded symbols for /usr/lib/libgthread-1.2.so.0
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Loaded symbols for /usr/lib/libglib-1.2.so.0
Reading symbols from /lib/libpthread.so.0...done.
rw_common (): write: Success.
warning: unable to set global thread event mask
[New Thread 1024 (LWP 17688)]
rw_common (): write: Success.
warning: stop_or_attach_thread: generic error
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgtk-1.2.so.0
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgdk-1.2.so.0
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libxml.so.1...done.
Loaded symbols for /usr/lib/libxml.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /home/brown/gstreamer/gstreamer/./gst/elements/.libs/libgstelements.so...done.
Loaded symbols for /home/brown/gstreamer/gstreamer/./gst/elements/.libs/libgstelements.so
Reading symbols from /usr/lib/libghttp.so.1...done.
Loaded symbols for /usr/lib/libghttp.so.1
Reading symbols from /home/brown/gstreamer/gstreamer/./plugins/mp3decode/parse/.libs/libmp3parse.so...done.
Loaded symbols for /home/brown/gstreamer/gstreamer/./plugins/mp3decode/parse/.libs/libmp3parse.so
Reading symbols from /home/brown/gstreamer/gstreamer/./plugins/mp3decode/mpg123/.libs/libmpg123.so...done.
Loaded symbols for /home/brown/gstreamer/gstreamer/./plugins/mp3decode/mpg123/.libs/libmpg123.so
Reading symbols from /home/brown/gstreamer/gstreamer/./libs/getbits/.libs/libgstgetbits.so...done.
Loaded symbols for /home/brown/gstreamer/gstreamer/./libs/getbits/.libs/libgstgetbits.so
Reading symbols from /home/brown/gstreamer/gstreamer/./plugins/alsa/.libs/libalsasink.so...done.
Loaded symbols for /home/brown/gstreamer/gstreamer/./plugins/alsa/.libs/libalsasink.so
Reading symbols from /usr/lib/libasound.so.1...done.
Loaded symbols for /usr/lib/libasound.so.1
#0 gst_caps_append (caps=0x8070128, capstoadd=0x404ea9c8) at gstcaps.c:416
416 }
(gdb)
(gdb) bt
#0 gst_caps_append (caps=0x8070128, capstoadd=0x404ea9c8) at gstcaps.c:416
#1 0x4003127c in gst_padtemplate_new (name_template=0x404ea9ae "sink",
direction=GST_PAD_SINK, presence=GST_PAD_ALWAYS, caps=0x8070128)
at gstpad.c:1490
#2 0x404e99e5 in gst_alsasink_init (this=0x80a55c8) at alsasink.c:100
#3 0x4018d920 in gtk_type_new () from /usr/lib/libgtk-1.2.so.0
#4 0x40029a7b in gst_elementfactory_create (factory=0x807d758,
name=0x806e9e0 "alsasink0") at gstelementfactory.c:161
#5 0x40029d26 in gst_elementfactory_make (factoryname=0x806e958 "alsasink",
name=0x806e9e0 "alsasink0") at gstelementfactory.c:202
#6 0x4003e125 in gst_parse_launch_cmdline (argc=8, argv=0x806e968,
parent=0x806e7c8, priv=0xbffff908) at gstparse.c:217
#7 0x4003e981 in gst_parse_launch (
cmdline=0x806e8a8 "disksrc location=/home/brown/loser.mp3 ! mp3parse ! mpg123 ! alsasink", parent=0x806e7c8) at gstparse.c:405
#8 0x8048a7f in main (argc=9, argv=0xbffff9dc) at gstreamer-launch.c:26
#9 0x40399b65 in __libc_start_main (main=0x80489fc <main>, argc=9,
ubp_av=0xbffff9dc, init=0x80487d0 <_init>, fini=0x8048b3c <_fini>,
rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffff9d4)
at ../sysdeps/generic/libc-start.c:111
(gdb) quit
-------------- next part --------------
INFO(17688:-1): Initializing GStreamer Core Library
INFO(17688:-1): CPU features: (0c040843) MMX SSE
alsa: Loading alsasink-plugin
alsa: Probing soundcards...
alsa: Soundcard: Sound Blaster 16 at 0x220, irq 5, dma 1&5 found
alsa: PCM-devs: 1
alsa: Name: DSP v4.16
alsa: Adding 'DSP v4.16(0/0)-sink' to plugin
alsa: Adding default-card(0/0)
alsa: gst_alsasink_init
More information about the gstreamer-devel
mailing list