strlen and atoi coredumps
Olenin, Vladimir
vladimir.olenin@bgminteractive.com
Thu Jan 24 10:26:00 GMT 2002
Hi,
This is one problem I still can't figure out. For some reason I'm getting
core dump from standard C library, specifically from strlen and atoi
functions, when calling my library methods from concurrent threads. I wonder
if this could be because library was compiled by "single-threaded" compiler
(that is gcc that was built without "--enable-threads" flag)? My library
itself is MT-safe, though we r using several 3rd parties libraries there as
well. The interesting is that I'm getting core dumps not from my library,
neither from any of 3rd party library, but from standard C library!
If u have any suggestions, please, let me know! Thanks,
vlad
PS: The code was compiled under Solaris2.6, gcc 3.0.3, with the latest
patches installed, and was also executed under Solaris 2.8 with no success
so far.
More information about the Gcc
mailing list