{"id":37,"date":"2006-11-02T01:22:53","date_gmt":"2006-11-02T01:22:53","guid":{"rendered":"http:\/\/techa.nanosleep.org\/wp\/index.php\/2006\/11\/02\/evolution-is-da-logic-bomb\/"},"modified":"2019-08-23T04:29:39","modified_gmt":"2019-08-23T02:29:39","slug":"evolution-is-da-logic-bomb","status":"publish","type":"post","link":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/","title":{"rendered":"Evolution is da logic bomb"},"content":{"rendered":"<p>You know the story. Random crashes preventing you from reading your mail all morning. This time, though, there\u2019s a twist (and a moral).<\/p>\n<p>The twist is that instead of complaining on IRC &#8211; ok, I mean in <em>addition<\/em> to complaining on IRC &#8211; I actually ran the crashy bugger through valgrind, much like you would <a href=\"\/\/www.imdb.com\/title\/tt0103873\/\" rel=\"nofollow\">run a zombie head through a blender<\/a>. Sifting through the resulting goop provided me with enough information to file patches for <a href=\"\/\/bugzilla.gnome.org\/show_bug.cgi?id=369168\" rel=\"nofollow\">buffer overrun 1<\/a>, <a href=\"\/\/bugzilla.gnome.org\/show_bug.cgi?id=369259\" rel=\"nofollow\">buffer overrun 2<\/a> and <a href=\"\/\/bugzilla.gnome.org\/show_bug.cgi?id=369261\" rel=\"nofollow\">bug of the theoretical variety<\/a>. All three bugs have been around for a really long time (several years).<\/p>\n<p>As for the moral:<\/p>\n<p>1) <a href=\"http:\/\/valgrind.org\/\">Valgrind<\/a> works extremely well these days, even on large and complex programs like Evolution. It is nothing short of a masterpiece. It did not interfere with operation apart from the expected slowdown, and pinpointed the bug I was looking for (and then some) in a matter of minutes. It is highly recommended that programs be valground regularly with a \u201ctypical use\u201d regimen, even if they appear to work fine. At the very least, this should be on all maintainers\u2019 pre-release checklists.<\/p>\n<p>2) If you\u2019re a programmer, and a particular program is misbehaving for you, take the time to actually look for the bug. Valgrind makes it easy, and you\u2019ll find trivial bugs even in large and complex programs. So there\u2019s no reason to be intimidated. Even if you can\u2019t immediately say what\u2019s causing the problem, valgrind logs make for valuable bugzilla attachments.<\/p>\n<p>3) Valgrind\u2019s performance isn\u2019t too bad, but it\u2019s still the best excuse today for getting a faster computer. Start using it so you can justify the expense.<\/p>\n<p>4) With a little time investment, <a href=\"\/\/www.gnome.org\/projects\/evolution\/\">Evolution<\/a> is totally salvageable. If you were thinking of giving up on it, don\u2019t. Version 2.8 has a tri-pane mail view and global search, making it an awesome mailer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You know the story. Random crashes preventing you from reading your mail all morning. This time, though, there\u2019s a twist (and a moral). The twist is that instead of complaining on IRC &#8211; ok, I mean in addition to complaining &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-gnome"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Evolution is da logic bomb - Et tu, Cthulhu<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Evolution is da logic bomb - Et tu, Cthulhu\" \/>\n<meta property=\"og:description\" content=\"You know the story. Random crashes preventing you from reading your mail all morning. This time, though, there\u2019s a twist (and a moral). The twist is that instead of complaining on IRC &#8211; ok, I mean in addition to complaining &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/\" \/>\n<meta property=\"og:site_name\" content=\"Et tu, Cthulhu\" \/>\n<meta property=\"article:published_time\" content=\"2006-11-02T01:22:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-23T02:29:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hpjansson.org\/blag\/wp-content\/uploads\/2019\/01\/site-icon.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Hans Petter Jansson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hpj\" \/>\n<meta name=\"twitter:site\" content=\"@hpj\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hans Petter Jansson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/\"},\"author\":{\"name\":\"Hans Petter Jansson\",\"@id\":\"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c\"},\"headline\":\"Evolution is da logic bomb\",\"datePublished\":\"2006-11-02T01:22:53+00:00\",\"dateModified\":\"2019-08-23T02:29:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/\"},\"wordCount\":318,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c\"},\"articleSection\":[\"GNOME\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/\",\"url\":\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/\",\"name\":\"Evolution is da logic bomb - Et tu, Cthulhu\",\"isPartOf\":{\"@id\":\"https:\/\/hpjansson.org\/blag\/#website\"},\"datePublished\":\"2006-11-02T01:22:53+00:00\",\"dateModified\":\"2019-08-23T02:29:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hpjansson.org\/blag\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Evolution is da logic bomb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hpjansson.org\/blag\/#website\",\"url\":\"https:\/\/hpjansson.org\/blag\/\",\"name\":\"Et tu, Cthulhu\",\"description\":\"Personal blag of Hans Petter Jansson: Fun with computers edition\",\"publisher\":{\"@id\":\"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hpjansson.org\/blag\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c\",\"name\":\"Hans Petter Jansson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/33402e5005b34e5ee4ba4f9fd0c5d754f4505d5fb455736e5c585676cb7f2075?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/33402e5005b34e5ee4ba4f9fd0c5d754f4505d5fb455736e5c585676cb7f2075?s=96&d=retro&r=g\",\"caption\":\"Hans Petter Jansson\"},\"logo\":{\"@id\":\"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/hpjansson.org\/\",\"https:\/\/x.com\/hpj\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Evolution is da logic bomb - Et tu, Cthulhu","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/","og_locale":"en_US","og_type":"article","og_title":"Evolution is da logic bomb - Et tu, Cthulhu","og_description":"You know the story. Random crashes preventing you from reading your mail all morning. This time, though, there\u2019s a twist (and a moral). The twist is that instead of complaining on IRC &#8211; ok, I mean in addition to complaining &hellip;","og_url":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/","og_site_name":"Et tu, Cthulhu","article_published_time":"2006-11-02T01:22:53+00:00","article_modified_time":"2019-08-23T02:29:39+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/hpjansson.org\/blag\/wp-content\/uploads\/2019\/01\/site-icon.png","type":"image\/png"}],"author":"Hans Petter Jansson","twitter_card":"summary_large_image","twitter_creator":"@hpj","twitter_site":"@hpj","twitter_misc":{"Written by":"Hans Petter Jansson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#article","isPartOf":{"@id":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/"},"author":{"name":"Hans Petter Jansson","@id":"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c"},"headline":"Evolution is da logic bomb","datePublished":"2006-11-02T01:22:53+00:00","dateModified":"2019-08-23T02:29:39+00:00","mainEntityOfPage":{"@id":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/"},"wordCount":318,"commentCount":0,"publisher":{"@id":"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c"},"articleSection":["GNOME"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/","url":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/","name":"Evolution is da logic bomb - Et tu, Cthulhu","isPartOf":{"@id":"https:\/\/hpjansson.org\/blag\/#website"},"datePublished":"2006-11-02T01:22:53+00:00","dateModified":"2019-08-23T02:29:39+00:00","breadcrumb":{"@id":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hpjansson.org\/blag\/2006\/11\/02\/evolution-is-da-logic-bomb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hpjansson.org\/blag\/"},{"@type":"ListItem","position":2,"name":"Evolution is da logic bomb"}]},{"@type":"WebSite","@id":"https:\/\/hpjansson.org\/blag\/#website","url":"https:\/\/hpjansson.org\/blag\/","name":"Et tu, Cthulhu","description":"Personal blag of Hans Petter Jansson: Fun with computers edition","publisher":{"@id":"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hpjansson.org\/blag\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/a86f9dc39a36a8184d6e6f9a759f235c","name":"Hans Petter Jansson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/33402e5005b34e5ee4ba4f9fd0c5d754f4505d5fb455736e5c585676cb7f2075?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/33402e5005b34e5ee4ba4f9fd0c5d754f4505d5fb455736e5c585676cb7f2075?s=96&d=retro&r=g","caption":"Hans Petter Jansson"},"logo":{"@id":"https:\/\/hpjansson.org\/blag\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/hpjansson.org\/","https:\/\/x.com\/hpj"]}]}},"_links":{"self":[{"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":2,"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":530,"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/posts\/37\/revisions\/530"}],"wp:attachment":[{"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hpjansson.org\/blag\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}