Live data from Hacker News

Including “And. And. And. And. And.” in a Google doc causes it to crash

support.google.com

61–70 of 441 posts

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#61
Once a customer was able to destroy an old ES cluster because they copy pasted some text from a PDF into a search box ... that text got sent directly to the ES cluster without much escaping ... there were lots of "*" in there.

The query complexity exploded, ES ran out of memory, and the index got corrupted and I don't remember why, it could not recover.

We had to re-index all the data. Lots of fun.

Lesson learned: prepare for the impossible, keep your infrastructure up to date, escape queries :)

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#62

When I come across posts like these, I just wonder, "How in the world did the user discover this in the first place?!" Let's place bets: A) The user just let autocomplete "take it away" (not sure about this one since they were able to access the console) B) Pen Testing? C) Error copy and pasting? D) Actual dialog in a sci-fi post-apocalyptic love story where a robot discovers the Turing test and attempts to set itsel…

Years ago in school, maybe about 1992 or so, I managed to make xdm (X Display Manager) crash and dump me a root window by simply holding down a key until the buffer ran out. I remember wondering how anybody didn't discover this before me. Similar behavior with the university phone system (repeatedly pressing '0') eventually dropped me an outside line that I didn't have to pay for (yes, for you young folks, we used to…

Related: https://news.ycombinator.com/item?id=25843874

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#63

``` TypeError: Cannot read properties of null (reading 'C') at Ccf ( https://docs.google.com/static/document/client/js/157553674-... ) at Bcf ( https://docs.google.com/static/document/client/js/157553674-... ) ``` Has something to do with grammar. The document does not fail when `Show grammar suggestion` is turned off.

Yup, it is also partially underlined in blue and a popup suggests to replace "And. And." with "And And" just before it crashes.

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#64
post #7

Reproduced in Safari on macOS Monterey. "And. And. And. And." caused no problems. "And. And. And. And. And. And." also crashes (5 "And."s is a substring, so makes sense). I cannot imagine how this bug is occurring.

My wild-ass guess is a grammar check bug. Since it words on both “and” and “but,” I’m thinking it’s some check related to conjunctions.

I think this is the right track. "However. ", "Therefore. ", "Also. " cause the crash too.

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#67

Sort of related, last night I managed to make Clang crash by feeding it a certain C++ program: https://i.imgur.com/r5MC2aK.png It was very surprising that there was a way to get Clang to segfault. Should I report it somewhere? The code is basically doing a recursive template expansion with some C++20 concept constraints. So it's not quite as simple as "And. And...", but it's similar in that certain input text causes…

Clang segfaulting is somewhat common. It usually doesn't happen, but sometimes when I write some cursed template metaprogramming code it crashes and I'm not surprised. In your case, especially because you are using C++20 concepts, that is a newer feature and you probably hit some less-tested codepath.

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#68
post #18

And here's a link to a document where you can see the bug in action. https://docs.google.com/document/d/1KKZHZpKRFRBddEvjFc-au2LM...

Google Docs crashes in Firefox on Windows 10 with your link.

When I re-create the document from scratch, it does not crash.

When I copy the link to my non-crashing document and load it in a new tab, the crash then occurs when I edit the document in the new tab but not when I edit it in the original tab.

Re: Including “And. And. And. And. And.” in a Google doc causes it to crash

#69

Earlier quoted context omitted.

Years ago in school, maybe about 1992 or so, I managed to make xdm (X Display Manager) crash and dump me a root window by simply holding down a key until the buffer ran out. I remember wondering how anybody didn't discover this before me. Similar behavior with the university phone system (repeatedly pressing '0') eventually dropped me an outside line that I didn't have to pay for (yes, for you young folks, we used to…

Related: https://news.ycombinator.com/item?id=25843874

Good to know the new guard is still leading the fight :)
Post reply on HN