gnustep-dev
[Top][All Lists]
Advanced

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

Re: SEGFAULT with a multithread foundation(base) tools samples


From: Fred Kiefer
Subject: Re: SEGFAULT with a multithread foundation(base) tools samples
Date: Tue, 11 Jan 2005 00:43:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

Thierry DELHAISE wrote:

Since some discussions on irc #gnustep this afternoon, I will follow advice of aeruder (may be it's you ? ;-) ) and will build my GNUstep Foundation from source with debug symbols and will post the result of the segfault :

No its not me, I haven't used IRC for about fifteen years. But what about the result of this great advice? It really could help.


in gdb with the libFoundation provide by debian from package libFoundation_d 1.10.1-2, it seems it segfault when the second thread reach [pool release]; at the end of class method used as the selector parameter of [NSThread] : connectWithPorts;


Sending the back trace to the list would be great.

Just an idea : does the use of boem_gc (--enable-objc-gc) in the standard compiler tools chain provide by debian for gcc 3.3.5 in objc language could be the source of my problem ?


I never used the Böhm garbage collector with GNUstep myself, perhaps nobody did in recent years. It may be that we have a problem with that here. Could you compile GNUstep and your application without this setting and try again?

On the othe hand a problem with the GC does not really fit your comment in the previous paragraph. If autorelease is just a NOP, than an autorelease pool can hardly be the place where a segfault happens. Again a back trace could help to understand this.

Cheers
Fred




reply via email to

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