octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50674] audiorecorder() crashes in getaudiodat


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #50674] audiorecorder() crashes in getaudiodata()
Date: Wed, 29 Mar 2017 18:37:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?50674>

                 Summary: audiorecorder() crashes in getaudiodata()
                 Project: GNU Octave
            Submitted by: larskindermann
            Submitted on: Wed 29 Mar 2017 10:37:45 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Executing this script hangs Octave after few iteratons and leaves it stuck at
100% CPU, both in GUI and on commandline. 


recorder = audiorecorder ()
record (recorder)
for i=1:60
  pause (1)
  get (recorder)
  data = getaudiodata (recorder);
  size (data)
end
stop (recorder)


CTRL-C then terminates the GUI. On commandline this info is shown:


^C^C^Cfatal: caught signal Interrupt -- stopping myself...
attempting to save variables to 'octave-workspace'...
error: octave_base_value::save_binary(): wrong type argument 'audiorecorder'
terminate called after throwing an instance of 'octave::execution_exception'
octave exited with signal 6


I wonder if it is hardware dependent, a portaudio thing or Octave?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50674>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]