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

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

[Octave-bug-tracker] [bug #44545] control package: impulse causes segfau


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44545] control package: impulse causes segfault when built with 64-bit indexing
Date: Sun, 15 Mar 2015 03:04:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Iceweasel/35.0.1

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

                 Summary: control package: impulse causes segfault when built
with 64-bit indexing
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Sat 14 Mar 2015 11:04:37 PM EDT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Calling the impulse function results in a segmentation fault when the control
package is installed and used with Octave built with 64-bit indexing:


octave:1> s = tf (1, [1 1]);
octave:2> impulse (s)

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe535e85e in td04ad_ ()
   from
/home/mike/octave/control-2.8.0/x86_64-unknown-linux-gnu-api-v49+/__control_slicot_functions__.oct
(gdb) bt
#0  0x00007fffe535e85e in td04ad_ ()
   from
/home/mike/octave/control-2.8.0/x86_64-unknown-linux-gnu-api-v49+/__control_slicot_functions__.oct
#1  0x00007fffe5274690 in F__sl_td04ad__ (args=..., nargout=<optimized out>)
    at sl_td04ad.cc:118
...


This is likely due to the C++ calls into the slicot library not using the
octave_idx_type where it is needed. The slicot library is built correctly, the
'-fdefault-integer-8' option is correctly passed via mkoctfile.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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