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

Previous Next

Packages: emacs, ns;

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


Message #22 received at 12969-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Ivan Andrus <darthandrus <at> gmail.com>
Cc: 12969-done <at> debbugs.gnu.org
Subject: Re: bug#12969: 24.3.50; NS Crash when running applescript
Date: Sun, 23 Dec 2012 13:36:29 +0100
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 <at> gmail.com>:

> 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 212 days ago.

Previous Next


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