gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnustep base on NetBSD 4.0 i386


From: David Wetzel
Subject: Re: gnustep base on NetBSD 4.0 i386
Date: Sun, 06 Jan 2008 11:41:43 +0100

Richard Frith-Macdonald wrote:

> That's an odd error message... I changed the code to clear errno  
> immediately before detaching the thread, so as to be sure we don't  
> have a value hanging round form an earlier call.

(gdb) r
Starting program: 
/Users/dave/projects/gnustep-testfarm/core/base/Testing/obj/diningPhilosophers 
/Users/dave/projects/gnustep-testfarm/core/base/Testing/obj/diningPhilosophers: 
Uncaught 
exception NSInternalInconsistencyException, reason: Unable to detach thread 
(last error Undefined 
error: 0)


> Possibly what you are seeing is an objc runtime bug such that the  
> detach succeeds but appears to fail because the thread ID is zero?
> See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18573

No idea. Do you have a test program for that? 

> Alternatively, could it possibly be that you are picking up a  
> different/wrong version of the objc runtime library, so that the  
> runtime is built with a different thread model to  what the compiler  
> was built with?

On that machine is only one gcc -- the default factory one.
 
Dave






reply via email to

[Prev in Thread] Current Thread [Next in Thread]