Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion GWorkspace: hang on exit. Clang?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Chisnall  
View profile  
 More options Oct 24 2012, 3:31 am
Newsgroups: gnu.gnustep.discuss
From: David Chisnall <thera...@sucs.org>
Date: Wed, 24 Oct 2012 08:31:24 +0100
Local: Wed, Oct 24 2012 3:31 am
Subject: Re: GWorkspace: hang on exit. Clang?
On 24 Oct 2012, at 00:50, Riccardo Mottola wrote:

> 2012-10-23 23:22:17.898 GWorkspace[3318] reported exception - <NSException: 0x2bd04344> NAME:NSInvalidReceivePortException REASON:invalidated while awaiting reply INFO:(null)

I've seen this in the NSConnection tests before, but whenever I find a bit of time to debug it, the failure stops appearing.  It's quite frustrating: it failed 5 times in a row when I didn't have time for debugging, then when I did I ran it a hundred times without managing to reproduce the failure.

Since the failure appears and disappears with the same binary, I am inclined to suspect a race condition somewhere in the NSConnection code, which various compilation modes make more or less likely to be a problem by subtly altering the timing of the test.  Whether this race is intrinsic to the source code or introduced by a buggy optimisation, I don't know.

David

-- Send from my Jacquard Loom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.