[gst-devel] 0.7 CVS/alsasink trouble

Colin Walters walters at debian.org
Fri Apr 11 00:12:04 CEST 2003


Hey all, I'm also having trouble with the alsasink from 0.7 CVS.  Any ideas?


Starting program: /src/cvs/cvs.gnome.org/net-rhythmbox/shell/net-rhythmbox 
[New Thread 16384 (LWP 10671)]
INFO (10671: 0) Initializing GStreamer Core Library version 0.7.0.1 
INFO (10671: 0) CPU features: (00000000) MMX SSE 
INFO (10671: 0) registry: loaded user_registry in 0.000131 seconds
          (/home/walters/.gstreamer/registry.xml)
INFO (10671: 0) registry: loaded global_registry in 0.313333 seconds
          (/build/gstreamer-0.7/var/cache/gstreamer-0.7/registry.xml)
[New Thread 32769 (LWP 10672)]
[New Thread 16386 (LWP 10673)]
[New Thread 32771 (LWP 10674)]
netRhythmbox-Message: Failed to register the shell: (null)
This probably means that you installed RB in a
different prefix than bonobo-activation; this
warning is harmless, but IPC will not work.

[New Thread 49156 (LWP 10675)]
[New Thread 65541 (LWP 10676)]
Failed to activate the shell:
(null)
[New Thread 81926 (LWP 10677)]
net-rhythmbox: pcm_plug.c:882: snd_pcm_plug_hw_params: Assertion `err >= 0' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 81926 (LWP 10677)]
0x4103aa51 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x4103aa51 in kill () from /lib/libc.so.6
#1  0x4126724b in pthread_kill () from /lib/libpthread.so.0
#2  0x41267521 in raise () from /lib/libpthread.so.0
#3  0x4103b986 in abort () from /lib/libc.so.6
#4  0x41034ae9 in __assert_fail () from /lib/libc.so.6
#5  0x401ba9d8 in _snd_pcm_rate_open () from /usr/lib/libasound.so.2
#6  0x401ad6eb in snd_pcm_hw_refine () from /usr/lib/libasound.so.2
#7  0x401a1c41 in snd_pcm_hw_params () from /usr/lib/libasound.so.2
#8  0x4015ee1b in gst_alsa_set_hw_params (this=0x81cb268) at gstalsa.c:1487
#9  0x4015f32f in gst_alsa_start_audio (this=0x81cb268) at gstalsa.c:1535
#10 0x4015d864 in gst_alsa_change_state (element=0x81cb268) at gstalsa.c:949
#11 0x4003d216 in gst_element_set_state (element=0x81cb268, state=GST_STATE_PAUSED) at gstelement.c:2133
#12 0x40032ebb in gst_bin_change_state (element=0x81c8650) at gstbin.c:702
#13 0x4003d216 in gst_element_set_state (element=0x81c8650, state=GST_STATE_PAUSED) at gstelement.c:2133
#14 0x40032ebb in gst_bin_change_state (element=0x81c7e58) at gstbin.c:702
#15 0x400534fc in gst_thread_update_state (thread=0x81c7e58) at gstthread.c:360
#16 0x40055a1d in gst_thread_main_loop (arg=0x81c7e58) at gstthread.c:679
#17 0x413cbcc0 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#18 0x41264d53 in pthread_start_thread () from /lib/libpthread.so.0
#19 0x41264d99 in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb) up 8
#8  0x4015ee1b in gst_alsa_set_hw_params (this=0x81cb268) at gstalsa.c:1487
warning: Source file is more recent than executable.

(gdb) p this
$3 = (GstAlsa *) 0x81cb268
(gdb) p *$
$4 = {parent = {object = {object = {g_type_instance = {g_class = 0x81ca728}, ref_count = 2, qdata = 0x0}, 
      name = 0x81cb820 "alsasink0", lock = 0x81cb718, parent = 0x81c8650, flags = 1048896}, current_state = 2 '\002', 
    pending_state = 4 '\004', loopfunc = 0x4015dcf0 <gst_alsa_sink_loop>, sched = 0x81c6218, sched_private = 0x81cba20, 
    clock = 0x0, base_time = 0, numpads = 1, numsrcpads = 0, numsinkpads = 1, pads = 0x8139108, 
    state_mutex = 0x81cb738, state_cond = 0x81cb758, pre_run_func = 0, post_run_func = 0, prop_value_queue = 0x0, 
    property_mutex = 0x0, dummy = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, pads = {{pad = 0x81c65dc, data = 0x0, 
      size = 0, buf = 0x0}, {pad = 0x0, data = 0x0, size = 0, buf = 0x0} <repeats 63 times>}, 
  device = 0x81cb7a8 "default", stream = SND_PCM_STREAM_PLAYBACK, handle = 0x853f288, pcm_caps = 0, out = 0x8293f10, 
  format = 0x0, mmap = 1, transmit = 0, period_size = 8192, period_count = 2, autorecover = 1}
(gdb) p $->format
$5 = (GstAlsaFormat *) 0x0
(gdb) 




More information about the gstreamer-devel mailing list