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

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

[Octave-bug-tracker] [bug #46449] Address-sanitizer triggered in scripts


From: Robert Jenssen
Subject: [Octave-bug-tracker] [bug #46449] Address-sanitizer triggered in scripts/sparse/ichol.m
Date: Sun, 15 Nov 2015 09:34:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

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

                 Summary: Address-sanitizer triggered in
scripts/sparse/ichol.m
                 Project: GNU Octave
            Submitted by: morgawr
            Submitted on: Sun 15 Nov 2015 09:34:47 GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Robert Jenssen
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I am running Fedora 23 with the packaged gcc-5.1.1-4 and octave-4.0.0. I have
a project with a test suite of bash shell scripts, most of which run the
octave interpreter and check the results. I have been getting seg-faults from
octave. Usually, I would assume that this means that I have a hardware
problem. I decided to check the octave interpreter with Address-Sanitizer. I
built octave from the hg sources, as recommended in HACKING, with this shell
script:

#!/bin/sh
uname -ro
hg clone http://hg.savannah.gnu.org/hgweb/octave/
cd octave
./bootstrap
mkdir .build
cd .build
CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer"
export CXXFLAGS
CFLAGS="-fsanitize=address -fno-omit-frame-pointer"
export CFLAGS
LDFLAGS="-fsanitize=address"
export LDFLAGS
../configure --without-fltk --disable-gui --disable-java \
--enable-bounds-check --disable-docs
make LDFLAGS="-fsanitize=address" -j 6
make check

The "make check" ends when address-sanitizer finds a problem in
scripts/sparse/ichol.m. The address-sanitizer stack trace is attached.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 15 Nov 2015 09:34:47 GMT  Name: stack_trace.txt  Size: 45kB   By:
morgawr
Address sanitizer stack trace for failure in scripts/sparse/ichol.m
<http://savannah.gnu.org/bugs/download.php?file_id=35464>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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