Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cmdavis@ix.netcom.com(Chris Davis )
Subject: Re: BookReader threads example crashes
Date: 1995/12/21	[thread overview]
Message-ID: <4ba9ss$lr1@ixnews8.ix.netcom.com> (raw)
In-Reply-To: 4b2q2j$i1l@harbinger.cc.monash.edu.au

In <4b2q2j$i1l@harbinger.cc.monash.edu.au> jvf@aurora.cc.monash.edu.au
(J Frankland) writes: 
>
>The threads programming example in the Guide to DECthreads (accessible
>by the bookreader) which conducts a prime number search, crashes.
>It is Example 5-1.  After compiling with the -lpthreads link flag, and
>running it, it Seg Faults before it get to the main() function.

On 3.2c, we traced this problem to the DEC shared libraries pulled in
by -lpthreads.

In our other words, even the simple program below would seg fault:
***********

main()
{
    printf("Hello world\n");
    exit(0);
}
******************
It doesn't even have any thread calls!

We were able to run thread applications after manually linking in the
other libraries.



      parent reply	other threads:[~1995-12-21  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-18  5:00 BookReader threads example crashes J Frankland
1995-12-19  5:00 ` Jeffrey M. Denham
1995-12-21  5:00 ` Chris Davis  [this message]
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