Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One of my proudest moments was finding a bug in SQLite where a corrupted index caused a select statement to segfault Firefox.

I jumped through a lot of hoops to get to the point where I got a backtrace that showed me the SQL statement of a corrupted places.sqlite. I then loaded SQLite on the data file, ran the statement and reproduced the segfault. One of their lead devs then got in contact with me, grabbed the data file and fixed the issue.

I suspect that not only did my diagnosis lead to a fix for a LOT of Firefox crashes, but it stopped a lot of frustrating crashes on things like iPhones, etc :-)

I may not have done the fix, but I took the time to reproduce the problem. It felt damn good :-)

P.S. in case anyone is interested, the bug is https://bugzilla.mozilla.org/show_bug.cgi?id=581946 on Mozilla, and at SQLite it's at http://www.sqlite.org/src/ci/83395a3d24



Thank you for taking the time to help out with a project that nearly everyone uses, even if they don't know it.


Good Job. That is a good one. I'd be proud of that too.


Curious: why was there no test checked in at the same time as the bug fix?


congrats on catching that bug. I use sqlite for a ton of stuff. I just used it at work a few days ago. It has so many use cases where you need a lite query language and not an rdbms.


I agree with your sentiment, but SQLite is a RDBMS. It's just very lightweight.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: