From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: Re: Crash when using scroll bar in Carbon port (keyboard.c:3010) Date: Thu, 3 Jan 2008 20:18:38 +0000 Message-ID: <7A14A1D8-1AA6-47C9-9843-06079ACED4FC@gmail.com> References: <0BC2963F-DB5D-44CC-BC66-8C9268333BB5@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: multipart/mixed; boundary=Apple-Mail-39--106497502 X-Trace: ger.gmane.org 1199391537 3794 80.91.229.12 (3 Jan 2008 20:18:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2008 20:18:57 +0000 (UTC) Cc: Hank Stevens To: Bug-Gnu-Emacs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 03 21:19:16 2008 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 1JAWX1-0003LG-N2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2008 21:19:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAWWf-0002Aj-A1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2008 15:18:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAWWZ-0002A2-Rz for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2008 15:18:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAWWZ-00029o-Bd for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2008 15:18:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAWWZ-00029l-6d for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2008 15:18:43 -0500 Original-Received: from mu-out-0910.google.com ([209.85.134.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAWWY-00086u-OC for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2008 15:18:43 -0500 Original-Received: by mu-out-0910.google.com with SMTP id g7so4187292muf.0 for ; Thu, 03 Jan 2008 12:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; bh=RLxNI4BydAwicAYlzCJj0yA7z6ShHvV2UdxUq8Tnrz8=; b=ksS+K4jC/U+pEfbSSMg6qViM8Z8Ij5P30TnB4SsxTd5Yi+DZS5jhU3hBVZ2Jc1Uc0/LoHE5w013SzmDpGTdrrV1c+CxBC1LDhn7MZ1pOKjF98OsGbyENbHbnkVx6ny8Pn/IF4PbXIOau9rcRpL9+3aqX7n9vaQ0arevM/pmnSlo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; b=iJx9icprYLcRkJ3L17LHDyv/JuojVk8flDciP+QJoLnzmgb5LplQjf/CLeuJ0ofDBtnSuHA+mUJ6g7IHsNp9EL7dnQMCkMc30k6pbZVRkgY4O/4r8NGtTF5CPOd2fykmedKDpyrnaK+5HusuEh3pR1Bc6InrPfxEihZBzywNsYU= Original-Received: by 10.78.185.15 with SMTP id i15mr3322828huf.15.1199391521413; Thu, 03 Jan 2008 12:18:41 -0800 (PST) Original-Received: from 35.22.dyn.lse.ac.uk ( [158.143.22.35]) by mx.google.com with ESMTPS id k5sm17980557nfd.23.2008.01.03.12.18.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Jan 2008 12:18:39 -0800 (PST) In-Reply-To: <0BC2963F-DB5D-44CC-BC66-8C9268333BB5@gmail.com> X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:17291 Archived-At: --Apple-Mail-39--106497502 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Further to my message below, I have reproduced the bug by loading the attached file, making the frame small and scrolling back and forth with the scrollbar. The two stack traces looks different, though. The mode-line reads PDFLaTeX/F Ref BCite ll Noweb NWFL for this file. The problem appears to be related to Noweb Mode, which seems to come with R-mode. It switches back and forth between LaTeX-mode (from AUCTeX), fundamental-mode and ESS-mode. (Problem is only reproducible is noweb-mode is on.) Secondly, changing the major mode triggers a few things in `aquamacs- styles-mode': different faces and frame parameters are applied to the frame that displays a window with that buffer. But of course that shouldn't crash Emacs... --Apple-Mail-39--106497502 Content-Disposition: attachment; filename=trial.Rnw Content-Type: application/octet-stream; x-mac-creator=454D4178; x-unix-mode=0644; x-mac-type=54455854; name="trial.Rnw" Content-Transfer-Encoding: 7bit \documentclass{article} \SweaveOpts{eval=true, echo=true} % \begin{document} type stuff here. Switch to R <<>>= 2+2 @ Switch back to latex. \end{document} --Apple-Mail-39--106497502 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Process: Aquamacs Emacs [3138] Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/ Aquamacs Emacs Identifier: org.gnu.AquamacsEmacs Version: Aquamacs 1.2CVS, GNU Emacs 22 (1.2a) Code Type: X86 (Native) Parent Process: launchd [107] Date/Time: 2008-01-03 20:05:46.982 +0000 OS Version: Mac OS X 10.5.1 (9B18) Report Version: 6 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Thread 0 Crashed: 0 libSystem.B.dylib 0x94a7d47a __kill + 10 1 org.gnu.AquamacsEmacs 0x000775fb fatal_error_signal + 152 (emacs.c:399) 2 libSystem.B.dylib 0x94a7b97b _sigtramp + 43 3 ??? 0xffffffff 0 + 4294967295 4 libSystem.B.dylib 0x94af4782 raise + 26 5 libSystem.B.dylib 0x94b03d3f abort + 73 6 org.gnu.AquamacsEmacs 0x000d1fb3 wrong_type_argument + 28 (data.c:121) 7 org.gnu.AquamacsEmacs 0x0000ca9a do_switch_frame + 125 (frame.c:647) 8 org.gnu.AquamacsEmacs 0x0000cd18 Fhandle_switch_frame + 84 (frame.c:778) 9 org.gnu.AquamacsEmacs 0x000e6bcd Ffuncall + 958 (eval.c: 2998) 10 org.gnu.AquamacsEmacs 0x000e3c4b Fcall_interactively + 5844 (callint.c:862) 11 org.gnu.AquamacsEmacs 0x0007ead5 Fcommand_execute + 270 (keyboard.c:10065) 12 org.gnu.AquamacsEmacs 0x00086e82 command_loop_1 + 970 (keyboard.c:1879) 13 org.gnu.AquamacsEmacs 0x000e4e22 internal_condition_case + 245 (eval.c:1483) 14 org.gnu.AquamacsEmacs 0x0007940d command_loop_2 + 68 (keyboard.c:1334) 15 org.gnu.AquamacsEmacs 0x000e4d13 internal_catch + 171 (eval.c:1223) 16 org.gnu.AquamacsEmacs 0x000791e7 command_loop + 170 (keyboard.c:1313) 17 org.gnu.AquamacsEmacs 0x0007929b recursive_edit_1 + 140 (keyboard.c:1010) 18 org.gnu.AquamacsEmacs 0x0007938a Frecursive_edit + 139 (keyboard.c:1072) 19 org.gnu.AquamacsEmacs 0x0007856c main + 2311 (emacs.c:1772) 20 org.gnu.AquamacsEmacs 0x00002146 _start + 228 (crt.c:272) 21 org.gnu.AquamacsEmacs 0x00002061 start + 41 Thread 1: 0 libSystem.B.dylib 0x94a5ef5a select$DARWIN_EXTSN + 10 1 libSystem.B.dylib 0x94a40075 _pthread_start + 321 2 libSystem.B.dylib 0x94a3ff32 thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x00077570 ecx: 0xbffff03c edx: 0x94a7d47a edi: 0x02826819 esi: 0x00000006 ebp: 0xbffff058 esp: 0xbffff03c ss: 0x0000001f efl: 0x00000282 eip: 0x94a7d47a cs: 0x00000007 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x0c36d000 second crash: Process: Aquamacs Emacs [3697] Path: /Applications/Aquamacs Emacs.app/Contents/MacOS/ Aquamacs Emacs Identifier: org.gnu.AquamacsEmacs Version: Aquamacs 1.2CVS, GNU Emacs 22 (1.2a) Code Type: X86 (Native) Parent Process: launchd [107] Date/Time: 2008-01-03 20:10:06.132 +0000 OS Version: Mac OS X 10.5.1 (9B18) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Thread 0 Crashed: 0 libSystem.B.dylib 0x94a7d47a __kill + 10 1 org.gnu.AquamacsEmacs 0x000775fb fatal_error_signal + 152 (emacs.c:399) 2 libSystem.B.dylib 0x94a7b97b _sigtramp + 43 3 ??? 0xffffffff 0 + 4294967295 4 org.gnu.AquamacsEmacs 0x0008428b read_char + 4950 (keyboard.c:3010) 5 org.gnu.AquamacsEmacs 0x00085487 read_key_sequence + 2118 (keyboard.c:9164) 6 org.gnu.AquamacsEmacs 0x00086ca6 command_loop_1 + 494 (keyboard.c:1624) 7 org.gnu.AquamacsEmacs 0x000e4e22 internal_condition_case + 245 (eval.c:1483) 8 org.gnu.AquamacsEmacs 0x0007940d command_loop_2 + 68 (keyboard.c:1334) 9 org.gnu.AquamacsEmacs 0x000e4d13 internal_catch + 171 (eval.c:1223) 10 org.gnu.AquamacsEmacs 0x000791e7 command_loop + 170 (keyboard.c:1313) 11 org.gnu.AquamacsEmacs 0x0007929b recursive_edit_1 + 140 (keyboard.c:1010) 12 org.gnu.AquamacsEmacs 0x0007938a Frecursive_edit + 139 (keyboard.c:1072) 13 org.gnu.AquamacsEmacs 0x0007856c main + 2311 (emacs.c:1772) 14 org.gnu.AquamacsEmacs 0x00002146 _start + 228 (crt.c:272) 15 org.gnu.AquamacsEmacs 0x00002061 start + 41 Thread 1: 0 libSystem.B.dylib 0x94a5ef5a select$DARWIN_EXTSN + 10 1 libSystem.B.dylib 0x94a40075 _pthread_start + 321 2 libSystem.B.dylib 0x94a3ff32 thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x00077570 ecx: 0xbfffefbc edx: 0x94a7d47a edi: 0x02800409 esi: 0x0000000a ebp: 0xbfffefd8 esp: 0xbfffefbc ss: 0x0000001f efl: 0x00000286 eip: 0x94a7d47a cs: 0x00000007 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00000000 On 3 Jan 2008, at 19:39, David Reitter wrote: > I've been getting reports of crashes both with an October-2007 build > and with a more recent CVS build of Carbon Emacs (plus patches), > which happen when the users scrolls around a buffer with the scroll > bar. I can't reproduce this. > > Details as provided by Hank Stevens are below, including a stack > trace. > > - David > > > --Apple-Mail-39--106497502--