312 Subj : Re: pthread_create SIGSEGV (again!!!) To : comp.programming.threads From : loic-dev Date : Mon Oct 10 2005 01:44 am Hi bg, > I am getting a SIGSEGV segmentation fault when i try to create a > thread using the following command ... > > pthread_create(&tid, NULL, threadfunction, (void *) NULL); > > i compiled using gcc -I .... -lpthread > > could anyone help me out. This is a rather short description of the problem. And I'm afraid that we can't help a lot. 1) Are you sure that the SIGSEGV occurs at the pthread_create() call? If yes, check that the pointer tid and threadfunction are valid. 2) Could you post a minimalistic example - which compiles and runs - of your problem? We could be then more versatile.=20 Regards, Lo=EFc. . 0