bugGNU Octave - Bugs: bug #43988, audioplayer and audiorecorder...

 
 

bug #43988: audioplayer and audiorecorder segfault

Submitter:  Stefan Mahr <dac922>
Submitted:  Mon 12 Jan 2015 01:18:22 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 12 Jan 2015 01:32:25 PM UTC, comment #2: 

Thank you Stefan. Pushed your patch to default: cset http://hg.savannah.gnu.org/hgweb/octave/rev/c36c22808d11

Closing report as fixed.

Andreas Weber <andy1978>
Group Member
Mon 12 Jan 2015 01:25:49 PM UTC, comment #1: 

There's another check for Pa_GetDeviceCount () in Faudiodevinfo. If no audio device is available, it returns an empty struct. I don't know if this is a MATLAB compatible behaviour. At least it's wrong to issue an error here, that's why this check remains (Pa_GetDeviceCount < 0)

Stefan Mahr <dac922>
Mon 12 Jan 2015 01:18:22 PM UTC, original submission:  

If no soundcard is installed or no audio device is available, audioplayer and audiorecorder tests crash with segmentation fault.

Patch attached.

Stefan Mahr <dac922>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32810:  audio_segfault.diff added by dac922 (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by dac922 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-12 andy1978 CategoryNone Octave Function
        StatusNone Fixed
        Open/ClosedOpen Closed
    2015-01-12 dac922 Attached File- Added audio_segfault.diff, #32810

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code