TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1473 点作者 patneedham大约 3 年前

90 条评论

kklisura大约 3 年前
``` TypeError: Cannot read properties of null (reading &#x27;C&#x27;) at Ccf (<a href="https:&#x2F;&#x2F;docs.google.com&#x2F;static&#x2F;document&#x2F;client&#x2F;js&#x2F;157553674-client_js_prod_kix_app.js:1183:846" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;static&#x2F;document&#x2F;client&#x2F;js&#x2F;157553674-...</a>) at Bcf (<a href="https:&#x2F;&#x2F;docs.google.com&#x2F;static&#x2F;document&#x2F;client&#x2F;js&#x2F;157553674-client_js_prod_kix_app.js:1183:338" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;static&#x2F;document&#x2F;client&#x2F;js&#x2F;157553674-...</a>) ```<p>Has something to do with grammar. The document does not fail when `Show grammar suggestion` is turned off.
评论 #31278617 未加载
评论 #31278826 未加载
评论 #31278525 未加载
评论 #31278335 未加载
评论 #31282245 未加载
评论 #31278748 未加载
评论 #31278496 未加载
评论 #31278302 未加载
评论 #31284869 未加载
评论 #31281921 未加载
评论 #31278459 未加载
AccountAccount1大约 3 年前
I find it very poetic that this crash was triggered by a poem, here&#x27;s the poem:<p>&gt; 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>&gt; 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:&#x2F;&#x2F;durationandthebodyelizacallahan.cargo.site&#x2F;" rel="nofollow">https:&#x2F;&#x2F;durationandthebodyelizacallahan.cargo.site&#x2F;</a>
评论 #31278894 未加载
评论 #31279641 未加载
AlexMuir大约 3 年前
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 &quot;Dog and Partridge&quot; 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.
评论 #31279102 未加载
评论 #31279537 未加载
评论 #31281651 未加载
评论 #31282536 未加载
评论 #31284856 未加载
评论 #31279895 未加载
评论 #31279062 未加载
评论 #31282084 未加载
评论 #31278907 未加载
评论 #31280078 未加载
评论 #31283161 未加载
评论 #31279124 未加载
评论 #31281387 未加载
patneedham大约 3 年前
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:&#x2F;&#x2F;durationandthebodyelizacallahan.cargo.site&#x2F;" rel="nofollow">https:&#x2F;&#x2F;durationandthebodyelizacallahan.cargo.site&#x2F;</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
评论 #31280680 未加载
评论 #31283938 未加载
评论 #31280023 未加载
评论 #31280076 未加载
oblosys大约 3 年前
Here&#x27;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:&#x2F;&#x2F;1drv.ms&#x2F;w&#x2F;s!AgYiBqBjIZZpfkcvO9jnOel9T2o?e=tFA4wp" rel="nofollow">https:&#x2F;&#x2F;1drv.ms&#x2F;w&#x2F;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.
评论 #31278678 未加载
评论 #31278500 未加载
评论 #31278611 未加载
blueberrychpstx大约 3 年前
When I come across posts like these, I just wonder, &quot;How in the world did the user discover this in the first place?!&quot;<p>Let&#x27;s place bets:<p>A) The user just let autocomplete &quot;take it away&quot; (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.
评论 #31278184 未加载
评论 #31278312 未加载
评论 #31278717 未加载
评论 #31278603 未加载
评论 #31278228 未加载
评论 #31278366 未加载
评论 #31278531 未加载
评论 #31278242 未加载
评论 #31278323 未加载
评论 #31278306 未加载
评论 #31278187 未加载
评论 #31278471 未加载
评论 #31281422 未加载
Patrol8394大约 3 年前
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 &quot;*&quot; in there.<p>The query complexity exploded, ES ran out of memory, and the index got corrupted and I don&#x27;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 :)
评论 #31278540 未加载
评论 #31282295 未加载
thekiptxt大约 3 年前
&gt; Google Docs uses a &quot;Markov Chain&quot; to predict the next word for autocompletion purposes. In this case, of course, since we&#x27;ve already written &quot;And&quot; 5 times, the only logical next word would be &quot;And&quot;, as showed in Djikstra&#x27;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?
评论 #31279248 未加载
评论 #31279255 未加载
评论 #31281335 未加载
评论 #31279283 未加载
评论 #31279807 未加载
评论 #31279253 未加载
评论 #31279264 未加载
ayashko大约 3 年前
Reminds me of an old joke;<p>– I bet you a beer you can&#x27;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.
评论 #31280859 未加载
aliljet大约 3 年前
And here&#x27;s a link to a document where you can see the bug in action. <a href="https:&#x2F;&#x2F;docs.google.com&#x2F;document&#x2F;d&#x2F;1KKZHZpKRFRBddEvjFc-au2LMGdX2M1VVKTWpax67tNo&#x2F;edit?usp=sharing" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;document&#x2F;d&#x2F;1KKZHZpKRFRBddEvjFc-au2LM...</a>
评论 #31278343 未加载
评论 #31278236 未加载
评论 #31285363 未加载
评论 #31278251 未加载
sillysaurusx大约 3 年前
Sort of related, last night I managed to make Clang crash by feeding it a certain C++ program: <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;r5MC2aK.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;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&#x27;s not quite as simple as &quot;And. And...&quot;, but it&#x27;s similar in that certain input text causes a crash. I just have no idea whether to report it, or where.
评论 #31278250 未加载
评论 #31278341 未加载
评论 #31278402 未加载
评论 #31278393 未加载
评论 #31278269 未加载
评论 #31278270 未加载
loxias大约 3 年前
I <i>LOVE</i> stuff like this. Reminds me of &quot;OpenOffice does not print on Tuesdays&quot; <a href="https:&#x2F;&#x2F;beza1e1.tuxen.de&#x2F;lore&#x2F;print_on_tuesday.html" rel="nofollow">https:&#x2F;&#x2F;beza1e1.tuxen.de&#x2F;lore&#x2F;print_on_tuesday.html</a>
评论 #31283173 未加载
评论 #31282495 未加载
评论 #31282968 未加载
magneticnorth大约 3 年前
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&#x27;s the AI that predicts your next words) and it&#x27;s running out of memory.
truly大约 3 年前
It seems to be fixed now. It would be fascinating to read an analysis of what exactly leads to the bug.
评论 #31282489 未加载
Ansil849大约 3 年前
This reminds me of when Google claimed that the number one was copyrighted [1]<p>[1] <a href="https:&#x2F;&#x2F;www.pcmag.com&#x2F;news&#x2F;google-drive-flags-text-files-containing-1-as-a-copyright-infringement" rel="nofollow">https:&#x2F;&#x2F;www.pcmag.com&#x2F;news&#x2F;google-drive-flags-text-files-con...</a><p>I don&#x27;t recall that the reason for that bug was ever explained. I wonder if the reason for this one will be.
queuebert大约 3 年前
I tried this on my typewriter, and nothing happened.
评论 #31280526 未加载
jrd79大约 3 年前
That is an amazing bug.
评论 #31278116 未加载
jonnycomputer大约 3 年前
Favorite comment on that page: &quot;Google is a small indie company btw&quot;<p>So, more seriously, what might cause this (mis)behavior?
Sohcahtoa82大约 3 年前
Typing &quot;And. And. And. And. And.&quot; did not reproduce the bug, but copy&#x2F;paste the &quot;And [...]&quot; from the title of this post did.<p>EDIT: Ah, I had to reload the page, thank you child comments.
评论 #31278293 未加载
评论 #31278287 未加载
daniel_iversen大约 3 年前
Reminds me of this episode from IT Crowd :-) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OqxLmLUT-qc" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OqxLmLUT-qc</a>
valenaut大约 3 年前
Reproduced in Safari on macOS Monterey.<p>&quot;And. And. And. And.&quot; caused no problems.<p>&quot;And. And. And. And. And. And.&quot; also crashes (5 &quot;And.&quot;s is a substring, so makes sense).<p>I cannot imagine how this bug is occurring.
评论 #31278194 未加载
评论 #31278148 未加载
Normal_gaussian大约 3 年前
Perfect prank document to send to the team. I&#x27;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.
mikotodomo大约 3 年前
OMG I showed this to my friends and now someone in my class keeps adding it to our documents.
seangrogg大约 3 年前
“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.
评论 #31282261 未加载
croddin大约 3 年前
&quot;Also. Also. Also. Also. Also.\n&quot; also breaks it.
metalliqaz大约 3 年前
The following also triggers the bug:<p>Also. Also. Also. Also. Also.
raffraffraff大约 3 年前
Only tangentially related, and not at all serious, but this reminded me of the Irish film &quot;The Committments&quot; (1991) in which a working class Dublin guy puts together a soul band. He&#x27;s introduced to two promising musicians who are already in a band...<p>Jimmy: What do you call yourselves?<p>Derek: &quot;And And And.&quot;<p>Jimmy: &quot;And And fuckin&#x27; And?&quot;<p>Derek : Well, Ray&#x27;s thinking of putting an exclamation mark after the second &quot;and.&quot; Says it&#x27;d look deadly on the posters.<p>Jimm: Psshh...<p>Outspan: You don&#x27;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&#x27;re not married to it.
throw7大约 3 年前
I&#x27;ve had emails crash gmail on my phone still to this day. Typically it&#x27;s stuff like output logs. My guess is something to do with the repetitive lines, but who knows.
herpderperator大约 3 年前
Google has responded:<p>&gt; 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>&gt; Deving<p>&gt; Google Employee
petters大约 3 年前
I had an exam in image analysis once. There was a photo of a text &quot;Sea and land&quot;.<p>The task was to &quot;determine the cross ratio between sea and and and and and land&quot;.
calebegg大约 3 年前
Something I recently found out about is you can go to <a href="https:&#x2F;&#x2F;docs.new" rel="nofollow">https:&#x2F;&#x2F;docs.new</a> to create a new Google doc.
ronald_raygun大约 3 年前
I can&#x27;t get the bug to reproduce. But maybe someone else could try<p>Wouldn&#x27;t the sentence &#x27;I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign&#x27; 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?
评论 #31278910 未加载
smcnally大约 3 年前
“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:&#x2F;&#x2F;www.imdb.com&#x2F;title&#x2F;tt0101605&#x2F;quotes&#x2F;qt0310982" rel="nofollow">https:&#x2F;&#x2F;www.imdb.com&#x2F;title&#x2F;tt0101605&#x2F;quotes&#x2F;qt0310982</a>
vesinisa大约 3 年前
I remember discovering that pasting a specific emoji to Google Slides causes the slide to become &quot;poison&quot;. 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.
westonjackson大约 3 年前
Disable spelling and grammar checks in a separate doc and return to the broken doc is a possible workaround
bitwize大约 3 年前
I wonder if &quot;James where John had had had had had had had had had had had a better effect on his teacher&quot; does someone&#x27;s grammar checker up in knots. Or any of the old standbys, like &quot;Police police police police police police&quot;.
评论 #31278708 未加载
rikeanimer大约 3 年前
omg I tried to post a reply on that support page and it errored out saying &quot;you need to be signed in ...&quot; 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.
croddin大约 3 年前
&quot;Anyway. Anyway. Anyway, Anyway. Anyway.\n&quot; will break it too. Anyway...
评论 #31278580 未加载
LordDragonfang大约 3 年前
If I had to guess, I suspect this is due to some very weird edge case with their recently implemented grammar checker.<p>Doesn&#x27;t appear to be an issue for the android app, but that might be a cache thing.
dreamcompiler大约 3 年前
Reminds me of this old Star Trek chestnut:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4WRtqmHpLvg" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4WRtqmHpLvg</a>
nofunsir大约 3 年前
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:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;James_while_John_had_had_had_had_had_had_had_had_had_had_had_a_better_effect_on_the_teacher" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;James_while_John_had_had_had_h...</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Buffalo_buffalo_Buffalo_buffal...</a>
blatherard大约 3 年前
It&#x27;s been fixed.<p>&gt; 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.
评论 #31286834 未加载
JoeAltmaier大约 3 年前
Who. Who. Who. Who. Who.<p>However. However. However. However. However.<p>Why. Why. Why. Why. Why.
评论 #31281621 未加载
analog31大约 3 年前
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.
rossdavidh大约 3 年前
Looks like HN is able to handle it just fine, though. :)
strictfp大约 3 年前
And?
评论 #31278173 未加载
X6S1x6Okd1st大约 3 年前
Replicated on my end on OSX &amp; firefox
评论 #31278131 未加载
评论 #31278223 未加载
selimthegrim大约 3 年前
Heaven brings forth innumerable things to nurture man. Man has nothing good with which to recompense Heaven.
pipeline_peak大约 3 年前
I couldn&#x27;t reproduce the bug. Just five and&#x27;s with periods and spaces in the body of a document?
tmalsburg2大约 3 年前
Can&#x27;t replicate this bug in current Firefox on Ubuntu 21.10. They&#x27;ve probably fixed it.
iagocds大约 3 年前
The Android App does not crash, but if i try to open the file at the web version it crashes
graderjs大约 3 年前
What if you put it in a spreadsheet cell, calendar description, drawing text or email?
srinathkrishna大约 3 年前
What&#x27;s pretty annoying is that users are providing free QA for Google!
edgyquant大约 3 年前
This doesn’t work on the iOS app, I’ve pasted it and typed it manually
endisneigh大约 3 年前
I wonder if this is crashing due to some auto completion shenanigans
kabes大约 3 年前
Is this fixed? Can&#x27;t seem to reproduce this (chrome on ubuntu)
Nitramp大约 3 年前
I think the engine is just offended by your terrible writing style.
likortera大约 3 年前
Wonder if this was discovered because of a Mars Attack ET using it.
ineedasername大约 3 年前
Buffalo. Buffalo. Buffalo. Buffalo. Buffalo. doesn&#x27;t crash it
ricardobayes大约 3 年前
I&#x27;m glad I was here when this historical event happened.
fortran77大约 3 年前
It crashes for me in Chrome on windows 11, but not Edge.
yashg大约 3 年前
Nothing is happening. Tried in both Firefox and Chrome.
bufferoverflow大约 3 年前
I&#x27;m surprised Google didn&#x27;t fuzz Google Docs.
goody71大约 3 年前
Will Pat Needham get any Google Bux for finding this?
mintplant大约 3 年前
Relatedly, I have a string of text that, when pasted into Windows 11&#x27;s Notepad, consistently causes it to crash. I don&#x27;t know who to report this to.
评论 #31279860 未加载
评论 #31280900 未加载
mc4ndr3大约 3 年前
Grammar check problems strike again.
mxuribe大约 3 年前
Wow, this is pretty silly, odd! :-)
draxil大约 3 年前
Sounds like a feature, not a bug.
eek2121大约 3 年前
Guess they already fixed it.
dr_dshiv大约 3 年前
Whhhhhy
评论 #31278248 未加载
iamyatin大约 3 年前
6th May, with the &quot;And. And. ..&quot; crash found on Google Docs Skynet rose to the surface.
shreyansh26大约 3 年前
Reproduced on Edge on Windows 11 as well. What a bug! Really need to know the root cause of this.
tnli大约 3 年前
Little Andy we call him.
dropit_sphere大约 3 年前
lolwhat, replicated w&#x2F;Linux and Chrome just now.
captaincaveman大约 3 年前
has anyone tried &quot;Or. Or. Or. Or. Or.&quot;?
评论 #31278229 未加载
评论 #31278249 未加载
okaydeveloper大约 3 年前
The engineer at Google will be sweating now. The secret is out.
kodeninja大约 3 年前
Big Andian bug.
piemadd大约 3 年前
sounds like a markov chain going berserk
skerit大约 3 年前
That was fun!
twism大约 3 年前
Repro&#x27;d
whoevercares大约 3 年前
someone cut a sev2
wardedVibe大约 3 年前
didn&#x27;t happen in firefox on Ubuntu
mark_prutskyi大约 3 年前
lol
fedeb95大约 3 年前
lol
zciwor大约 3 年前
Will 100% be pasting this into a coworker&#x27;s Google Doc with a white font color.
评论 #31278196 未加载
评论 #31278441 未加载
评论 #31278756 未加载
评论 #31278340 未加载
评论 #31278166 未加载
评论 #31278382 未加载
munk-a大约 3 年前
And thus has Eliza Callahan suddenly found themselves a poet with a lot more name recognition among tech workers.
评论 #31289954 未加载
评论 #31279031 未加载
bspear大约 3 年前
How random. Can&#x27;t wait to try this
sharmavinu0024大约 3 年前
good tool for everyone.
fareesh大约 3 年前
Did this bug emerge after their Orwell word policing update?
sam1r大约 3 年前
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..
评论 #31278384 未加载