Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-19 13:02 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-19 13:02 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                tiwai
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-19-2006 15:02 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 Raymond - 06-19-06 14:57 
----------------------------------------------------------------------
There is no segmentation fault when 
aplay -Ddefault:1 atmos30.wav
aplay -Ddefault:1 beat2.wav
aplay -Dplughw:1 *.wav 

Since aplay use snd_pcm_drain() between different files ,the segmentation
fault seem related to "Warning: format is changed to U8" and dmix

----------------------------------------------------------------------
 tiwai - 06-19-06 15:02 
----------------------------------------------------------------------
The shmem record was changed due to this fix, hence you need to close once
apps.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
06-13-06 04:13 Raymond        Note Added: 0010184                          
06-14-06 14:14 Raymond        Note Added: 0010211                          
06-16-06 11:27 Raymond        Note Added: 0010249                          
06-16-06 18:55 tiwai          Status                   assigned => resolved
06-16-06 18:55 tiwai          Resolution               open => fixed       
06-16-06 18:55 tiwai          Note Added: 0010257                          
06-17-06 04:51 Raymond        Assigned To              perex => tiwai      
06-17-06 04:51 Raymond        Status                   resolved => feedback
06-17-06 04:51 Raymond        Resolution               fixed => reopened   
06-17-06 04:51 Raymond        Note Added: 0010263                          
06-19-06 14:57 Raymond        Note Added: 0010312                          
06-19-06 15:02 tiwai          Status                   feedback => resolved
06-19-06 15:02 tiwai          Resolution               reopened => fixed   
06-19-06 15:02 tiwai          Note Added: 0010313                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-19 12:57 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-19 12:57 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                tiwai
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-19-2006 14:57 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 Raymond - 06-17-06 04:51 
----------------------------------------------------------------------
It seem that your patch break dmix/dsnoop

aplay -v -Ddefault:1 *.wav
ALSA lib pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave
aplay: main:548: audio open error: Device or resource busy

----------------------------------------------------------------------
 Raymond - 06-19-06 14:57 
----------------------------------------------------------------------
There is no segmentation fault when 
aplay -Ddefault:1 atmos30.wav
aplay -Ddefault:1 beat2.wav
aplay -Dplughw:1 *.wav 

Since aplay use snd_pcm_drain() between different files ,the segmentation
fault seem related to "Warning: format is changed to U8" and dmix

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
06-13-06 04:13 Raymond        Note Added: 0010184                          
06-14-06 14:14 Raymond        Note Added: 0010211                          
06-16-06 11:27 Raymond        Note Added: 0010249                          
06-16-06 18:55 tiwai          Status                   assigned => resolved
06-16-06 18:55 tiwai          Resolution               open => fixed       
06-16-06 18:55 tiwai          Note Added: 0010257                          
06-17-06 04:51 Raymond        Assigned To              perex => tiwai      
06-17-06 04:51 Raymond        Status                   resolved => feedback
06-17-06 04:51 Raymond        Resolution               fixed => reopened   
06-17-06 04:51 Raymond        Note Added: 0010263                          
06-19-06 14:57 Raymond        Note Added: 0010312                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-17  2:51 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-17  2:51 UTC (permalink / raw)
  To: alsa-devel


The following issue has been REOPENED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                tiwai
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-17-2006 04:51 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 tiwai - 06-16-06 18:55 
----------------------------------------------------------------------
The missing uniniaizlied fields in the slave PCM are fixed on HG repo now.

----------------------------------------------------------------------
 Raymond - 06-17-06 04:51 
----------------------------------------------------------------------
It seem that your patch break dmix/dsnoop

aplay -v -Ddefault:1 *.wav
ALSA lib pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave
aplay: main:548: audio open error: Device or resource busy

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
06-13-06 04:13 Raymond        Note Added: 0010184                          
06-14-06 14:14 Raymond        Note Added: 0010211                          
06-16-06 11:27 Raymond        Note Added: 0010249                          
06-16-06 18:55 tiwai          Status                   assigned => resolved
06-16-06 18:55 tiwai          Resolution               open => fixed       
06-16-06 18:55 tiwai          Note Added: 0010257                          
06-17-06 04:51 Raymond        Assigned To              perex => tiwai      
06-17-06 04:51 Raymond        Status                   resolved => feedback
06-17-06 04:51 Raymond        Resolution               fixed => reopened   
06-17-06 04:51 Raymond        Note Added: 0010263                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-16 16:55 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-16 16:55 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-16-2006 18:55 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 Raymond - 06-16-06 11:27 
----------------------------------------------------------------------
second instance of arecord also behave the same, it seem that pcm return by
snd_pcm_direct_open_secondary_client() cannot passed into snd_pcm_dump()


 arecord -v -Ddefault:1 -d10 -f cd test1.wav
Recording WAVE 'test1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 15052
  period_size  : 940
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 940
  xfer_align   : 940
  start_threshold  : 1
  stop_threshold   : 15052
  silence_threshold: 0
  silence_size : 0
  boundary     : 986447872
Slave: Direct Snoop PCM
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 1
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824

----------------------------------------------------------------------
 tiwai - 06-16-06 18:55 
----------------------------------------------------------------------
The missing uniniaizlied fields in the slave PCM are fixed on HG repo now.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
06-13-06 04:13 Raymond        Note Added: 0010184                          
06-14-06 14:14 Raymond        Note Added: 0010211                          
06-16-06 11:27 Raymond        Note Added: 0010249                          
06-16-06 18:55 tiwai          Status                   assigned => resolved
06-16-06 18:55 tiwai          Resolution               open => fixed       
06-16-06 18:55 tiwai          Note Added: 0010257                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-16  9:27 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-16  9:27 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-16-2006 11:27 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 Raymond - 06-14-06 14:14 
----------------------------------------------------------------------
nan is a result of divide by zero  

  rate : 0
  exact rate : nan (0/0)
  msbits : 0
  buffer_size : 16384
  period_size : 0
  period_time : 0
  tick_time : 0

----------------------------------------------------------------------
 Raymond - 06-16-06 11:27 
----------------------------------------------------------------------
second instance of arecord also behave the same, it seem that pcm return by
snd_pcm_direct_open_secondary_client() cannot passed into snd_pcm_dump()


 arecord -v -Ddefault:1 -d10 -f cd test1.wav
Recording WAVE 'test1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 15052
  period_size  : 940
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 940
  xfer_align   : 940
  start_threshold  : 1
  stop_threshold   : 15052
  silence_threshold: 0
  silence_size : 0
  boundary     : 986447872
Slave: Direct Snoop PCM
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 1
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
06-13-06 04:13 Raymond        Note Added: 0010184                          
06-14-06 14:14 Raymond        Note Added: 0010211                          
06-16-06 11:27 Raymond        Note Added: 0010249                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-14 12:14 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-14 12:14 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-14-2006 14:14 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 Raymond - 06-13-06 04:13 
----------------------------------------------------------------------
gdb --args aplay -v -Ddefault:1 *.wav
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 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-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
 
...

(gdb) run

...

Warning: format is changed to U8
Playing WAVE 'atmos30.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824

Playing WAVE 'beat2.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1084836288 (LWP 5379)]
0x0022504c in _int_free () from /lib/tls/libc.so.6
(gdb) bt
#0  0x0022504c in _int_free () from /lib/tls/libc.so.6
#1  0x0022401b in free () from /lib/tls/libc.so.6
#2  0x006caef2 in snd_pcm_rate_hw_free (pcm=0x48) at pcm_rate.c:330
#3  0x006b07de in snd_pcm_hw_free (pcm=0x82dc028) at pcm.c:853
#4  0x006cfb65 in snd_pcm_plug_hw_free (pcm=0x82f2a30) at pcm_plug.c:976
#5  0x006b07de in snd_pcm_hw_free (pcm=0x82f2a30) at pcm.c:853
#6  0x006bd0b1 in sndrv_pcm_hw_params (pcm=0x82f2a30, params=0xbfed1080)
    at pcm_params.c:2312
#7  0x006b0751 in snd_pcm_hw_params (pcm=0x82f2a30, params=0x48) at
pcm.c:830
#8  0x0804c6ec in set_params () at aplay.c:960
#9  0x0804ef95 in playback_go (fd=7, loaded=0, count=326252, rtype=2,
    name=0xbff20788 "beat2.wav") at aplay.c:1949
#10 0x0804f230 in playback (name=0xbff20788 "beat2.wav") at aplay.c:2022
#11 0x0804b8bf in main (argc=57, argv=0xbfed15b4) at aplay.c:599
(gdb)

----------------------------------------------------------------------
 Raymond - 06-14-06 14:14 
----------------------------------------------------------------------
nan is a result of divide by zero  

  rate : 0
  exact rate : nan (0/0)
  msbits : 0
  buffer_size : 16384
  period_size : 0
  period_time : 0
  tick_time : 0

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
06-13-06 04:13 Raymond        Note Added: 0010184                          
06-14-06 14:14 Raymond        Note Added: 0010211                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-13  2:13 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-13  2:13 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-13-2006 04:13 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 rlrevell - 06-12-06 17:19 
----------------------------------------------------------------------
Please post the gdb backtrace

----------------------------------------------------------------------
 Raymond - 06-13-06 04:13 
----------------------------------------------------------------------
gdb --args aplay -v -Ddefault:1 *.wav
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 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-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
 
...

(gdb) run

...

Warning: format is changed to U8
Playing WAVE 'atmos30.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824

Playing WAVE 'beat2.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1084836288 (LWP 5379)]
0x0022504c in _int_free () from /lib/tls/libc.so.6
(gdb) bt
#0  0x0022504c in _int_free () from /lib/tls/libc.so.6
#1  0x0022401b in free () from /lib/tls/libc.so.6
#2  0x006caef2 in snd_pcm_rate_hw_free (pcm=0x48) at pcm_rate.c:330
#3  0x006b07de in snd_pcm_hw_free (pcm=0x82dc028) at pcm.c:853
#4  0x006cfb65 in snd_pcm_plug_hw_free (pcm=0x82f2a30) at pcm_plug.c:976
#5  0x006b07de in snd_pcm_hw_free (pcm=0x82f2a30) at pcm.c:853
#6  0x006bd0b1 in sndrv_pcm_hw_params (pcm=0x82f2a30, params=0xbfed1080)
    at pcm_params.c:2312
#7  0x006b0751 in snd_pcm_hw_params (pcm=0x82f2a30, params=0x48) at
pcm.c:830
#8  0x0804c6ec in set_params () at aplay.c:960
#9  0x0804ef95 in playback_go (fd=7, loaded=0, count=326252, rtype=2,
    name=0xbff20788 "beat2.wav") at aplay.c:1949
#10 0x0804f230 in playback (name=0xbff20788 "beat2.wav") at aplay.c:2022
#11 0x0804b8bf in main (argc=57, argv=0xbfed15b4) at aplay.c:599
(gdb)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
06-13-06 04:13 Raymond        Note Added: 0010184                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-12 15:19 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-12 15:19 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-12-2006 17:19 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

----------------------------------------------------------------------
 rlrevell - 06-12-06 17:19 
----------------------------------------------------------------------
Please post the gdb backtrace

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
06-12-06 17:19 rlrevell       Note Added: 0010171                          
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0)
@ 2006-06-12 14:44 bugtrack
  0 siblings, 0 replies; 9+ messages in thread
From: bugtrack @ 2006-06-12 14:44 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2203> 
======================================================================
Reported By:                Raymond
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2203
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-12-2006 16:44 CEST
Last Modified:              06-12-2006 16:44 CEST
======================================================================
Summary:                    Segmentation fault and exact rate   : nan (0/0)
Description: 
Running two instance of aplay in two different terminals, the second
instance of aplay segmentation fault.


aplay -v -Ddefault:1 *.wav

Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 170
  xfer_align   : 170
  start_threshold  : 2720
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Intel 82801BA-ICH2' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 0
  exact rate   : nan (0/0)
  msbits       : 0
  buffer_size  : 16384
  period_size  : 0
  period_time  : 0
  tick_time    : 0
  tstamp_mode  : NONE
  period_step  : 0
  sleep_min    : 0
  avail_min    : 0
  xfer_align   : 0
  start_threshold  : 0
  stop_threshold   : 0
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
Segmentation fault

======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-12-06 16:44 Raymond        New Issue                                    
======================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-06-19 13:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-19 13:02 [ALSA - lib 0002203]: Segmentation fault and exact rate : nan (0/0) bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2006-06-19 12:57 bugtrack
2006-06-17  2:51 bugtrack
2006-06-16 16:55 bugtrack
2006-06-16  9:27 bugtrack
2006-06-14 12:14 bugtrack
2006-06-13  2:13 bugtrack
2006-06-12 15:19 bugtrack
2006-06-12 14:44 bugtrack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox