Re: pthread + malloc = segfault

2003-12-13 Thread Aaron M. Ucko
kai stammerjohann <[EMAIL PROTECTED]> writes: > i compile the app (contains c and c++ files) with "gcc -g -O0 -lstdc++ > -lpthread ..." > (the code works under windows and multithreaded c++ libs, so there aren't any > faults in the code) Either that or you got lucky; you might want to try enlis

pthread + malloc = segfault

2003-12-13 Thread kai stammerjohann
hi, i have some threads and some mallocs. after a couple of malloc calls, i get a SIGSEGV from mallopt. i compile the app (contains c and c++ files) with "gcc -g -O0 -lstdc++ -lpthread ..." (the code works under windows and multithreaded c++ libs, so there aren't any faults in the code) the call