memory fault on OpenServer

2000-10-17 Thread Lachlan Holmes
Hi,   In a very simple test program I have created, I get a memory fault when I try to do a pth_join on SCO OpenServer 5.0.5, but it works fine on HPUX 10.20. Ideas? Should I reinstall pth perhaps? Source follows. The actual output is: In main Before join Memory fault(coredump)   Thanks.

RE: memory fault on OpenServer

2000-10-17 Thread Lachlan Holmes
Sent: Wednesday, 18 October 2000 14:26 To: [EMAIL PROTECTED] Subject: Re: memory fault on OpenServer you're losing the address of the pointer your malloced,then setting it to another address. fine, in this case, not worrying about leaks. but then you pass the address of the referencing poin

Re: memory fault on OpenServer

2000-10-18 Thread shane
On Wed, Oct 18, 2000 at 02:31:47PM +1000, Lachlan Holmes wrote: > > In a very simple test program I have created, I get a memory fault when I > try to do a pth_join on SCO OpenServer 5.0.5, but it works fine on HPUX > 10.20. Ideas? Should I reinstall pth perhaps? Source follows. A reinstall is p

RE: memory fault on OpenServer

2000-10-19 Thread Lachlan Holmes
You were right, Shane. Thanks for the help people. (having so many bugs in my tiny program is a bit of a worry! :) Lachlan __ GNU Portable Threads (Pth)http://www.gnu.org/software/pth/ User Support Mailing List