Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left arrow crashes Aquamacs in simple org-mode file #209

Open
treese opened this issue Jan 14, 2021 · 3 comments
Open

Left arrow crashes Aquamacs in simple org-mode file #209

treese opened this issue Jan 14, 2021 · 3 comments
Milestone

Comments

@treese
Copy link
Collaborator

treese commented Jan 14, 2021

From a bug report:

[The reporter] can reproduce this crash with a buffer that is, in its entirety,

** a

—i.e., a single level-2 headerline. With org-indent-mode on,

  1. Place point in the buffer’s first line.
  2. Ctrl-a to move point to beginning of line. With org-indent-mode, the cursor displays after the first character column. (This is expected behavior; if column-number-mode is on, the modeline confirms that the position of point is in fact (1,0).)
  3. Left arrow. Aquamacs crashes.

I reproduced this in Aquamacs 3.5 running on Catalina without customizations. Excerpt from the crash report on below.

In Aquamacs 3.5 GNU Emacs 25.3.50.1 (x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G2016))
dated 2019-08-18 rev. 70b7398 built on watson.local
Repository revision: 70b7398
Operating System: OS X Version 10.15.6 (Build 19G2021)
Configured using:
'configure --with-ns --without-x 'CFLAGS=-arch x86_64 -O3 -g
-mtune=corei7 -mmacosx-version-min=10.11' 'LDFLAGS=-arch x86_64 -O3 -g
-mtune=corei7 -mmacosx-version-min=10.11'
CPPFLAGS=-I/usr/local/opt/libxml2/include'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Command line: (/Applications/Aquamacs.app/Contents/MacOS/Aquamacs)

PATH: /Users/scbagby/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ncbi/blast/bin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/scbagby/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/Library/TeX/texbin:/usr/local/texlive/2016/bin:/usr/local/texlive/2015/bin:/usr/local/texlive/2012/bin

exec-path: (/Users/scbagby/anaconda3/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/ncbi/blast/bin /Library/TeX/texbin /opt/X11/bin /Library/Apple/usr/bin /Users/scbagby/.rvm/bin /usr/bin /bin /usr/sbin /sbin /Applications/Aquamacs.app/Contents/MacOS/libexec /Applications/Aquamacs.app/Contents/MacOS/bin /usr/texbin /usr/local/texlive/2016/bin /usr/local/texlive/2015/bin /usr/local/texlive/2012/bin)

Process: Aquamacs [1485]
Path: /Applications/Aquamacs.app/Contents/MacOS/Aquamacs
Identifier: org.gnu.Aquamacs
Version: 3.5 (3.5.1566155221)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Aquamacs [1485]
User ID: 501

Date/Time: 2021-01-14 10:19:24.114 -0500
OS Version: Mac OS X 10.15.6 (19G2021)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: C75A4466-E6BD-202F-4F16-8D6B34BB5052

Sleep/Wake UUID: 168901C0-1B1F-4935-8548-DBFA97A56E81

Time Awake Since Boot: 3300000 seconds
Time Since Wake: 1800 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x10:
-->
__TEXT 0000000100000000-0000000100228000 [ 2208K] r-x/rwx SM=COW /Applications/Aquamacs.app/Contents/MacOS/Aquamacs

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff691a133a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6925de60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff690b893e raise + 26
3 org.gnu.Aquamacs 0x00000001000be718 terminate_due_to_signal + 136
4 org.gnu.Aquamacs 0x00000001000db633 emacs_abort + 19
5 org.gnu.Aquamacs 0x00000001001b918a ns_term_shutdown + 122
6 org.gnu.Aquamacs 0x00000001000be8e6 shut_down_emacs + 262
7 org.gnu.Aquamacs 0x00000001000be6e5 terminate_due_to_signal + 85
8 org.gnu.Aquamacs 0x00000001000dcf56 deliver_fatal_thread_signal + 134
9 org.gnu.Aquamacs 0x00000001000ddfd3 handle_sigsegv + 147
10 libsystem_platform.dylib 0x00007fff692525fd _sigtramp + 29
11 ??? 000000000000000000 0 + 0
12 org.gnu.Aquamacs 0x0000000100196e25 set_point_both + 101
13 org.gnu.Aquamacs 0x000000010002e29c Fmove_point_visually + 1372
14 org.gnu.Aquamacs 0x00000001001419b6 Ffuncall + 1366
15 org.gnu.Aquamacs 0x000000010017edcc exec_byte_code + 2732
16 org.gnu.Aquamacs 0x000000010014280a funcall_lambda + 810
17 org.gnu.Aquamacs 0x0000000100141897 Ffuncall + 1079
18 org.gnu.Aquamacs 0x000000010013ad9a Ffuncall_interactively + 58
19 org.gnu.Aquamacs 0x0000000100141954 Ffuncall + 1268
20 org.gnu.Aquamacs 0x000000010013c32a Fcall_interactively + 5498
21 org.gnu.Aquamacs 0x000000010013dec1 eval_sub + 2097
22 org.gnu.Aquamacs 0x000000010013e099 Fif + 73
23 org.gnu.Aquamacs 0x000000010013db87 eval_sub + 1271
24 org.gnu.Aquamacs 0x000000010013f269 Flet + 873
25 org.gnu.Aquamacs 0x000000010013db87 eval_sub + 1271
26 org.gnu.Aquamacs 0x000000010013f269 Flet + 873
27 org.gnu.Aquamacs 0x000000010013db87 eval_sub + 1271
28 org.gnu.Aquamacs 0x00000001001427c9 funcall_lambda + 745
29 org.gnu.Aquamacs 0x0000000100141897 Ffuncall + 1079
30 org.gnu.Aquamacs 0x000000010013ad9a Ffuncall_interactively + 58
31 org.gnu.Aquamacs 0x0000000100141954 Ffuncall + 1268
32 org.gnu.Aquamacs 0x000000010013b287 Fcall_interactively + 1239
33 org.gnu.Aquamacs 0x00000001001419d3 Ffuncall + 1395
34 org.gnu.Aquamacs 0x000000010017edcc exec_byte_code + 2732
35 org.gnu.Aquamacs 0x0000000100141897 Ffuncall + 1079
36 org.gnu.Aquamacs 0x00000001001421ac call1 + 44
37 org.gnu.Aquamacs 0x00000001000c25c5 command_loop_1 + 1989
38 org.gnu.Aquamacs 0x0000000100140015 internal_condition_case + 261
39 org.gnu.Aquamacs 0x00000001000d1770 command_loop_2 + 48
40 org.gnu.Aquamacs 0x000000010013f8ed internal_catch + 253
41 org.gnu.Aquamacs 0x00000001000c12d8 command_loop + 200
42 org.gnu.Aquamacs 0x00000001000c11c1 recursive_edit_1 + 113
43 org.gnu.Aquamacs 0x00000001000c14a0 Frecursive_edit + 400
44 org.gnu.Aquamacs 0x00000001001419aa Ffuncall + 1354
45 org.gnu.Aquamacs 0x000000010017edcc exec_byte_code + 2732
46 org.gnu.Aquamacs 0x0000000100141897 Ffuncall + 1079
47 org.gnu.Aquamacs 0x00000001001413af Fapply + 559
48 org.gnu.Aquamacs 0x000000010013cee3 call_debugger + 531
49 org.gnu.Aquamacs 0x0000000100140977 Fsignal + 1191
50 org.gnu.Aquamacs 0x0000000100140aa9 xsignal + 9
51 org.gnu.Aquamacs 0x000000010013e79c xsignal1 + 28
52 org.gnu.Aquamacs 0x0000000100140b61 verror + 113
53 org.gnu.Aquamacs 0x000000010013e6d2 error + 130
54 org.gnu.Aquamacs 0x00000001000d3e8c Fcall_last_kbd_macro + 124
55 org.gnu.Aquamacs 0x0000000100141954 Ffuncall + 1268
56 org.gnu.Aquamacs 0x000000010017edcc exec_byte_code + 2732
57 org.gnu.Aquamacs 0x000000010014280a funcall_lambda + 810
58 org.gnu.Aquamacs 0x0000000100141897 Ffuncall + 1079
59 org.gnu.Aquamacs 0x000000010017edcc exec_byte_code + 2732
60 org.gnu.Aquamacs 0x000000010014280a funcall_lambda + 810
61 org.gnu.Aquamacs 0x0000000100141897 Ffuncall + 1079
62 org.gnu.Aquamacs 0x000000010013ad9a Ffuncall_interactively + 58
63 org.gnu.Aquamacs 0x0000000100141954 Ffuncall + 1268
64 org.gnu.Aquamacs 0x000000010013c32a Fcall_interactively + 5498
65 org.gnu.Aquamacs 0x00000001001419d3 Ffuncall + 1395
66 org.gnu.Aquamacs 0x000000010017edcc exec_byte_code + 2732
67 org.gnu.Aquamacs 0x0000000100141897 Ffuncall + 1079
68 org.gnu.Aquamacs 0x00000001001421ac call1 + 44
69 org.gnu.Aquamacs 0x00000001000c25c5 command_loop_1 + 1989
70 org.gnu.Aquamacs 0x0000000100140015 internal_condition_case + 261
71 org.gnu.Aquamacs 0x00000001000d1770 command_loop_2 + 48
72 org.gnu.Aquamacs 0x000000010013f8ed internal_catch + 253
73 org.gnu.Aquamacs 0x00000001000c12ae command_loop + 158
74 org.gnu.Aquamacs 0x00000001000c11c1 recursive_edit_1 + 113
75 org.gnu.Aquamacs 0x00000001000c14a0 Frecursive_edit + 400
76 org.gnu.Aquamacs 0x00000001000bfff5 main + 5797
77 libdyld.dylib 0x00007fff69059cc9 start + 1

@treese
Copy link
Collaborator Author

treese commented Jan 20, 2021

This goes into core Emacs code which has changed in many ways since the current Aquamacs code, so deferring this to check after updating to a more current base Emacs version.

@treese treese added this to the 4.0 milestone Jan 20, 2021
@davidswelt
Copy link
Collaborator

davidswelt commented Jan 20, 2021 via email

@davidswelt
Copy link
Collaborator

davidswelt commented Jan 20, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants