unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Ivan Andrus <darthandrus@gmail.com>
Cc: 12969-done@debbugs.gnu.org
Subject: bug#12969: 24.3.50; NS Crash when running applescript
Date: Sun, 23 Dec 2012 13:36:29 +0100	[thread overview]
Message-ID: <3E759587-63FF-49F3-94AE-0E3D971ADB9B@swipnet.se> (raw)
In-Reply-To: <AC2562C8-78DA-465B-B590-1988F52F4E01@gmail.com>

Hello.

I have checked in a fix for this.  Please report back if you see the error again.

Thanks,

	Jan D.

3 dec 2012 kl. 21:57 skrev Ivan Andrus <darthandrus@gmail.com>:

> On Dec 2, 2012, at 1:49 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:
> 
>> Hello.
>> 
>> 27 nov 2012 kl. 20:24 skrev Ivan Andrus <darthandrus@gmail.com>:
>> 
>>> Sorry, somehow I missed that you had replied.  Here are the results:
>>> 
>>> (gdb) fr 2
>>> #2  0x00000001001912eb in ns_do_applescript [inlined] () at /Users/gvol/vcs=
>>> /emacs/local/src/nsfns.m:2059
>>> 2059				     [NSString stringWithUTF8String: SSDATA (script)]];
>>> Current language:  auto; currently objective-c
>>> (gdb) p script
>>> $1 =3D 4320145466
>>> (gdb) xtype
>>> Lisp_Symbol
>>> (gdb) pp script
>>> nil
>> 
>> You say Emacs where idle when this happened, do you have some applescript running on a timer or something?  The event for applescript must come from somewhere.  Not ignoring the fact that Emacs may interpret events wrong.
>> 
>> However, we can guard against nil for the script argument, it should not happen.
> 
> Yes I do sometimes run an apple script from a timer.  I don't think the timer was running, but it could easily be some misconfiguration of the timer on my end.  I'll try running it with -Q to see if I can replicate it.  
> 
> -Ivan






      reply	other threads:[~2012-12-23 12:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23  9:07 bug#12969: 24.3.50; NS Crash when running applescript Ivan Andrus
2012-11-23 17:41 ` Jan Djärv
2012-11-27 19:24 ` Ivan Andrus
2012-12-02 12:49   ` Jan Djärv
2012-12-03 20:57     ` Ivan Andrus
2012-12-23 12:36       ` Jan Djärv [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E759587-63FF-49F3-94AE-0E3D971ADB9B@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=12969-done@debbugs.gnu.org \
    --cc=darthandrus@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).