Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Q: OSF1 -lpthreads -> core - why ?
@ 1996-04-02  5:00 Yury July
  1996-04-03  5:00 ` Vepa V Sirish
  0 siblings, 1 reply; 3+ messages in thread
From: Yury July @ 1996-04-02  5:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-04-03  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-02  5:00 Q: OSF1 -lpthreads -> core - why ? Yury July
1996-04-03  5:00 ` Vepa V Sirish
1996-04-03  5:00   ` Thomas Hopfner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox