help-octave
[Top][All Lists]
Advanced

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

Segmentation violation in octave


From: John W. Eaton
Subject: Segmentation violation in octave
Date: Tue, 20 Apr 1999 21:28:58 -0500 (CDT)

On 20-Apr-1999, Michael Hanke <address@hidden> wrote:

| I just tried to build octave 2.0.14. Unfortunately, I get
| segmentation violations. I tried to debug the point of the crash: It
| is really strange. octave crashes *while* calling initialize_globals
| at line 418 od octave.cc. This function is called with argument *char
| while the prototype on line 189 of octave.cc uses an argument of
| String&. During the type cast, the above mentioned error occurs in
| egcs/1.1.1/include/g++/std/bastring.h:76 at basic_string::release.
| Unfortunately, at this point I am lost. Does anybody have an
| explanation?

| My build:
| Solaris 2.5.1, egcs 1.1.1, libstdc++.so.2.9.0
| Options for c++, gcc: -g -O3 -fomit-frame-pointer
| Options for f77 (Sun's native compiler): -xO4 -xtarget=native -dalign
| Configuration: enable-dl, enable-shared, with-f77

Problems like this are almost always due to using an inconsistent set
of libraries or by compiling with the headers from one version of a
library and linking to a different one.

Are you sure you are getting the correct version of libstdc++?

jwe



reply via email to

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