stl problem
Kurt Wall
kwall
Mon May 17 11:59:30 PDT 2004
In a 0.9K blaze of typing glory, Rick Sivernell wrote:
>
> Development guru for stl <Kurt maybe>
>
> I have a problem with some STL(standard install) on the ifstream->read func. This
> has never given me any problems. It seems that when it now reads a line of test, I get
> a segfault, I pass a *buff, with MAX_LEN. Is the stdc++ library apartof the glibc
> system? or what should I look at dor a corrupted library. I have rplaced glibc to the
> latest, but my problem was before I did that system build of the source code. Any
> Ideas or suggestions apprefciated and a Tall cold verytusll Cold one will be lifted in
> your honour<g>.
Please post the offending code. Keep it short but illustrate the problem.
Without seeing the code, I'd guess you're scribbling on uninitialized
memory or {under,over}runing the buffer.
Kurt
--
All I want is a warm bed and a kind word and unlimited power
-- Ashleigh Brilliant
More information about the Linux-users
mailing list