Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Paul Pluzhnikov" <ppluzhnikov@earthlink.net>
Subject: Re: Strange pointer addresses causing SEGV
Date: Sat, 02 Feb 2002 22:39:08 GMT	[thread overview]
Message-ID: <gUZ68.3191$3E5.273177@newsread2.prod.itd.earthlink.net> (raw)
In-Reply-To: gqho5u81e2rk46mnkiskje8qunuefpgim8@4ax.com

"Big H" <haystacks@bigfoot.com> wrote in message
news:gqho5u81e2rk46mnkiskje8qunuefpgim8@4ax.com...
> >You are compiling with 'cxx',
> >aren't you?
>
> Yes, was compiling with cxx v6.1-029. I read release notes for latest
> version and that mentioned about problems with streams and thread so i
> loaded it. Then spent 6 hours rebuilding the code! using 6.3a compiler
> and got exactly the same result - SEGV.

I used "Compaq C++ V6.2-024 for Digital UNIX V4.0E  (Rev. 1091)"
initially, then upgraded to
"Compaq C++ V6.3-008 for Digital UNIX V5.0 (Rev. 910)" which I
think is the latest ... The problem shift a little bit between the
two versions, but the clues pointing to ostream() remain.

> Also, the fact that the address of the arguments seems to be shifted
> is strange, as it only does this for the static functions containing
> the ostream constructor.

So run under ladebug, stop in the static function before
ostream is constructed, examine arguments (they should be correct),
step over the ostream constructor, and examine arguments again...

In my case it is actually return address, not arguments, that
gets corrupted. Unfortunately ostream ctor executes a lot of code ...




  reply	other threads:[~2002-02-02 22:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <943a15cc.0201290533.598aa1a7@posting.google.com>
     [not found] ` <bnbn5u8ja8v7inn5de524k9fb1v4k6tldg@4ax.com>
     [not found]   ` <5pX68.2722$3E5.240464@newsread2.prod.itd.earthlink.net>
2002-02-02 20:14     ` Strange pointer addresses causing SEGV Big H
2002-02-02 22:39       ` Paul Pluzhnikov [this message]
2002-02-02 23:14         ` Big H
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox