{"action":"opened","issue":{"url":"https://api.github.com/repos/andris9/mailparser/issues/113","labels_url":"https://api.github.com/repos/andris9/mailparser/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/andris9/mailparser/issues/113/comments","events_url":"https://api.github.com/repos/andris9/mailparser/issues/113/events","html_url":"https://github.com/andris9/mailparser/issues/113","id":61877351,"number":113,"title":"Node.js error: Assertion failed: (start <= end), function SliceOnto, file ../src/smalloc.cc, line 281","user":{"login":"breck7","id":74692,"avatar_url":"https://avatars.githubusercontent.com/u/74692?v=3","gravatar_id":"","url":"https://api.github.com/users/breck7","html_url":"https://github.com/breck7","followers_url":"https://api.github.com/users/breck7/followers","following_url":"https://api.github.com/users/breck7/following{/other_user}","gists_url":"https://api.github.com/users/breck7/gists{/gist_id}","starred_url":"https://api.github.com/users/breck7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breck7/subscriptions","organizations_url":"https://api.github.com/users/breck7/orgs","repos_url":"https://api.github.com/users/breck7/repos","events_url":"https://api.github.com/users/breck7/events{/privacy}","received_events_url":"https://api.github.com/users/breck7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-15T18:14:39Z","updated_at":"2015-03-15T18:14:39Z","closed_at":null,"body":"When iterating over a large mbox file, passing each message into mailparser, my node process crashes consistently with the error:\r\n\r\n\"Assertion failed: (start <= end), function SliceOnto, file ../src/smalloc.cc, line 281. Abort trap: 6\"\r\n\r\nIt may be related to this bug: https://github.com/joyent/node/issues/9180\r\n\r\nIt happens on certain messages consistently but ONLY after a few thousands messages have been parsed. In other words, if I go directly to the problem messages parsing works fine. But if they are processed in a loop a few thousand iterations in I get the crash.\r\n\r\nI'm investigating further but wanted to file this in case other people are seeing it.\r\n\r\nNode version v0.12.0\r\n\r\nOutput:\r\n\"node app.js email.mbox\r\nFile size: 9737455534\r\nprocessing message 1000...\r\nprocessing message 2000...\r\nprocessing message 3000...\r\nAssertion failed: (start <= end), function SliceOnto, file ../src/smalloc.cc, line 281.\r\nAbort trap: 6\""}}