This is the mail archive of the gcc-help@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]

Re: segfault in libc.so.6


Ian Wilson writes:

 > More than likely I'm posting in the wrong place so for that I
 > apologize, but if so if anybody could point me to any
 > forums/mailing lists that might be helpfule I would greatly
 > appreciate it.  I'm not a programmer or developer at all, just
 > trying to help somebody out that is having problems. He has code
 > that I will post below that is causing a segfault when run. Ill
 > post the command he is using to compile (which doesnt give any
 > errors) and the gdb output. If anybody can see anything obviously
 > wrong with the code we would be grateful. Simple code works just
 > fine.  This has been tried on redhat enterprise 4 both 32 and 64bit
 > with same results..using gcc-c++-3.4.6-8, not sure what he is using
 > on his 64bit system. He says the sample code using legal constructs
 > of C++ and pthreads which I cannot confirm or deny (I really have
 > no clue)

Your stack is too small.  Make it larger.

Andrew.


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