From: Greg Smolyn <greg@smolyn.org>
To: 17171@debbugs.gnu.org
Subject: bug#17171: crash in ns_read_socket
Date: Sun, 4 Jan 2015 23:04:29 -0800 [thread overview]
Message-ID: <CAJ7JkCO2jSJOud65r+N=M8=fGJ4cSZND7kxub4shA0OtmEfwnw@mail.gmail.com> (raw)
In-Reply-To: <CAJ7JkCNVr47Bj5XYOeUL6gTG2Box=SX57RrDroZzTcJ8HMoHyA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1436 bytes --]
next prev parent reply other threads:[~2015-01-05 7:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 13:08 bug#17171: Non-reproable crash in ns_read_socket Simon Carter
2015-01-05 1:13 ` bug#17171: Also seeing this bug in Emacs 25 Greg Smolyn
2015-01-05 5:36 ` bug#17171: crash in ns_read_socket Greg Smolyn
2015-01-05 6:07 ` Jan D.
2015-01-05 6:25 ` Greg Smolyn
2015-01-05 7:04 ` Greg Smolyn [this message]
2015-01-05 7:35 ` Greg Smolyn
2017-04-25 12:32 ` Alan Third
2017-09-03 9:24 ` bug#17171: /18345: " Alan Third
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ7JkCO2jSJOud65r+N=M8=fGJ4cSZND7kxub4shA0OtmEfwnw@mail.gmail.com' \
--to=greg@smolyn.org \
--cc=17171@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.