[Top][All Lists]

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

[Octave-bug-tracker] [bug #57182] signal function decimate causes octave

From: Chris Gorman
Subject: [Octave-bug-tracker] [bug #57182] signal function decimate causes octave to be killed
Date: Wed, 6 Nov 2019 16:48:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/77.0.3865.90 Chrome/77.0.3865.90 Safari/537.36


                 Summary: signal function decimate causes octave to be killed
                 Project: GNU Octave
            Submitted by: chrisgorman
            Submitted on: Wed 06 Nov 2019 09:48:08 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Chris Gorman
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux



On my laptop which is a galliumos linux chromebook the following occurs when
trying to decimate a radio signal.  This occurs with octave 4.4.1, 5.1.0 and
6.0.0.  The chromebook is essentially ubuntu 18.04.  

octave:4> cd src/octave-gnuradio/
octave:5> y = loadFile('../sdr/dat/FMcapture1.dat');
octave:6> pkg load signal
octave:7> d = decimate(y,8,'fir');

When I try this set of commands on my desktop machine which is a mac mini with
ubuntu 18.04, under octave 6.0.0, the decimate command works without a
problem.  I'm not sure what the issue is exactly.  (The kernels are different
5.3.0 on the laptop vs 5.2.0 on the mac mini.)

When I try to decimate a smaller amount of data, things work properly and
octave stays open. 

octave:4> y = rand(1,100);
octave:5> d = decimate(y,8,'fir');

With the decimating array smaller than 12500001 the call succeeds with the
array larger than 18750001 the call causes octave to be killed.  I'm not sure
where the exact threshold is for success or failure, but can write a small
script to determine the exact number of elements decimate can process, if that
is important.




Reply to this item at:


  Message sent via Savannah

reply via email to

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