* DECladebug croaking off with assertion failure
@ 1995-11-30 5:00 Mark Bartelt
1995-12-01 5:00 ` Tim Lucia
0 siblings, 1 reply; 2+ messages in thread
From: Mark Bartelt @ 1995-11-30 5:00 UTC (permalink / raw)
One of our users reported that when he attempted to use DECladebug,
it bombed out on startup, emitting the following message (with the
"Assertion failed" line broken up here for improved readability):
walrus> decladebug scat
Welcome to the DECladebug Debugger Version 4.0-7
------------------
object file name: scat
Reading symbolic information ...Assertion failed:
alternateEntryPointStack->isEmpty()
src/libsrc/ladebug/parsesymscoff.C 5090
Abort - core dumped
The a.out was built with a command of the following sort:
f77 -g -o scat scat.f factor.f -lpg -lX11
The first library referenced (/local/lib/libpg.a) is a library of
graphics routines, compiled under an earlier version of OSF/1; the
X11 library is the standard one included with this version (v3.2c)
of Digital UNIX. If all the libpg.a routines which are referenced
by this program are commented out (or replaced by a bunch of dummy
stub routines), the DECladebug problem goes away.
So ... It appears that the problem is related to the use of this
library. But are there known incompatibilities between older and
current .o files which confuse DECladebug?
For the record, the "file" command tells me the following about .o
files from the library and those compiled under v3.2c: Both types
are identified as ...
COFF format alpha executable or object module not stripped
... but the ones created by the v3.2c compiler are "version 3.12-6"
whereas .o files in libpg.a are "version 3.11-0". Is the problem
related to this, or is it something more subtle? (And, if .o file
incompatibility is the cause of the problem, do we really have to
recompile all our old libraries in order to use DECladebug on any
program which uses them?)
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: DECladebug croaking off with assertion failure
1995-11-30 5:00 DECladebug croaking off with assertion failure Mark Bartelt
@ 1995-12-01 5:00 ` Tim Lucia
0 siblings, 0 replies; 2+ messages in thread
From: Tim Lucia @ 1995-12-01 5:00 UTC (permalink / raw)
In article <DIuzJ9.6E7@info.physics.utoronto.ca>, sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes:
|>One of our users reported that when he attempted to use DECladebug,
|>it bombed out on startup, emitting the following message (with the
|>"Assertion failed" line broken up here for improved readability):
|>
|> walrus> decladebug scat
|> Welcome to the DECladebug Debugger Version 4.0-7
|> ------------------
|> object file name: scat
|> Reading symbolic information ...Assertion failed:
|> alternateEntryPointStack->isEmpty()
|> src/libsrc/ladebug/parsesymscoff.C 5090
|> Abort - core dumped
|>
|>The a.out was built with a command of the following sort:
|>
|> f77 -g -o scat scat.f factor.f -lpg -lX11
|>
|>The first library referenced (/local/lib/libpg.a) is a library of
|>graphics routines, compiled under an earlier version of OSF/1; the
|>X11 library is the standard one included with this version (v3.2c)
|>of Digital UNIX. If all the libpg.a routines which are referenced
|>by this program are commented out (or replaced by a bunch of dummy
|>stub routines), the DECladebug problem goes away.
|>
|>So ... It appears that the problem is related to the use of this
|>library. But are there known incompatibilities between older and
|>current .o files which confuse DECladebug?
The problem is this. Older Fortran compilers used the same symbolic
names for block data statements that newer Fortran compilers use for
alternate entry points. Digital Ladebug (nee DECladebug) cannot tell
them apart. This was an unfortunate oversight on our part and we apologize
for any confusion it may cause. You can do one of two things. The first
is to rebuild the library with a newer (V3.6 or later should work) f77
compiler. If you cannot do this, try removing the local symbol tables
(see strip(1) and ld(1)) from the library.
|>
|>For the record, the "file" command tells me the following about .o
|>files from the library and those compiled under v3.2c: Both types
|>are identified as ...
|>
|> COFF format alpha executable or object module not stripped
|>
|>... but the ones created by the v3.2c compiler are "version 3.12-6"
|>whereas .o files in libpg.a are "version 3.11-0". Is the problem
|>related to this, or is it something more subtle? (And, if .o file
|>incompatibility is the cause of the problem, do we really have to
|>recompile all our old libraries in order to use DECladebug on any
|>program which uses them?)
|>
Ladebug and Fortran are supported together only for DEC Fortran V3.6 or
later and ladebug V3.0-16 (released with V3.2C of Digital UNIX) or later.
I STRONGLY recommend you recompile everything with the latest Fortran
compiler.
Regards,
Tim
--
Timothy J. Lucia Email: mailto:lucia@zko.dec.com
Digital Equipment Corporation Phone: 603.881.2615
110 Spitbrook Road ZKO2-3/K06 Fax: 603.881.0120
Nashua, NH USA 03062-2698 I'd rather be cycling.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-12-01 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-30 5:00 DECladebug croaking off with assertion failure Mark Bartelt
1995-12-01 5:00 ` Tim Lucia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox