From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,7946aa2e5601a031,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,7946aa2e5601a031,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,7946aa2e5601a031,start X-Google-Attributes: gidfee84,public X-Google-Thread: ffc1e,7946aa2e5601a031,start X-Google-Attributes: gidffc1e,public From: july@Gemini.relcom.EU.net (Yury July) Subject: Q: OSF1 -lpthreads -> core - why ? Date: 1996/04/02 Message-ID: <4js6bu$gai@news1.relcom.eu.net>#1/1 X-Deja-AN: 145488229 organization: RelCom newsgroups: comp.programming.threads,comp.unix.osf.osf1,comp.unix.questions,comp.unix.programmer Here's my stupid program: main(){ printf("hello\n"); } Should work, isn't it ? However, when linked with -lpthreads it coredumps! gdb says: Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/shlib/libpthreads.so...done. Reading symbols from /usr/shlib/libdce.so...done. Reading symbols from /usr/shlib/libc.so...done. Reading symbols from /usr/shlib/libmach.so...done. Reading symbols from /usr/shlib/libc_r.so...done. #0 0x3ff805188ec in port_allocate () at ./mach_user.c:6039 OS version is still OSF1 V3.2 17 alpha. Did I missed something or the reason is wrong release, or lack of options in kernel configuration ? Many thanks in advance. -- Regards, Yury July