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

 
 

bug #43988: audioplayer and audiorecorder segfault

Submitted by:  Stefan Mahr <dac922>
Submitted on:  Mon 12 Jan 2015 01:18:22 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by dac922 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Jan 2015 01:32:25 PM UTCandy1978CategoryNone=>Octave Function
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 12 Jan 2015 01:19:07 PM UTCdac922Attached File-=>Added audio_segfault.diff, #32810

    Back to the top


    Powered by Savane 3.1-cleanup1