home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!teal.csn.org!alek
- From: alek@teal.csn.org (Alek Komarnitsky)
- Subject: Large C++ code breaks pxdb (?) *** HELP ***
- Message-ID: <Bxo104.9AG@csn.org>
- Sender: news@csn.org (news)
- Nntp-Posting-Host: teal.csn.org
- Organization: Colorado SuperNet, Inc.
- Date: Fri, 13 Nov 1992 17:38:27 GMT
- Lines: 39
-
- I suspect the HP compiler group may be interested in the following problem:
-
- We have a fairly large C++ executable (10+ Mbytes) we are trying to link
- on our HP710 (64 MBytes of RAM, mucho swap) running HP-UX8.07.
- We've been developing this product for some time, and have recently been
- getting the following error with increasing frequency:
- pxdb: internal error. File won't be debuggable (still a valid executable)
- But when one runs it, we almost always get: Illegal instruction (core dumped)
-
- After reading the man page on ld, we set LD_PXDB to /dev/null - this delays
- running pxdb until debug time. The result is as one suspects: no problems
- at link time, and running the executable does work. However, if one runs
- it with the debugger ...
-
- jmb|batman> xdb++ -d pool/flatsrc strata_demo
- Copyright Hewlett-Packard Co. 1985,1987-1991. All Rights Reserved.
- <<<< XDB Version A.08.07 HP-UX >>>>
- pxdb: internal error. File won't be debuggable (still a valid executable)
- xdb panic: pxdb failed (IE579)
- xdb: cannot continue
-
- A similiar message is generated is we maually run pxdb on this executable.
-
- Running strings on pxdb shows this message, but can anyone explain
- why we're are getting it ... or better yet, how to get around it.
-
- Our workaround (if you can call it that) is to shuffle code around
- until this message goes away. For instance, one time we added an argument
- to a function, and it went away. We have not been able to detect any
- patterns as to why this problem occurs.
-
- Would really appreciate some help on this; it's really starting to
- cause some problems for our developers.
-
- Alek Komarnitsky 303-449-0649
- Software Tools Manager, Spatial Technology, Inc. 2425 55th Street, Bldg A
- alek@spatial.com Boulder, CO 80301-5704
-
- P.S. Reposted outside our network, since first article didn't seem to make it.
-