frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

RipGrep musl binaries occasionally segfault during very-large searches

https://github.com/BurntSushi/ripgrep/issues/3494
63•throwaway2037•1h ago

Comments

wild_pointer•1h ago
wow, everything is broken lol
hyperpape•1h ago
The analysis of the kernel bug may be a better thing to link to: https://github.com/dfoxfranke/ripgrep-3494-analysis.
yawndex•1h ago
soulless unreadable AI slop
hoppp•1h ago
I can read it but not sure if worth spending energy on it.

It doesn't make sense for the reader to spend more energy than the writer spent on creating it.

wild_pointer•1h ago
PoC||GTFO, if it reproduces, it's valuable
da_grift_shift•52m ago

    Headline: The crash is real and reproducible.
...many paragraphs later...

https://github.com/dfoxfranke/ripgrep-3494-analysis#6-cross-...

    produced (machine from original report)
    not reproduced
    not reproduced
    not reproduced
    not reproduced
Heisenbug? User environment factors? This is slop-and-dash, Brandolini's law (bullshit asymmetry).
smallerize•51m ago
Then post whatever notes were fed into the AI instead. The verbosity and self-congratulating add negative value.
im3w1l•48m ago
What will you do when the prompt was "Figure out the bug and write a report for me". Not saying it was in this particular case, but I think at least in other cases, it will be.
wild_pointer•46m ago
That I agree with (not instead, in addition)
inigyou•28m ago
rfgplk•54m ago
Why is it unreadable? I actually find LLM bug reports/breakdowns to be far more detailed and concise that classical human written ones. If you read the linked repo it clearly goes it depth where the bug was found, how to reproduce it (and in depth). Most disclosures that are human written don't do this at all, they barely even tell you _how_ to reproduce the bug. Just look at the "3.3 The self-store tear", the LLM clearly describes exactly what went wrong, so you can verify it by hand.
skydhash•40m ago
Because any writing needs a core intent they need to convey, which you can summarize down to according to the audience and why it should be important to them. Kinda like the same idea of elevator pitches, “explain like I’m five” and tactical reports when there’s a time constraints.

You got none of that here. It’s just realms of text.

rfgplk•34m ago
Maybe the person writing the report isn't an expert in this domain or doesn't have the time to commit to it? From my point of view as long as the information is accurate and reproducible, it's valuable.
mi_lk•31m ago
Then where’s the lie in “soulless AI slop”?
applfanboysbgon•23m ago
> From my point of view as long as the information is accurate

That's the trillion-dollar catch, isn't it. LLMs love to write 30 paragraphs about some plausibly-correct-sounding explanation that is just as likely to be completely fucking wrong as it is accurate. The bug might be real, but that doesn't mean this analysis is accurate, and trying to figure out where the LLM went off the rails can be a nightmare. If you can actually understand the bug, it doesn't take 30 paragraphs to explain it. I would throw this bug report into my junk bin if I were on the receiving end of it, and I say that as someone who will spend days troubleshooting any issue a user will help me diagnose even if it only happens on their machine.

anorwell•51m ago
I had the opposite reaction. Clear, detailed, well-organized. Pretty close to the ideal writeup.
amluto•41m ago
Nice sleuthing, nonsense explanation. An extra TLB flush is never an error. (The CPU is free to flush whenever it feels like doing so.) The error seems to be that somehow a zero-page PTE was present when it shouldn’t have been.

This sounds to me like either (a) a complex race involving a CPU migration at an awkward time or (b) a bug in the zap path transiently exposing wrong PTEs.

Also, I don’t think the zero page has pfn zero.

If I had to throw a dart, I would guess that direct page table zapping is allowing a CPU to read through a higher-level-paging-structure cached entry to a table that has been freed and reused. Yuck. I’ve debugged one of these before.

inigyou•29m ago
The explanation is obviously written by an AI agent.
Retr0id•9m ago
The part that doesn't make sense to me is that trying to read through a zeroed PTE should be an immediate segfault, not something that reads back zeroes.

I think the broad strokes are that, due to bad locking in the kernel, mmap() returns a VA that a concurrent munmap() is still in the middle of unmapping. The specifics beyond that seem murky/speculative/inconsistent.

Alternatively, it could even be a hardware bug!

fwlr•9m ago

    The overflow would still overflow; the use-after-free would still use after free; a musl mask race would still race. 
Hilarious. Apart from the computer poetry, the conclusion seems to be “it’s something in Linux 7.0 + musl 1.2.5”, although the only reproduction is still on the same physical Threadripper CPU and only sometimes when heavily exercised, so it hasn’t really ruled out a hardware issue.
sligor•58m ago
So, why the bug triggers only with muslc and not other libc ?
They have a PoC, we're arguing about the LLM-generated slop explanation of the PoC.
agumonkey•52m ago
> It doesn't make sense for the reader to spend more energy than the writer spent on creating it.

Great way to summarize cultural "economics"

Couldn't put the words on this pattern but sometimes all I care about is that someone cared about.

serf•27m ago
energy might be the wrong metric, plenty of energy was wasted spinning up that LLM.

RipGrep musl binaries occasionally segfault during very-large searches

https://github.com/BurntSushi/ripgrep/issues/3494
66•throwaway2037•1h ago•24 comments

Elevators

https://john.fun/elevators
1420•Jrh0203•22h ago•345 comments

Google kills Earth AI generator after one day

https://twitter.com/newsfromgoogle/status/2083249962150760610
39•BlueBerry2001•47m ago•36 comments

Flint: A Visualization Language for the AI Era

https://microsoft.github.io/flint-chart/
164•vinhnx•11h ago•57 comments

Manual: •.,:;?·

https://type.today/en/journal/dots
41•behnamoh•2d ago•3 comments

qm – Multiplayer agent harness for work

https://github.com/yc-software/qm
600•tosh•19h ago•129 comments

Solid Queue 1.6.0 now supports fiber workers

https://github.com/rails/solid_queue/releases/tag/v1.6.0
39•earcar•6h ago•8 comments

A tiny holdout building in the middle of Macy’s is back in view

https://ephemeralnewyork.wordpress.com/2026/07/27/hidden-by-billboards-for-over-100-years-the-tin...
87•donohoe•3d ago•16 comments

How to Do Great Work (2023)

https://paulgraham.com/greatwork.html
58•tosh•5h ago•38 comments

Kontigo (YC S24) Is Hiring

https://www.ycombinator.com/companies/kontigo/jobs/xAo6tMt-founding-engineer
1•jecastillof•1h ago

How to Exist

https://www.raptitude.com/2026/07/how-to-exist/
269•walterbell•13h ago•152 comments

The development pipeline is a production system

https://sundry.jerryorr.com/2026/07/31/development-pipeline-is-a-production-system
114•firefoxd•10h ago•50 comments

G'mic 4.0: Squaring the Pixel, Easier

https://gmic.eu/gmic40/
47•dtschump•3d ago•2 comments

Software for One

https://www.ajwaxman.com/writing/software-for-one
153•awaxman11•3d ago•145 comments

Run Kimi K3 using 29 GB of RAM at 0.50 tok/s

https://github.com/sqliteai/waste
276•marcobambini•23h ago•120 comments

The Absurdity of Albert Camus

https://www.historytoday.com/archive/portrait-author-historian/absurdity-albert-camus
151•apollinaire•1d ago•67 comments

RamenHaus

https://ramen.haus/
129•oler•5h ago•74 comments

The First Idempotency Key

https://hatchet.run/blog/first-idempotency-key
10•abelanger•4d ago•2 comments

Attention Decode on AMD MI450 GPUs: A Gluon Kernel Optimization Guide

https://rocm.blogs.amd.com/software-tools-optimization/gluon-attention-decode-mi450/README.html
51•matt_d•4d ago•5 comments

June in Servo: real world compat, media queries, SharedWorker, and more

https://servo.org/blog/2026/07/31/june-in-servo/
171•iamnothere•19h ago•51 comments

Progressive Web Components

https://arielsalminen.com/2026/progressive-web-components/
167•hosteur•1d ago•38 comments

Getting 25 Gbps Thunderbolt Ethernet on My Mac Studio

https://www.jeffgeerling.com/blog/2026/getting-25g-ethernet-mac-thunderbolt/
203•speckx•21h ago•103 comments

Ten advances in mathematics and theoretical computer science

https://openai.com/index/ten-advances-in-mathematics/
200•milkshakes•6h ago•150 comments

Increasing the lifespan of a bulb makes it worse in every other way

https://maurycyz.com/misc/tungsten/
120•tonyg•1d ago•126 comments

Big Food vs. the People

https://www.lighthousereports.com/investigation/big-food-vs-the-people/
243•jruohonen•21h ago•151 comments

Morten Linderud resigning from Arch Linux development team

https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/2AX2BCJ3EQX7...
16•datakan•1h ago•2 comments

Long Range Wi-Fi – Pushing 2.4 GHz Wi-Fi to the limits (2019)

https://www.phidgets.com/?view=articles&article=LongRangeWifi
69•rzk•3d ago•36 comments

Ten Ways NAS Is Getting Enshitified

https://nascompares.com/2026/07/31/the-10-ways-nas-is-getting-enshitified/
137•giuliomagnifico•8h ago•128 comments

The most official water costs $120k a gallon

https://signoregalilei.com/2026/07/26/the-most-official-water-costs-120000-a-gallon/
208•surprisetalk•22h ago•157 comments

Golang proposal: container/: generic collection types

https://github.com/golang/go/issues/80590
167•jabits•19h ago•142 comments