{"id":638,"date":"2006-04-05T18:07:39","date_gmt":"2006-04-05T08:07:39","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/2006\/04\/05\/finding-the-cause-of-a-bug-lesson-1\/"},"modified":"2013-12-18T08:44:55","modified_gmt":"2013-12-17T22:44:55","slug":"finding-the-cause-of-a-bug-lesson-1","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2006\/04\/05\/finding-the-cause-of-a-bug-lesson-1\/","title":{"rendered":"Finding the cause of a bug Lesson 1"},"content":{"rendered":"<p>Assume nothing. Your assumptions are wrong, that&#8217;s why there&#8217;s a bug silly!<\/p>\n<p>If valgrind had a time machine function it&#8217;d be totally awesome. But it doesn&#8217;t so currently extra work and thinking is required. doh!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assume nothing. Your assumptions are wrong, that&#8217;s why there&#8217;s a bug silly! If valgrind had a time machine function it&#8217;d be totally awesome. But it doesn&#8217;t so currently extra work and thinking is required. doh!<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[14],"tags":[],"class_list":["post-638","post","type-post","status-publish","format-standard","hentry","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-ai","jetpack-related-posts":[{"id":2418,"url":"https:\/\/www.flamingspork.com\/blog\/2011\/11\/21\/information-on-bug12704861-which-doesnt-exist-in-any-public-bug-tracker\/","url_meta":{"origin":638,"position":0},"title":"Information on Bug#12704861 (which doesn&#8217;t exist in any public bug tracker)","author":"Stewart Smith","date":"2011-11-21","format":false,"excerpt":"Some of you may be aware that MySQL is increasingly using an Oracle-internal bug tracker. You can see these large bug numbers mentioned alongside smaller public bug numbers in recent MySQL release notes. If you're particularly unlucky, you \u00c2\u00a0just get a big Oracle-internal bug number. For a recently fixed bug,\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2083,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/07\/22\/a-tale-of-a-bug\/","url_meta":{"origin":638,"position":1},"title":"A tale of a bug&#8230;","author":"Stewart Smith","date":"2010-07-22","format":false,"excerpt":"So I sometimes get asked if we funnel back bug reports or patches back to MySQL from Drizzle. Also, MariaDB adds some interest here as they are a lot closer (and indeed compatible with) to MySQL. With Drizzle, we have deviated really quite heavily from the MySQL codebase. There are\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":720,"url":"https:\/\/www.flamingspork.com\/blog\/2006\/06\/30\/mysql-bug-deskbar-plugin\/","url_meta":{"origin":638,"position":2},"title":"MySQL Bug Deskbar plugin","author":"Stewart Smith","date":"2006-06-30","format":false,"excerpt":"Over at my junkcode section, I have mysqlbug.py which is a plugin for the GNOME deskbar panel applet. If you've used Quicksilver on MacOSX, then you know the kind of app that Deskbar Applet is. This one lets you type \"bug 1234\" and be given the action of \"open mysql\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2101,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/08\/05\/update-on-a-tale-of-a-bug\/","url_meta":{"origin":638,"position":3},"title":"Update on &#8220;A Tale Of a Bug&#8221;","author":"Stewart Smith","date":"2010-08-05","format":false,"excerpt":"The bug I talked about a little while ago has now also had the fix I wrote committed to the mysql-trunk 5.5.6-m3 repository.","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1217,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/09\/19\/visual-studio-2008-unreferenced-local-variable-bug\/","url_meta":{"origin":638,"position":4},"title":"Visual Studio 2008 unreferenced local variable bug","author":"Stewart Smith","date":"2008-09-19","format":false,"excerpt":"screenshot 'cause typing is for wusses UPDATE: not actually VS bug. Nasty macro defining strtok_r to strtok on Win32. ouch.","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2008\/09\/vs_bug.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1187,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/08\/28\/when-the-problem-is-likely-a-bug-in-the-linker\/","url_meta":{"origin":638,"position":5},"title":"when the problem is likely a bug in the linker&#8230;","author":"Stewart Smith","date":"2008-08-28","format":false,"excerpt":"Windows FAIL. It has been suggested the current thing I'm trying to fix is actually a bug in the Microsoft linker.... and I'm quite willing to believe that. I wonder if I can expense rehab if this Windows port leads to a drinking problem....","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=638"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/638\/revisions"}],"predecessor-version":[{"id":3567,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/638\/revisions\/3567"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}