GNU bug report logs - #17171
Non-reproable crash in ns_read_socket

Previous Next

Package: emacs;

Reported by: Simon Carter <bbbscarter <at> gmail.com>

Date: Wed, 2 Apr 2014 13:09:01 UTC

Severity: normal

Merged with 18345

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Greg Smolyn <greg <at> smolyn.org>
To: 17171 <at> debbugs.gnu.org
Subject: bug#17171: crash in ns_read_socket
Date: Sun, 4 Jan 2015 23:04:29 -0800
[Message part 1 (text/plain, inline)]
So I thought it might be a race condition of some sort, so I enclosed the
apploopnr checks with an @synchronize, like so:

3636      @synchronized([NSApp class]) {
3637          if (++apploopnr != 1)
3638              {
3639                  emacs_abort ();
3640              }
3641          [NSApp run];
3642          --apploopnr;
3643      }

Sadly, still crashes.
I may have done the synchronize incorrectly, I am not really a cocoa / objc
programmer.
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.