From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steven Tamm Newsgroups: gmane.emacs.devel Subject: xdisp.c 1.794 breaks Mac OS X (Carbon) Date: Wed, 11 Dec 2002 11:06:27 -0800 (PST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <7206041.1039633587298.JavaMail.steventamm@mac.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1039634654 10456 80.91.224.249 (11 Dec 2002 19:24:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2002 19:24:14 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18MCSr-0002iV-00 for ; Wed, 11 Dec 2002 20:24:13 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18MCe2-0007vz-00 for ; Wed, 11 Dec 2002 20:35:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18MCBv-0003yk-02 for emacs-devel@quimby.gnus.org; Wed, 11 Dec 2002 14:06:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18MCBj-0003ye-00 for emacs-devel@gnu.org; Wed, 11 Dec 2002 14:06:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18MCBh-0003yT-00 for emacs-devel@gnu.org; Wed, 11 Dec 2002 14:06:30 -0500 Original-Received: from a17-250-248-87.apple.com ([17.250.248.87] helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18MCBh-0003yO-00 for emacs-devel@gnu.org; Wed, 11 Dec 2002 14:06:29 -0500 Original-Received: from woappsx18.mac.com (woappsx18-en1 [10.13.10.118]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id gBBJ6Rba026384 for ; Wed, 11 Dec 2002 11:06:27 -0800 (PST) Original-Received: from woappsx18 (localhost [127.0.0.1]) by woappsx18.mac.com (8.10.2/8.10.2) with ESMTP id gBBJ6Rv01823 for ; Wed, 11 Dec 2002 11:06:27 -0800 (PST) Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10064 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10064 Just updated to latest source and a change in to xdisp.c:row_containing_pos causes the osx build to break reliably after scrolling through a long document. Reverting to 1.793 fixes everything The problem is that row is NULL for set_cursor_from_row in try_window_id. Should there be a check for row=NULL in try_window_id? Here is the stack trace. Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x0000006c Thread 0 Crashed: #0 0x00020488 in set_cursor_from_row (xdisp.c:9447) #1 0x00025d5c in try_window_id (xdisp.c:11774) #2 0x000230e4 in redisplay_window (xdisp.c:10478) #3 0x000203f8 in redisplay_window_0 (xdisp.c:9417) #4 0x000c9518 in internal_condition_case_1 (eval.c:1393) Let me know if more details are needed... -Steven