{"id":1390,"date":"2009-04-27T17:07:32","date_gmt":"2009-04-28T00:07:32","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=1390"},"modified":"2009-04-27T17:07:32","modified_gmt":"2009-04-28T00:07:32","slug":"progress-on-those-crashers","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/","title":{"rendered":"Progress On Those Crashers"},"content":{"rendered":"<p>Last December, I set about on the <a href=\"http:\/\/multimedia.cx\/eggs\/designing-a-download-strategy\/\">task of downloading<\/a> and <a href=\"http:\/\/multimedia.cx\/eggs\/processing-those-crashers\/\">testing a huge number of files<\/a> that were known, at one point, the crash <a href=\"http:\/\/ffmpeg.org\/\">FFmpeg<\/a>. I devised a system for automatically running the files and determining whether they still crash in FFmpeg. Quite a few of them did. Then, I sort of let the project sit.<\/p>\n<p>I got around to running a new round of tests with the utility I created in December and compared the results with those of 4 months ago. Today&#8217;s test was conducted with FFmpeg SVN-r18707 built with &#8220;gcc: 4.0.1 (Apple Inc. build 5484)&#8221;, 32-bit version, and run on Mac OS X.<\/p>\n<table border=\"1\" cellpadding=\"2\">\n<tr>\n<th>Result<\/th>\n<th>December 8, 2008<\/th>\n<th>April 27, 2009<\/th>\n<\/tr>\n<tr>\n<td>Success<\/td>\n<td>2148<\/td>\n<td>2781<\/td>\n<\/tr>\n<tr>\n<td>FFmpeg error<\/td>\n<td>1333<\/td>\n<td>1389<\/td>\n<\/tr>\n<tr>\n<td>SIGABRT<\/td>\n<td>6<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>SIGFPE<\/td>\n<td>376<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>SIGKILL (timeouts)<\/td>\n<td>16<\/td>\n<td>17<\/td>\n<\/tr>\n<tr>\n<td>SIGBUS<\/td>\n<td>7<\/td>\n<td>97<\/td>\n<\/tr>\n<tr>\n<td>SIGSEGV<\/td>\n<td>529<\/td>\n<td>123<\/td>\n<\/tr>\n<\/table>\n<p>Great progress, especially on those floating point exceptions. I&#8217;m pretty sure nearly all of those were attributable to one or a few problems in the Real demuxer that have since been addressed. The only remaining problem in the FPE category is an AVI file.<\/p>\n<p>The timeout category represents the number of files that ran longer than a minute (need to keep the process moving). The &#8220;FFmpeg error&#8221; category (return code 1) is on the rise. I surmise that&#8217;s because FFmpeg is getting better at rejecting errant files vs. crashing on them. I should really formulate a query that reveals which files&#8217; status changed, and how, between runs.<\/p>\n<p>A big reason I sat on this project for so long is that I didn&#8217;t know how to proceed. Should I start testing the problem files manually, collect stack traces, and flood the FFmpeg issue tracker with hundreds of new reports? I don&#8217;t want to deal with that kind of manual labor and I don&#8217;t think my co-devs want to deal with that volume of (possibly redundant) bug traffic.<\/p>\n<p>Since December, I have developed another idea: Automatically running the problem files through gdb and looking for patterns. For example, I manually checked those 6 crashers that threw SIGABRT (the same 6 files from each run, BTW, and all ASF files). They all seem to fail as follows:<\/p>\n<pre>\r\nProgram received signal SIGABRT, Aborted.\r\n0x96dbbe42 in __kill ()\r\n(gdb) bt\r\n#0  0x96dbbe42 in __kill ()\r\n#1  0x96dbbe34 in kill$UNIX2003 ()\r\n#2  0x96e2e23a in raise ()\r\n#3  0x96e3a679 in abort ()\r\n#4  0x96e2f3db in __assert_rtn ()\r\n#5  0x00026529 in ff_asf_parse_packet (s=0x1002600, pb=0xa00200, \r\npkt=0xbfffe954) at \/Users\/melanson\/ffmpeg\/ffmpeg-main\/libavformat\/asfdec.c:709\r\n<\/pre>\n<p>It would be nice to create a script that identifies that all 6 of those files suffer from the same, or similar problem and group those files together in a report. I am not sure if gdb offers non-interactive options that are conducive to this situation. I know it has a -batch mode, but I&#8217;m not really sure what that&#8217;s for. If need be, I can always create a Python script that opens gdb in interactive mode and has a stdin\/stdout conversation with it.<\/p>\n<p><strong>See Also:<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/multimedia.cx\/eggs\/designing-a-download-strategy\/\">Designing A Download Strategy<\/a><\/li>\n<li><a href=\"http:\/\/multimedia.cx\/eggs\/processing-those-crashers\/\">Processing Those Crashers<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I revisited that vast set of crasher samples; much progress has been made<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[68],"class_list":["post-1390","post","type-post","status-publish","format-standard","hentry","category-general","tag-ffmpeg"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I revisited that vast set of crasher samples; much progress has been made\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Multimedia Mike\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Breaking Eggs And Making Omelettes | Topics On Multimedia Technology and Reverse Engineering\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Progress On Those Crashers | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta property=\"og:description\" content=\"I revisited that vast set of crasher samples; much progress has been made\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-04-28T00:07:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-04-28T00:07:32+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Progress On Those Crashers | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I revisited that vast set of crasher samples; much progress has been made\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#article\",\"name\":\"Progress On Those Crashers | Breaking Eggs And Making Omelettes\",\"headline\":\"Progress On Those Crashers\",\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"},\"datePublished\":\"2009-04-27T17:07:32-07:00\",\"dateModified\":\"2009-04-27T17:07:32-07:00\",\"inLanguage\":\"en-US\",\"commentCount\":8,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#webpage\"},\"articleSection\":\"General, ffmpeg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/general\\\/#listItem\",\"name\":\"General\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/general\\\/#listItem\",\"position\":2,\"name\":\"General\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/general\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#listItem\",\"name\":\"Progress On Those Crashers\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#listItem\",\"position\":3,\"name\":\"Progress On Those Crashers\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/general\\\/#listItem\",\"name\":\"General\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\",\"name\":\"Breaking Eggs And Making Omelettes\",\"description\":\"Topics On Multimedia Technology and Reverse Engineering\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/\",\"name\":\"Multimedia Mike\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2eb93f7cada658f7986b5092062849fa255779eada3342c8f6b9a40764b95fdd?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Multimedia Mike\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#webpage\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/\",\"name\":\"Progress On Those Crashers | Breaking Eggs And Making Omelettes\",\"description\":\"I revisited that vast set of crasher samples; much progress has been made\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/progress-on-those-crashers\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"datePublished\":\"2009-04-27T17:07:32-07:00\",\"dateModified\":\"2009-04-27T17:07:32-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/\",\"name\":\"Breaking Eggs And Making Omelettes\",\"description\":\"Topics On Multimedia Technology and Reverse Engineering\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Progress On Those Crashers | Breaking Eggs And Making Omelettes","description":"I revisited that vast set of crasher samples; much progress has been made","canonical_url":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#article","name":"Progress On Those Crashers | Breaking Eggs And Making Omelettes","headline":"Progress On Those Crashers","author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"},"datePublished":"2009-04-27T17:07:32-07:00","dateModified":"2009-04-27T17:07:32-07:00","inLanguage":"en-US","commentCount":8,"mainEntityOfPage":{"@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#webpage"},"isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#webpage"},"articleSection":"General, ffmpeg"},{"@type":"BreadcrumbList","@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs#listItem","position":1,"name":"Home","item":"https:\/\/multimedia.cx\/eggs","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/general\/#listItem","name":"General"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/general\/#listItem","position":2,"name":"General","item":"https:\/\/multimedia.cx\/eggs\/category\/general\/","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#listItem","name":"Progress On Those Crashers"},"previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#listItem","position":3,"name":"Progress On Those Crashers","previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/general\/#listItem","name":"General"}}]},{"@type":"Organization","@id":"https:\/\/multimedia.cx\/eggs\/#organization","name":"Breaking Eggs And Making Omelettes","description":"Topics On Multimedia Technology and Reverse Engineering","url":"https:\/\/multimedia.cx\/eggs\/"},{"@type":"Person","@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author","url":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/","name":"Multimedia Mike","image":{"@type":"ImageObject","@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2eb93f7cada658f7986b5092062849fa255779eada3342c8f6b9a40764b95fdd?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Multimedia Mike"}},{"@type":"WebPage","@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#webpage","url":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/","name":"Progress On Those Crashers | Breaking Eggs And Making Omelettes","description":"I revisited that vast set of crasher samples; much progress has been made","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/#website"},"breadcrumb":{"@id":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/#breadcrumblist"},"author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"creator":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"datePublished":"2009-04-27T17:07:32-07:00","dateModified":"2009-04-27T17:07:32-07:00"},{"@type":"WebSite","@id":"https:\/\/multimedia.cx\/eggs\/#website","url":"https:\/\/multimedia.cx\/eggs\/","name":"Breaking Eggs And Making Omelettes","description":"Topics On Multimedia Technology and Reverse Engineering","inLanguage":"en-US","publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"}}]},"og:locale":"en_US","og:site_name":"Breaking Eggs And Making Omelettes | Topics On Multimedia Technology and Reverse Engineering","og:type":"article","og:title":"Progress On Those Crashers | Breaking Eggs And Making Omelettes","og:description":"I revisited that vast set of crasher samples; much progress has been made","og:url":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/","article:published_time":"2009-04-28T00:07:32+00:00","article:modified_time":"2009-04-28T00:07:32+00:00","twitter:card":"summary","twitter:title":"Progress On Those Crashers | Breaking Eggs And Making Omelettes","twitter:description":"I revisited that vast set of crasher samples; much progress has been made"},"aioseo_meta_data":{"post_id":"1390","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-31 22:04:34","updated":"2025-12-31 19:08:50","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/multimedia.cx\/eggs\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/multimedia.cx\/eggs\/category\/general\/\" title=\"General\">General<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tProgress On Those Crashers\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/multimedia.cx\/eggs"},{"label":"General","link":"https:\/\/multimedia.cx\/eggs\/category\/general\/"},{"label":"Progress On Those Crashers","link":"https:\/\/multimedia.cx\/eggs\/progress-on-those-crashers\/"}],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/1390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=1390"}],"version-history":[{"count":18,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/1390\/revisions"}],"predecessor-version":[{"id":1409,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/1390\/revisions\/1409"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=1390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=1390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=1390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}