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

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

[Octave-bug-tracker] [bug #37543] x=A\b produces "bus error" and crash


From: anonymous
Subject: [Octave-bug-tracker] [bug #37543] x=A\b produces "bus error" and crash
Date: Thu, 11 Oct 2012 06:38:18 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20100101 Firefox/15.0.1

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

                 Summary: x=A\b produces "bus error" and crash
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 11 Oct 2012 06:38:17 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Mahesh Sivasambu
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: Mac OS

    _______________________________________________________

Details:

The following matrix operation causes octave to crash: 


abc:~> octave
GNU Octave, version 3.6.2
Copyright (C) 2012 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-apple-darwin10.2.0".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

Thu Oct 11 11:15:44 zemme2.local octave[48271] <Error>: kCGErrorFailure: Set a
breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
warning: no graphical display found
octave:1> load "Axbx.mat" 
octave:2> Ax \ bx
panic: Bus error -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Bus error


Axbx.mat is also attached with this bug report. This problem does not arise if
Ax were replaced by some other matrix, i.e., Ax\bx works just fine for most
matrices Ax. 

octave run within gdb produces the following output: 

octave:1> load "Axbx.mat"
octave:2> x = Ax \ bx

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5fc00000
0x00007fff801e6cba in s_cat ()
(gdb) 


I am running octave-3.6.2 compiled from source. The configure command was: 

$ sudo ./configure LDFLAGS=-L/usr/local/lib/ -lmetis -lgfortran -lf2c
CFLAGS=-I/usr/local/include CPPFLAGS=-pthread -I/usr/local/include FF=gfortran
--with-blas=-ldotwrp -Wl,-framework -Wl,Accelerate --with-lapack=-ldotwrp
-Wl,-framework -Wl,Accelerate --disable-docs --without-hdf5 --without-opengl


and uname -a produces 
Darwin zemme2.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 23:08:29
PST 2009; root:xnu-1486.2.11~3/RELEASE_I386 i386

I would greatly appreciate any help with this problem.

Mahesh




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 11 Oct 2012 06:38:17 AM UTC  Name: Axbx.mat  Size: 5kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=26736>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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