From: Big H <haystacks@bigfoot.com>
Subject: Re: Strange pointer addresses causing SEGV
Date: Sat, 02 Feb 2002 23:14:15 +0000 [thread overview]
Message-ID: <fkso5ugjmd33unfg82ohb1n7ulm96esgch@4ax.com> (raw)
In-Reply-To: gUZ68.3191$3E5.273177@newsread2.prod.itd.earthlink.net
On Sat, 02 Feb 2002 22:39:08 GMT, "Paul Pluzhnikov"
<ppluzhnikov@earthlink.net> wrote:
>"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...
>
I did, had to step through instruction at a time as it crashed
entering the function, don't even reach the ostream constructor.
>In my case it is actually return address, not arguments, that
>gets corrupted. Unfortunately ostream ctor executes a lot of code ...
>
prev parent reply other threads:[~2002-02-02 23:14 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
2002-02-02 23:14 ` Big H [this message]
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