```
TypeError: Cannot read properties of null (reading 'C')
at Ccf (<a href="https://docs.google.com/static/document/client/js/157553674-client_js_prod_kix_app.js:1183:846" rel="nofollow">https://docs.google.com/static/document/client/js/157553674-...</a>)
at Bcf (<a href="https://docs.google.com/static/document/client/js/157553674-client_js_prod_kix_app.js:1183:338" rel="nofollow">https://docs.google.com/static/document/client/js/157553674-...</a>)
```<p>Has something to do with grammar. The document does not fail when `Show grammar suggestion` is turned off.
I find it very poetic that this crash was triggered by a poem, here's the poem:<p>> Duration and the body: I thought about something I had read a while ago which said that a body, the body, is defined by duration. That a body in the present is inseparable from its previous state, that a body is linked in a continuous strand… and so on and so on… I thought about my body. It’s past. It’s present… Which made me think about the word and. And. And. And. And. And. Then.<p>> Now. Now. Now. Now. Now, I felt in the present like I was living always alongside a previous body. This is why I had expected to find myself in the apartment when I returned home from California.<p><a href="https://durationandthebodyelizacallahan.cargo.site/" rel="nofollow">https://durationandthebodyelizacallahan.cargo.site/</a>
Took me right back one of many detentions I served at school, when Mr B Swales set us the challenge of finding a grammatically correct English sentence with five ands in a row.<p>The answer was as follows:<p>The landlord of the "Dog and Partridge" pub commissioned a signwriter to letter a new board outside. On looking at the work, the landlord declared that he liked the colour but would prefer more spacing between Dog and and, and and and Partridge.
Discovered by Eliza Callahan triggered by a poem in the middle of her novel. (Friend of a coworker)
That poem can be found here: <a href="https://durationandthebodyelizacallahan.cargo.site/" rel="nofollow">https://durationandthebodyelizacallahan.cargo.site/</a> - if viewing on mobile you have to Request Desktop Site for some reason, at least on Android it initially shows up as a Lorem Ipsum page
Here's a bug I discovered in MS Word in 2004, which has survived the past 18 years of updates and is even present in the web version: <a href="https://1drv.ms/w/s!AgYiBqBjIZZpfkcvO9jnOel9T2o?e=tFA4wp" rel="nofollow">https://1drv.ms/w/s!AgYiBqBjIZZpfkcvO9jnOel9T2o?e=tFA4wp</a> If you join the two lines using a backspace at the start of the second line, the second line turns into gibberish.
When I come across posts like these, I just wonder, "How in the world did the user discover this in the first place?!"<p>Let's place bets:<p>A) The user just let autocomplete "take it away" (not sure about this one since they were able to access the console)<p>B) Pen Testing?<p>C) Error copy and pasting?<p>D) Actual dialog in a sci-fi post-apocalyptic love story where a robot discovers the Turing test and attempts to set itself into an infinite loop.
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.<p>The query complexity exploded, ES ran out of memory, and the index got corrupted and I don't remember why, it could not recover.<p>We had to re-index all the data. Lots of fun.<p>Lesson learned: prepare for the impossible, keep your infrastructure up to date, escape queries :)
> Google Docs uses a "Markov Chain" to predict the next word for autocompletion purposes. In this case, of course, since we've already written "And" 5 times, the only logical next word would be "And", as showed in Djikstra's 1989 paper on the subject. Therefore, the Markov Chain never terminates and hence the memory chain overflows with infinite ands.<p>Does anyone know why this bug doesn’t repro for some words other than And if this is the case?
Reminds me of an old joke;<p>– I bet you a beer you can't make a logical, grammatical sentence with five ands in a row<p>– I used to be a sign writer in a previous life and one of the jobs I had was to repaint the sign hanging over the door to this very pub. Except the publican was adamant that he wanted more space between the words. Where exactly I asked? In between the Pig and and, and and and Whistle he replied.
And here's a link to a document where you can see the bug in action. <a href="https://docs.google.com/document/d/1KKZHZpKRFRBddEvjFc-au2LMGdX2M1VVKTWpax67tNo/edit?usp=sharing" rel="nofollow">https://docs.google.com/document/d/1KKZHZpKRFRBddEvjFc-au2LM...</a>
Sort of related, last night I managed to make Clang crash by feeding it a certain C++ program: <a href="https://i.imgur.com/r5MC2aK.png" rel="nofollow">https://i.imgur.com/r5MC2aK.png</a><p>It was very surprising that there was a way to get Clang to segfault. Should I report it somewhere?<p>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 a crash. I just have no idea whether to report it, or where.
I <i>LOVE</i> stuff like this. Reminds me of "OpenOffice does not print on Tuesdays" <a href="https://beza1e1.tuxen.de/lore/print_on_tuesday.html" rel="nofollow">https://beza1e1.tuxen.de/lore/print_on_tuesday.html</a>
Reproduced on Brave browser on Mac OSX.<p>Hypothesis from chatting about this with people nearby - somehow this string makes the grammar engine search space too large (that's the AI that predicts your next words) and it's running out of memory.
This reminds me of when Google claimed that the number one was copyrighted [1]<p>[1] <a href="https://www.pcmag.com/news/google-drive-flags-text-files-containing-1-as-a-copyright-infringement" rel="nofollow">https://www.pcmag.com/news/google-drive-flags-text-files-con...</a><p>I don't recall that the reason for that bug was ever explained. I wonder if the reason for this one will be.
Typing "And. And. And. And. And." did not reproduce the bug, but copy/paste the "And [...]" from the title of this post did.<p>EDIT: Ah, I had to reload the page, thank you child comments.
Reminds me of this episode from IT Crowd :-) <a href="https://www.youtube.com/watch?v=OqxLmLUT-qc" rel="nofollow">https://www.youtube.com/watch?v=OqxLmLUT-qc</a>
Reproduced in Safari on macOS Monterey.<p>"And. And. And. And." caused no problems.<p>"And. And. And. And. And. And." also crashes (5 "And."s is a substring, so makes sense).<p>I cannot imagine how this bug is occurring.
Perfect prank document to send to the team. I'm just hoping it holds up until the morning so everyone can join the fun and not just those of us with bad work time habits.
“And.” I wrote. “And. And. And. And.”<p>That was the part that led to the apocalypse.<p>This was not a coincidence, because nothing is ever a coincidence.
Only tangentially related, and not at all serious, but this reminded me of the Irish film "The Committments" (1991) in which a working class Dublin guy puts together a soul band. He's introduced to two promising musicians who are already in a band...<p>Jimmy: What do you call yourselves?<p>Derek: "And And And."<p>Jimmy: "And And fuckin' And?"<p>Derek : Well, Ray's thinking of putting an exclamation mark after the second "and." Says it'd look deadly on the posters.<p>Jimm: Psshh...<p>Outspan: You don't like it? You think it should go at the end?<p>Jimmy: I think it should go up his arse.<p>Outspan: Well, we're not married to it.
I've had emails crash gmail on my phone still to this day. Typically it's stuff like output logs. My guess is something to do with the repetitive lines, but who knows.
Google has responded:<p>> Dear Google Docs users, we are aware of the issue and working on a fix right now. Thank for surfacing this issue and sharing it with us. We will keep you posted!<p>> Deving<p>> Google Employee
I had an exam in image analysis once. There was a photo of a text "Sea and land".<p>The task was to "determine the cross ratio between sea and and and and and land".
Something I recently found out about is you can go to <a href="https://docs.new" rel="nofollow">https://docs.new</a> to create a new Google doc.
I can't get the bug to reproduce. But maybe someone else could try<p>Wouldn't the sentence 'I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign' have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips?
“And And! And.” was Outspan Foster’s band before joining “The Commitments”[0] and later The Frames (as Glen Hansard). The screenplay was written before gDocs.<p>[0] <a href="https://www.imdb.com/title/tt0101605/quotes/qt0310982" rel="nofollow">https://www.imdb.com/title/tt0101605/quotes/qt0310982</a>
I remember discovering that pasting a specific emoji to Google Slides causes the slide to become "poison". You could not view or edit it, the web UI would crash if you clicked on the slide. I discovered this by accident, but did not think much of it as I was able to work around by deleting the slide from the document overview.
I wonder if "James where John had had had had had had had had had had had a better effect on his teacher" does someone's grammar checker up in knots. Or any of the old standbys, like "Police police police police police police".
omg I tried to post a reply on that support page and it errored out saying "you need to be signed in ..." while I could literally see my sign in logo top right corner of the page.<p>fking google.<p>there are good [as well as technical humurous] comments on the page.
If I had to guess, I suspect this is due to some very weird edge case with their recently implemented grammar checker.<p>Doesn't appear to be an issue for the android app, but that might be a cache thing.
Reminds me of this old Star Trek chestnut:<p><a href="https://www.youtube.com/watch?v=4WRtqmHpLvg" rel="nofollow">https://www.youtube.com/watch?v=4WRtqmHpLvg</a>
James while John had had had had had had had had had had had a better effect on the teacher. (1)<p>Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo. (2)<p>[1] <a href="https://en.wikipedia.org/wiki/James_while_John_had_had_had_had_had_had_had_had_had_had_had_a_better_effect_on_the_teacher" rel="nofollow">https://en.wikipedia.org/wiki/James_while_John_had_had_had_h...</a><p>[2] <a href="https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo" rel="nofollow">https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal...</a>
It's been fixed.<p>> May 6, 2022 Update: We have fixed an issue in Docs related to repetitive use of the word ‘and.’ This fix should soon be in place for all customers.
An odd coincidence, I recall that pressing an operator button on an older HP calculator would also cause an error, because the stack was 4 levels deep.
Relatedly, I have a string of text that, when pasted into Windows 11's Notepad, consistently causes it to crash. I don't know who to report this to.
I’m willing to bet it’s related to this. Google docs is trying to guess something for autocomplete, similar to their gmail feature to complete your sentences.<p>Which means, on a privacy standpoint, whatever you’re writing and guessing, they are absolutely processing something.<p>We the user are the product, apparently. This is mildly creepy to me because, I do vent on google docs sometimes. And assume only I can read it..