This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]