GNU bug report logs - #12969
24.3.50; NS Crash when running applescript

Previous Next

Packages: ns, emacs;

Reported by: Ivan Andrus <darthandrus <at> gmail.com>

Date: Fri, 23 Nov 2012 09:10:02 UTC

Severity: normal

Merged with 13229

Found in version 24.3.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ivan Andrus <darthandrus <at> gmail.com>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 12969 <at> debbugs.gnu.org
Subject: bug#12969: 24.3.50; NS Crash when running applescript
Date: Mon, 3 Dec 2012 21:57:12 +0100
On Dec 2, 2012, at 1:49 PM, Jan Djärv <jan.h.d <at> swipnet.se> wrote:

> Hello.
> 
> 27 nov 2012 kl. 20:24 skrev Ivan Andrus <darthandrus <at> 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



This bug report was last modified 12 years and 154 days ago.

Previous Next


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