This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
strlen and atoi coredumps
- From: "Olenin, Vladimir" <vladimir dot olenin at bgminteractive dot com>
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Thu, 24 Jan 2002 12:36:07 -0500
- Subject: strlen and atoi coredumps
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.