lite icon indicating copy to clipboard operation
lite copied to clipboard

Segfault on big sur / Apple silicon

Open acrobat opened this issue 3 years ago • 6 comments

I don't know if it's related to big sur or the new apple M1 chip but I get a segmentation fault when executing the binary.

→ ./splitsh-lite
[1]    79703 segmentation fault  ./splitsh-lite

→ lldb ./splitsh-lite
(lldb) target create "./splitsh-lite"
Current executable set to './splitsh-lite' (x86_64).
(lldb) run
Process 79368 launched: './splitsh-lite' (x86_64)
Process 79368 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xf1)
    frame #0: 0x0000000004051805 splitsh-lite`main + 933
splitsh-lite`main:
->  0x4051805 <+933>: movl   $0xf1, 0xf1
    0x4051810 <+944>: retq
    0x4051811 <+945>: int3
    0x4051812 <+946>: int3
Target 0: (splitsh-lite) stopped.
(lldb)

acrobat avatar May 23 '21 19:05 acrobat

me too

onanying avatar Jun 10 '21 08:06 onanying

Me too. :(

vinhha96 avatar Nov 10 '21 16:11 vinhha96

Have you found a solution to this problem @acrobat ?

vinhha96 avatar Nov 11 '21 05:11 vinhha96

Same here..

stefandanaita avatar Nov 26 '21 13:11 stefandanaita

Have you compiled the binary from source? If not, you should. If yes, someone needs to investigate the issue and submit a PR to fix it (I'm not on a Mac anymore).

fabpot avatar Nov 26 '21 13:11 fabpot

I can recommend using https://github.com/newren/git-filter-repo as a replacement for splitsh under arm64 architectures.

https://github.com/newren/git-filter-repo

jenskueper avatar Aug 04 '22 12:08 jenskueper