The system- DEC-3000/400, DEC-3000/300, running OSF/1 V1.2 & V1.3a
I've built GNU's libg++ (version 2.6.2) for the Alpha/OSF/1 system, and
now I'm trying to run the tests that came with the package. I'm having problems
getting past the "tfformat" test. Specifically, the "tfformat" program
core dumps (segmentation fault) while in sscanf(3). Now, according the
the debugger, the problem is that the pointer to the buffer argument (the
first arg to sscanf(3)) is being truncated to the low-order 4 bytes (remember
that the Alpha system has 64-bit pointers), and as a result the buffer is
dereferencing off into kaka.
Has anyone built these libraries (and tested them) under OSF/1 V1.x? If so,
did you run into this problem? I built a quick "test" program to test
sscanf(3) and it seems to work fine OUTSIDE of the "tfformat" program.
Also, other "stdio" routines work fine in "tfformat" (e.g. sprintf(3),
puts(3), etc...), and according to the debugger these routines do NOT
truncate the pointer to the buffer argument, only sscanf(3) seems to be
affected.
I know this is just a test, but I'm worried that sscanf(3) may not be
working correctly, so I want to see if I can resolve the problem BEFORE I
let my users loose...
Any clues?
-- Geordie
Received on Tue Feb 07 1995 - 15:21:12 NZDT