Software under stress decided to talk Arabic to me

Says "مع السلامة" just before crashing which translates to "bye". I'm working on this for over a year and this is the first time it happens.

172 points · 11 comments · view on lemmy.world

11 Comments

Toes@ani.social · 26 pts · 2y (7 replies)

Oh wow, I would have assumed it was reading memory outside of its scope.

If you can identify which package is pushing that error you may be able to search that string in their code.

kaas3000@lemmy.world · 38 pts · 2y

Looks like it's coming from a sanic feature that randomly chooses a goodbye message: https://github.com/sanic-org/sanic/blob/acb29c9dc4d6ba3a453a18e30f0664ba6772a9b4/sanic/server/goodbye.py#L20

meiti@lemmy.world · 8 pts · 2y (5 replies)

it's python and I'd guess it's embedded somewhere in the package. I'll run a grep on its source to see whether I can find it.

Toes@ani.social · 6 pts · 2y (4 replies)

Now I'm curious if grep supports right to left Unicode. Let me know your findings :)

Tja@programming.dev · 11 pts · 2y

I'd use qerg for that..

meiti@lemmy.world · 3 pts · 2y

haha good point. I use ripgrep though.

KSPAtlas@sopuli.xyz · 2 pts · 2y (1 reply)

I assume it does, internally it's still just characters

Toes@ani.social · 10 pts · 2y

Oh that just characters thing is super complicated and computers have been messing it up for generations though. For example python didn't have decent support for Unicode until version 3 and it came out after Unicode was already a thing.

space@lemmy.dbzer0.com · 10 pts · 2y (2 replies)

I read that like 5 times as satanic error.

Owljfien@iusearchlinux.fyi · 7 pts · 2y

It's sanic it gotta go fast

meiti@lemmy.world · 3 pts · 2y

I was also for thirty seconds like wtf, what is this trying to tell me!

lefaucet@slrpnk.net · 1 pts · 2y
[ removed ]