GNU bug report logs - #1435
C-Click on a mode in the mode-line causes crash in MacOS X.

Previous Next

Packages: ns, emacs;

Reported by: Jason Schadel <jasons <at> aweber.com>

Date: Wed, 26 Nov 2008 16:10:03 UTC

Severity: normal

Done: Adrian Robert <adrian.b.robert <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jason Schadel <jasons <at> aweber.com>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: 1435 <at> debbugs.gnu.org
Subject: bug#1435: C-Click on a mode in the mode-line causes crash in MacOS X
Date: Mon, 2 Feb 2009 10:50:13 -0500
I do have a Kensington Expert Mouse with their ancient Mouseworks  
software installed.  I wouldn't be surprised if that is the problem.

No more crashes with your update.  Here are the results:
<mode-line> <C-mouse-1> is undefined
mode-line down-mouse-3- shows the minor-mode menu
mode-line down-mouse-1- shows the mode menu

-Jason

On Jan 23, 2009, at 5:32 AM, Adrian Robert wrote:

> I still cannot reproduce it.  The only clue I can find is that the  
> crash seems to be deep inside OS X's own menu code, when it  
> apparently tries to send a selection to -[EmacsView
> writeSelectionToPasteboard:types:].  This should only occur if a  
> native services menu selection is made, however for Emacs.app we  
> override the services menu with our own items, so any selection from  
> the actual visible services menu goes through ns-perform-service.
>
> In your case, it seems doing your mouse action is somehow triggering  
> a call into the (hidden and overridden) original services menu.  Do  
> you know why this might be?  Do you have anything unusual running on  
> your Mac, such as something that automatically is active when a  
> selection is made or a menu item chosen, or a certain type of mouse- 
> click made, or something like that?
>
> Anyway, I have checked in something that might at least avoid the  
> crash for now, it simply stubs out the methods in question:
>
> -writeSelectionToPasteboard:types: and -readSelectionFromPasteboard:
>
> Let me know if this stops the crash, and if so, if any behavior that  
> is normally expected (in connection with this behind-the-scenes  
> service call if you know what it is) is not observed.
>
> thanks,
> Adrian
>





This bug report was last modified 16 years and 114 days ago.

Previous Next


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