From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#18993: Emacs trunk often freezes on NS Date: Sun, 09 Nov 2014 11:23:32 +0100 Message-ID: <545F40A4.20703@alice.it> References: <545E0FD4.6040102@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1415528726 4525 80.91.229.3 (9 Nov 2014 10:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 10:25:26 +0000 (UTC) To: 18993@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 09 11:25:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XnPgO-0001J7-DX for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 11:25:20 +0100 Original-Received: from localhost ([::1]:38239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnPgO-0008DV-0O for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 05:25:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnPgE-0008AM-AQ for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:25:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnPg7-00027Z-CW for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:25:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnPg7-00027D-9M for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:25:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnPg6-0007aM-ED for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Nov 2014 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18993 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141552866629097 (code B ref -1); Sun, 09 Nov 2014 10:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2014 10:24:26 +0000 Original-Received: from localhost ([127.0.0.1]:54208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnPfU-0007Z9-VX for submit@debbugs.gnu.org; Sun, 09 Nov 2014 05:24:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54118) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnPfS-0007Yz-If for submit@debbugs.gnu.org; Sun, 09 Nov 2014 05:24:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnPfL-000201-Nm for submit@debbugs.gnu.org; Sun, 09 Nov 2014 05:24:22 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnPfL-0001zx-LB for submit@debbugs.gnu.org; Sun, 09 Nov 2014 05:24:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnPfF-00084Z-Lj for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:24:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnPf9-0001zS-Mu for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:24:09 -0500 Original-Received: from smtp202.alice.it ([82.57.200.98]:59724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnPf9-0001zJ-Dc for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 05:24:03 -0500 Original-Received: from [192.168.1.102] (87.21.227.179) by smtp202.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 5433A8A30825C47A for bug-gnu-emacs@gnu.org; Sun, 9 Nov 2014 11:24:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <545E0FD4.6040102@alice.it> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95763 After seeing this commit: Attempt to fix NS hang. Will probably cause merge conflicts. Jan D. 2014-11-08 16:32:37 (GMT) I tried to build Emacs current trunk: Fix bootstrap failure after last change to eval-and-compile. Stefan Monnier 2014-11-09 05:14:25 (GMT) but it fails: [...] nsterm.m:2153:5: warning: 'NSCopyBits' is deprecated: first deprecated in OS X 10.10 [-Wdeprecated-declarations] NSCopyBits (0, srcRect , dstOrigin); ^ /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:232:20: note: 'NSCopyBits' has been explicitly marked deprecated here APPKIT_EXTERN void NSCopyBits(NSInteger srcGState, NSRect srcRect, NSPoint destPoint) NS_DEPRECATED_MAC(10_0, 10_10); ^ nsterm.m:2215:3: warning: 'NSCopyBits' is deprecated: first deprecated in OS X 10.10 [-Wdeprecated-declarations] NSCopyBits (0, srcRect, dstOrigin); ^ /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:232:20: note: 'NSCopyBits' has been explicitly marked deprecated here APPKIT_EXTERN void NSCopyBits(NSInteger srcGState, NSRect srcRect, NSPoint destPoint) NS_DEPRECATED_MAC(10_0, 10_10); ^ nsterm.m:3922:11: error: use of undeclared identifier 'update_p' update_p = YES; ^ nsterm.m:3926:7: error: use of undeclared identifier 'update_p' if (update_p) ^ nsterm.m:4770:11: warning: 'NSRunAlertPanel' is deprecated: first deprecated in OS X 10.10 - Use NSAlert instead [-Wdeprecated-declarations] ret = NSRunAlertPanel(ns_app_name, ^ /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:48:25: note: 'NSRunAlertPanel' has been explicitly marked deprecated here APPKIT_EXTERN NSInteger NSRunAlertPanel(NSString *title, NSString *msgFormat, NSString *defaultButton, NSString *alternateButton, NSString *otherButton, ...) NS_FORMAT_FUNCTION(2,6) NS_DEPRECATED_MAC(10_0, 10_10, "Use NSAlert instead"); ^ nsterm.m:4774:16: warning: 'NSAlertDefaultReturn' is deprecated: first deprecated in OS X 10.10 - Use NSAlertFirstButtonReturn, etc instead [-Wdeprecated-declarations] if (ret == NSAlertDefaultReturn) ^ /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:79:5: note: 'NSAlertDefaultReturn' has been explicitly marked deprecated here NSAlertDefaultReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use NSAlertFirstButtonReturn, etc instead") = 1, ^ nsterm.m:4776:21: warning: 'NSAlertAlternateReturn' is deprecated: first deprecated in OS X 10.10 - Use NSAlertFirstButtonReturn, etc instead [-Wdeprecated-declarations] else if (ret == NSAlertAlternateReturn) ^ /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:80:5: note: 'NSAlertAlternateReturn' has been explicitly marked deprecated here NSAlertAlternateReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use NSAlertFirstButtonReturn, etc instead") = 0, ^ nsterm.m:6127:8: warning: 'useOptimizedDrawing:' is deprecated: first deprecated in OS X 10.10 [-Wdeprecated-declarations] [win useOptimizedDrawing: YES]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:674:1: note: 'useOptimizedDrawing:' has been explicitly marked deprecated here - (void)useOptimizedDrawing:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_10); ^ nsterm.m:6189:9: warning: 'allocateGState' is deprecated: first deprecated in OS X 10.10 [-Wdeprecated-declarations] [self allocateGState]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:600:1: note: 'allocateGState' has been explicitly marked deprecated here - (void)allocateGState NS_DEPRECATED_MAC(10_0, 10_10); ^ nsterm.m:6515:11: warning: 'useOptimizedDrawing:' is deprecated: first deprecated in OS X 10.10 [-Wdeprecated-declarations] [fw useOptimizedDrawing: YES]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:674:1: note: 'useOptimizedDrawing:' has been explicitly marked deprecated here - (void)useOptimizedDrawing:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_10); ^ nsterm.m:6756:1: warning: conflicting return type in implementation of 'draggingEntered:': 'NSDragOperation' (aka 'enum NSDragOperation') vs 'NSUInteger' (aka 'unsigned long') [-Wmismatched-return-types] -(NSUInteger) draggingEntered: (id ) sender ^ ~~~~~~~~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSDragging.h:98:1: note: previous definition is here - (NSDragOperation)draggingEntered:(id )sender; ^ ~~~~~~~~~~~~~~~ nsterm.m:7145:33: warning: 'scrollerWidth' is deprecated: first deprecated in OS X 10.7 - Use +scrollerWidthForControlSize:scrollerStyle: instead [-Wdeprecated-declarations] r.size.width = [EmacsScroller scrollerWidth]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:120:1: note: 'scrollerWidth' has been explicitly marked deprecated here + (CGFloat)scrollerWidth NS_DEPRECATED_MAC(10_0, 10_7, "Use +scrollerWidthForControlSize:scrollerStyle: instead"); [...] In my OP I forgot to say that these issues occur on OSX 10.10. Ciao, Angelo. Il 08/11/2014 13:43, Angelo Graziosi ha scritto: > After the changes of rev. 118192 (for which I already did a bug report > [*]) and their fixes, Emacs trunk often freezes on NS. It seems that > this occurs mainly when I double click a text to be copy/paste > (elsewhere, usually) with CMD-c/CMD-v > > I notice also another thing.. When I run M-x SOMETHING the text at about > the center of the frame (say a rectangle whose height is about that of > the frame and the width is about 10 characters) is blanked (this for > about the time in which M-x SOMETHING is executed). > > I haven't an exact recipe to reproduce the above issue, but I see them > since trunk > Oct 22-23. > > The attached tar-ball contains both the Emacs forced quit report sent to > Apple and the output of M-x report-emacs-bug. > > > Ciao, > Angelo. > > > --- > [*] http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-10/msg01068.html