From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Schadel Newsgroups: gmane.emacs.bugs 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 Message-ID: <74F77640-8D71-461F-82F5-A5EF2280FB4F@aweber.com> References: <28CB4C8B-7EAD-45A4-9840-2CCD2C8167EE@gmail.com> Reply-To: Jason Schadel , 1435@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233637517 22281 80.91.229.12 (3 Feb 2009 05:05:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 05:05:17 +0000 (UTC) Cc: 1435@emacsbugs.donarmstrong.com To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 06:06:30 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LUDUS-0004AK-Li for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 06:06:29 +0100 Original-Received: from localhost ([127.0.0.1]:47953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUDTA-0007ze-4Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 00:05:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LU1Gr-0004BW-N0 for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 11:03:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LU1Gp-00048G-IY for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 11:03:36 -0500 Original-Received: from [199.232.76.173] (port=47665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU1Gp-00047g-20 for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 11:03:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52151) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LU1Gn-0000cZ-HA for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 11:03:34 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12G3V8S017224; Mon, 2 Feb 2009 08:03:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n12G04SI016132; Mon, 2 Feb 2009 08:00:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jason Schadel Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Mon, 02 Feb 2009 16:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1435 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 1435-submit@emacsbugs.donarmstrong.com id=B1435.123358982314724 (code B ref 1435); Mon, 02 Feb 2009 16:00:04 +0000 Original-Received: (at 1435) by emacsbugs.donarmstrong.com; 2 Feb 2009 15:50:23 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail8.aweber.com (mail8.aweber.com [207.106.200.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12FoKTh014451 for <1435@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 07:50:21 -0800 Original-Received: from jasons.ofc.lair (unknown [75.147.74.137]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail8.aweber.com (Postfix) with ESMTP id 54CCE8124; Mon, 2 Feb 2009 10:50:14 -0500 (EST) In-Reply-To: <28CB4C8B-7EAD-45A4-9840-2CCD2C8167EE@gmail.com> X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 02 Feb 2009 11:03:35 -0500 X-Mailman-Approved-At: Tue, 03 Feb 2009 00:04:41 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24881 Archived-At: 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: 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 >