Hi,

As title,  when I press Ctrl + R to search through history, then press Ctrl + C 
to cancel I get set fault immediately.

This issue seems to only happen in my pc. Others cannot reproduce, and the 
homebrew team? recommended me to report in here.

This bug vanished when a debugger is attached. Not sure what to do now (except 
a factory reset which I prefer not to).

Reference Github link:
https://github.com/Homebrew/homebrew-core/issues/231067

I’ll put some useful info in here just in case you do not want to click the 
GitHub link.

Bash version
```

$ bash --version

GNU bash, version 5.3.3(1)-release (aarch64-apple-darwin24.4.0)

Copyright (C) 2025 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>


This is free software; you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

```

Snippets from Console.app report (full contents is in the GitHub link)

OS Version:            macOS 15.6 (24G84)
Process:               bash [4021]
Path:                  /opt/homebrew/*/bash
Identifier:            bash
Code Type:             ARM-64 (Native)
Parent Process:        zsh [4013]
Responsible:           Terminal [1464]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x18f79dda4 __kill + 8
1   bash                                   0x100cef618 kill_shell + 72
2   bash                                   0x100cef880 termsig_handler + 444
3   bash                                   0x100cef170 termsig_sighandler + 140
4   libsystem_platform.dylib               0x18f8116a4 _sigtramp + 56
5   libreadline.8.3.dylib                  0x100ded8ac update_line + 3252
6   libreadline.8.3.dylib                  0x100deb88c rl_redisplay + 6092
7   libreadline.8.3.dylib                  0x100def360 rl_clear_message + 68
8   libreadline.8.3.dylib                  0x100dea01c _rl_isearch_cleanup + 228
9   libreadline.8.3.dylib                  0x100df05f8 rl_free_line_state + 28
10  libreadline.8.3.dylib                  0x100deffa0 _rl_signal_handler + 280
11  libreadline.8.3.dylib                  0x100deb678 rl_redisplay + 5560
12  libreadline.8.3.dylib                  0x100def360 rl_clear_message + 68
13  libreadline.8.3.dylib                  0x100dea01c _rl_isearch_cleanup + 228
14  libreadline.8.3.dylib                  0x100dda404 _rl_dispatch_subseq + 892
15  libreadline.8.3.dylib                  0x100dd9d64 readline_internal_char + 
636
16  libreadline.8.3.dylib                  0x100dd93d0 readline + 96
17  bash                                   0x100caad98 yy_readline_get + 208
18  bash                                   0x100cb0c6c shell_getc + 488
19  bash                                   0x100cae270 read_token + 260
20  bash                                   0x100ca9420 yyparse + 524
21  bash                                   0x100ca91ac parse_command + 384
22  bash                                   0x100ca8e74 read_command + 220
23  bash                                   0x100ca8bc8 reader_loop + 532
24  bash                                   0x100ca76a4 main + 4772
25  dyld                                   0x18f436b98 start + 6076

Regards,
Penguin

Reply via email to