The discalmer:
The whole thing is done by Claude because I am nowhere near good enough to do it myself
The bug:
adb kill-server; adb start-server = crash with segfault
The problem (according to Claude):
box64 computes the emulated program_invocation_short_name as
strrchr(argv[0], '/') + 1, which is NULL + 1 == (char*)1 (a wild pointer)
whenever argv[0] contains no /.
The fix: #3972
The discalmer:
The whole thing is done by Claude because I am nowhere near good enough to do it myself
The bug:
adb kill-server; adb start-server= crash with segfaultThe problem (according to Claude):
box64 computes the emulated
program_invocation_short_nameasstrrchr(argv[0], '/') + 1, which isNULL + 1 == (char*)1(a wild pointer)whenever
argv[0]contains no/.The fix: #3972