[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30478] prelinking causes octave to crash
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #30478] prelinking causes octave to crash |
Date: |
Mon, 25 Oct 2010 21:03:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100819 Iceweasel/3.5.11 (like Firefox/3.5.11) |
Follow-up Comment #20, bug #30478 (project octave):
Since the crash seems to be related to BLAS, here is a guess. In the file
src/octave.cc in the function octave_main, we have
// The idea here is to force xerbla to be referenced so that we will
// link to our own version instead of the one provided by the BLAS
// library. But octave_NaN should never be -1, so we should never
// actually call xerbla.
if (octave_NaN == -1)
F77_FUNC (xerbla, XERBLA) ("octave", 13, 6L);
Does removing or commenting out these lines avoid the crash?
Also I just noticed that this call is probably not written correctly. I
think it should be
F77_FUNC (xerbla, XERBLA) ("octave", 13, F77_CHAR_ARG_LEN (6));
instead, and I've made that change. Though since the call should never be
executed, I can't see the harm this mistake could cause, and with gfortran, I
think the normal thing is to append the character string length as an extra
argument, so it should probably work on GNU/Linux systems with gfortran
anyway.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30478>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, (continued)
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John W. Eaton, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, Jan Kratochvil, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, Jan Kratochvil, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John W. Eaton, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, Jan Kratochvil, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/18
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/25
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash,
John W. Eaton <=
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/26
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John W. Eaton, 2010/10/26
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/26
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John W. Eaton, 2010/10/26
- [Octave-bug-tracker] [bug #30478] prelinking causes octave to crash, John Hunt, 2010/10/26