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

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

[Octave-bug-tracker] [bug #54280] audiowrite crash for some long data fo


From: anonymous
Subject: [Octave-bug-tracker] [bug #54280] audiowrite crash for some long data for mono OGG
Date: Tue, 10 Jul 2018 08:20:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

                 Summary: audiowrite crash for some long data for mono OGG 
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 10 Jul 2018 12:20:58 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: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I accidentally found that when writing to a mono (1 channel) OGG file, if the
data is long enough, then Octave will crash with signal 11 (Segfault).  For
example,


octave:2>  audiowrite ("1.ogg", rand(2000000,2), 44100)
octave:3>  audiowrite ("1.ogg", rand(2000000,2), 8000)
octave:4>  audiowrite ("1.ogg", rand(2100000,2), 44100)
octave:5>  audiowrite ("1.ogg", rand(2100000,2), 8000)
octave:6>  audiowrite ("1.ogg", rand(2000000,1), 44100)
octave:7>  audiowrite ("1.ogg", rand(2000000,1), 8000)
octave:8>  audiowrite ("1.ogg", rand(2100000,1), 44100)
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault

octave:1>  audiowrite ("1.ogg", rand(2100000,1), 8000)
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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