From: David Reitter <david.reitter@gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs@gnu.org>
Cc: Hank Stevens <HStevens@MUOhio.edu>
Subject: Re: Crash when using scroll bar in Carbon port (keyboard.c:3010)
Date: Thu, 3 Jan 2008 20:18:38 +0000 [thread overview]
Message-ID: <7A14A1D8-1AA6-47C9-9843-06079ACED4FC@gmail.com> (raw)
In-Reply-To: <0BC2963F-DB5D-44CC-BC66-8C9268333BB5@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
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...
[-- Attachment #2: trial.Rnw --]
[-- Type: application/octet-stream, Size: 160 bytes --]
\documentclass{article}
\SweaveOpts{eval=true, echo=true}
%
\begin{document}
type stuff here.
Switch to R
<<>>=
2+2
@
Switch back to latex.
\end{document}
[-- Attachment #3: Type: text/plain, Size: 5539 bytes --]
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
>
>
>
next prev parent reply other threads:[~2008-01-03 20:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-03 19:39 Crash when using scroll bar in Carbon port (keyboard.c:3010) David Reitter
2008-01-03 20:18 ` David Reitter [this message]
2008-01-03 20:25 ` Dan Nicolaescu
[not found] ` <mailman.5668.1199392066.18990.bug-gnu-emacs@gnu.org>
2008-01-04 12:53 ` Ted Zlatanov
2008-01-04 14:20 ` David Reitter
2008-01-04 18:02 ` Dan Nicolaescu
2008-01-05 17:36 ` David Reitter
2008-01-06 1:14 ` Dan Nicolaescu
2008-01-07 9:30 ` YAMAMOTO Mitsuharu
[not found] ` <mailman.5815.1199698265.18990.bug-gnu-emacs@gnu.org>
2008-01-13 15:41 ` David Reitter
2008-01-14 3:23 ` YAMAMOTO Mitsuharu
-- strict thread matches above, loose matches on Subject: below --
2008-01-15 10:54 David Reitter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7A14A1D8-1AA6-47C9-9843-06079ACED4FC@gmail.com \
--to=david.reitter@gmail.com \
--cc=HStevens@MUOhio.edu \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).