opa334 / Dopamine

Dopamine is a semi-untethered jailbreak for iOS 15 and 16
MIT License
3.41k stars 2.09k forks source link

Bash segfault due to LANG variable #627

Closed polarbub closed 1 month ago

polarbub commented 1 month ago

I want to use bash as my shell, but when I run it I get a segfault. Unsetting the LANG environmental variable makes bash work propperly as hinted by this tweet, but to unset LANG I have to use another shell and then start bash, so I can't set bash as my default shell. On my linux pc with the LANG variable set to the same value as on my phone bash works fine. I am on ios 16.3.1 on an iPhone 8. Any ideas on why this happens or how to set the variable correctly for bash on Dopamine?

opa334 commented 1 month ago

Dopamine doesn't have any involvement in this variable being set. That is done either by the bootstrap or by NewTerm (don't remember), so there is nothing to be done here. Maybe there is some file you can edit to remove it.

The main problem is that Procursus has not been maintained all too much and therefore this bug still hasn't been fixed.