Fresh install with rootless palera1n on iPadOS 16.5
This happens with sqlite3 and some other programs, like calc, but only in fish, not in zsh/bash/sh.
Wondering if a readline/fish interaction is the culprit
Also noticed that if I start off in fish then start zsh and run sqlite3 or calc, the same problem occurs.
This is with the latest fish in the repo, 3.4.1/960af43c-dirty.
root@iPad /p/v/root# sqlite3
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
fish: Job 1, 'sqlite3' terminated by signal SIGSEGV (Address boundary error)
root@iPad /p/v/root [SIGSEGV]# lldb sqlite3
(lldb) target create "sqlite3"
Current executable set to 'sqlite3' (arm64).
(lldb) r
Process 1514 launched: '/var/jb/usr/bin/sqlite3' (arm64)
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
Process 1514 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x000000021aaf14c4 libsystem_platform.dylib`_platform_strlen + 4
libsystem_platform.dylib`:
-> 0x21aaf14c4 <+4>: ldr q0, [x1]
0x21aaf14c8 <+8>: adr x3, #-0xc8 ; ___lldb_unnamed_symbol429
0x21aaf14cc <+12>: ldr q2, [x3], #0x10
0x21aaf14d0 <+16>: and x2, x0, #0xf
Target 0: (sqlite3) stopped.
(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x000000021aaf14c4 libsystem_platform.dylib`_platform_strlen + 4
frame #1: 0x0000000102892774 libreadline.8.dylib`_rl_init_locale + 228
frame #2: 0x00000001028927c4 libreadline.8.dylib`_rl_init_eightbit + 24
frame #3: 0x0000000102872bfc libreadline.8.dylib`rl_initialize + 248
frame #4: 0x0000000102872a6c libreadline.8.dylib`readline + 36
frame #5: 0x00000001026f1c5c sqlite3`___lldb_unnamed_symbol288 + 324
frame #6: 0x00000001026e630c sqlite3`main + 4108
frame #7: 0x00000001eed17344 dyld`<redacted> + 1860
(lldb) ^D
fish > zsh > sqlite3 crash
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
root@iPad /p/v/root# zsh
iPad# sqlite3
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
zsh: segmentation fault sqlite3
iPad#
Fresh install with rootless palera1n on iPadOS 16.5
This happens with sqlite3 and some other programs, like calc, but only in fish, not in zsh/bash/sh.
Wondering if a readline/fish interaction is the culprit
Also noticed that if I start off in fish then start zsh and run sqlite3 or calc, the same problem occurs.
This is with the latest fish in the repo, 3.4.1/960af43c-dirty.
fish > zsh > sqlite3 crash