[gstreamer-bugs] [Bug 151288] New: - alsasink crashes with a floating point exception on my fc2 system

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Aug 28 06:48:31 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=151288
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: alsasink crashes with a floating point exception on my
                    fc2 system
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mike at navi.cx
         QAContact: gstreamer-bugs at lists.sourceforge.net


Backtrace:

#0  0x007655ba in snd_pcm_rate_hw_refine_cchange (pcm=0x2aa, params=0xfeeff938,
sparams=0xfeeff220) at pcm_rate.c:383
#1  0x007585d1 in snd_pcm_hw_refine_slave (pcm=0x879f6e0, params=0xfeeff938,
    cprepare=0x765130 <snd_pcm_rate_hw_refine_cprepare>, cchange=0x765440
<snd_pcm_rate_hw_refine_cchange>,
    sprepare=0x765240 <snd_pcm_rate_hw_refine_sprepare>, schange=0x765320
<snd_pcm_rate_hw_refine_schange>,
    srefine=0x765650 <snd_pcm_rate_hw_refine_slave>) at pcm_params.c:2143
#2  0x00765728 in snd_pcm_rate_hw_refine (pcm=0x2aa, params=0x2aa) at pcm_rate.c:428
#3  0x00758888 in snd_pcm_hw_refine (pcm=0x0, params=0xd) at pcm_params.c:2225
#4  0x007588e9 in sndrv_pcm_hw_params (pcm=0x879f6e0, params=0xfeeff938) at
pcm_params.c:2251
#5  0x007699a9 in snd_pcm_plug_hw_params (pcm=0x87a7990, params=0xfeeff938) at
pcm_plug.c:910
#6  0x0075892a in sndrv_pcm_hw_params (pcm=0x87a7990, params=0xfeeff938) at
pcm_params.c:2260
#7  0x0074a141 in snd_pcm_hw_params (pcm=0x87a7990, params=0x2aa) at pcm.c:784
#8  0x002f5f0e in gst_alsa_set_hw_params (this=0x878b3e8) at gstalsa.c:1486
#9  0x002f67f0 in gst_alsa_start_audio (this=0x878b3e8) at gstalsa.c:1547
#10 0x002f44f0 in gst_alsa_change_state (element=0x878b3e8) at gstalsa.c:1090
#11 0x002fc000 in gst_alsa_mixer_change_state (element=0x878b3e8) at
gstalsamixer.c:348
#12 0x002f9e71 in gst_alsa_sink_change_state (element=0x878b3e8) at
gstalsasink.c:555
#13 0x05c0f059 in gst_element_set_state () from /usr/lib/libgstreamer-0.8.so.1
#14 0x05c0eb34 in gst_element_sync_state_with_parent () from
/usr/lib/libgstreamer-0.8.so.1
#15 0x05c4745d in _gst_parse_yy_scan_bytes () from /usr/lib/libgstreamer-0.8.so.1
#16 0x05c475c6 in _gst_parse_yy_scan_bytes () from /usr/lib/libgstreamer-0.8.so.1
#17 0x05c475c6 in _gst_parse_yy_scan_bytes () from /usr/lib/libgstreamer-0.8.so.1
#18 0x05c47935 in _gst_parse_yy_scan_bytes () from /usr/lib/libgstreamer-0.8.so.1
#19 0x006f038e in g_cclosure_marshal_VOID__OBJECT () from
/usr/lib/libgobject-2.0.so.0
#20 0x006db160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0x006ef195 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#22 0x006ee157 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0x006ee454 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
.....

(gdb) frame 8
#8  0x002f5f0e in gst_alsa_set_hw_params (this=0x878b3e8) at gstalsa.c:1486
1486      ERROR_CHECK (snd_pcm_hw_params (this->handle, hw_params),
(gdb) frame 0
#0  0x007655ba in snd_pcm_rate_hw_refine_cchange (pcm=0x2aa, params=0xfeeff938,
sparams=0xfeeff220) at pcm_rate.c:383
383                             if ((buffer_size->min / period_size->min) *
period_size->min == buffer_size->min) {
(gdb) print period_size
$1 = (snd_interval_t *) 0xfeeffa78
(gdb) print period_size->min
$2 = 0

(gdb) frame 7
#7  0x0074a141 in snd_pcm_hw_params (pcm=0x87a7990, params=0x2aa) at pcm.c:784

ie, params is an invalid pointer.

Seems to be some optimization/compilation oddities here: I can't print the value
of the local hw_params in frame 8, gdb doesn't know about it.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list