[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: |
Jan Kratochvil |
Subject: |
[Octave-bug-tracker] [bug #30478] prelinking causes octave to crash |
Date: |
Mon, 19 Jul 2010 08:28:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100622 Fedora/3.6.4-1.fc13 Firefox/3.6.4 |
Follow-up Comment #5, bug #30478 (project octave):
From
https://bugzilla.redhat.com/show_bug.cgi?id=524493#c1
https://bugzilla.redhat.com/show_bug.cgi?id=524493#c5
backtraces it crashes on:
0x000000000046920e <+158>: addl $0x1,0xc(%rax)
liboctave/dim-vector.h:176
explicit dim_vector (void)
: rep (nil_rep ()) { rep->count++; }
^^^^^^^^^^^^^
This is dereferencing symbol `dim_vector::nil_rep() const::nr':
liboctave/dim-vector.h:168
dim_vector_rep *nil_rep (void) const
{
static dim_vector_rep *nr = new dim_vector_rep ();
return nr;
}
Unfortunately without a reproducer and limited info the backtrace I cannot
say more. But that `static' variable `nr' seems a bit needlessly risky there.
(It could be also gcc-overoptimized.)
HG change 9507 already changed this code due to other reasons so this bug may
no longer be present there. (octave-3.2.4-2.fc13 still does not contain this
change, though.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30478>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/