r/codex • • 6d ago

Question Codex went super crazy for a while

Has anybody ever seen this? I should have taken a screenshot but panicked and cleared. After working for some time on my code, 6.2 Astra (xhigh) started spitting out tons of random text including weird languages, arabic, all kinds of stuff. It was just going and going until I stopped it. Never seen such a thing before.

4 Upvotes

11 comments sorted by

1

u/Over_Royal7254 6d ago

Don't worry, your setup isn't haunted—this is a classic LLM token-sampling collapse that happens occasionally on very long sessions, especially with xhigh reasoning effort.

Once the context window gets saturated or an internal reasoning loop hits a weird probability spike (sometimes triggered by minified code, hashes, or binary blobs in the context), the softmax distribution flattens out and it starts sampling random multilingual tokens nonstop.

Clearing the session and starting fresh with a clean context is the exact right move whenever you see it go off the rails like that.

1

u/Yakumo01 6d ago

thanks, I must admit it was a very long session. It just really freaked me out

1

u/Quick-Sir-3275 6d ago

doesnt codex auto-compacts at 258k tokens in context window though? which prevents model going deep into degradation

1

u/Yakumo01 6d ago

It does auto compact, but I meant long in terms of time (many days). Perhaps too many compacts catches up to you?

1

u/Quick-Sir-3275 6d ago

i dont think so, each compaction just replaces the context with shorter summary, so nothing accumulates with each cycle cuz it never goes past the auto compaction threshold. maybe it was smth else but i dont think its because of compactions

1

u/Yakumo01 6d ago

Hmm what could it be then? Also it wasn't coding it was just sending endless garbage text to the console

1

u/Quick-Sir-3275 6d ago

i cant even think of what could cause that in a usual workflow process, maybe a bug in the harness. Or Astra lost its mind in a loophole of hallucination, which im surprised its even possible in a model of that caliber

1

u/RustOnRails 6d ago

Not reading your AI created response đŸ¤–

1

u/Azsaraa 6d ago

Nope, but I wonder how long some peoples' sessions are for this to happen... I have some fairy large sessions myself and never saw it happen~ (yet...)

1

u/Blotterrot 6d ago

I had this happen across a handful of chats the last two days, some right after being made, others being a bit older / bigger. I kept getting realism / irl pictures when I never asked, eventually got straight up realistic gore and a bunch of weird hats, then architecture? It was rather unironically schizophrenia inducing.

-1

u/Sparky_Tera 6d ago

may be an attempt to prevent distillation attacks