From: july@Gemini.relcom.EU.net (Yury July)
Subject: Q: OSF1 -lpthreads -> core - why ?
Date: 1996/04/02 [thread overview]
Message-ID: <4js6bu$gai@news1.relcom.eu.net> (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
next reply other threads:[~1996-04-02 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-02 5:00 Yury July [this message]
1996-04-03 5:00 ` Q: OSF1 -lpthreads -> core - why ? Vepa V Sirish
1996-04-03 5:00 ` Thomas Hopfner
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox