{"action":"opened","issue":{"url":"https://api.github.com/repos/MozillaSecurity/funfuzz/issues/143","repository_url":"https://api.github.com/repos/MozillaSecurity/funfuzz","labels_url":"https://api.github.com/repos/MozillaSecurity/funfuzz/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/MozillaSecurity/funfuzz/issues/143/comments","events_url":"https://api.github.com/repos/MozillaSecurity/funfuzz/issues/143/events","html_url":"https://github.com/MozillaSecurity/funfuzz/issues/143","id":270874698,"number":143,"title":"[funfuzz] Exception thrown when compiling 32-bit file on WSL Ubuntu 16.04","user":{"login":"nth10sd","id":488630,"avatar_url":"https://avatars0.githubusercontent.com/u/488630?v=4","gravatar_id":"","url":"https://api.github.com/users/nth10sd","html_url":"https://github.com/nth10sd","followers_url":"https://api.github.com/users/nth10sd/followers","following_url":"https://api.github.com/users/nth10sd/following{/other_user}","gists_url":"https://api.github.com/users/nth10sd/gists{/gist_id}","starred_url":"https://api.github.com/users/nth10sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nth10sd/subscriptions","organizations_url":"https://api.github.com/users/nth10sd/orgs","repos_url":"https://api.github.com/users/nth10sd/repos","events_url":"https://api.github.com/users/nth10sd/events{/privacy}","received_events_url":"https://api.github.com/users/nth10sd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-03T04:09:41Z","updated_at":"2017-11-03T04:09:41Z","closed_at":null,"author_association":"COLLABORATOR","body":"funfuzz throws when trying to create busted file using:\r\n\r\n`python -u -m funfuzz.js.compile_shell -b \"--32 --enable-debug\"`\r\n\r\non WSL Ubuntu 16.04. Tested with 0.3.0 rev 83750f214b880fcd77e059c151d54f644ab76944 (or just prior)\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/runpy.py\", line 174, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/usr/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/home/winworklin/.local/lib/python2.7/site-packages/funfuzz/js/compile_shell.py\", line 765, in <module>\r\n    main()\r\n  File \"/home/winworklin/.local/lib/python2.7/site-packages/funfuzz/js/compile_shell.py\", line 760, in main\r\n    obtainShell(shell, updateToRev=options.revision)\r\n  File \"/home/winworklin/.local/lib/python2.7/site-packages/funfuzz/js/compile_shell.py\", line 693, in obtainShell\r\n    createBustedFile(cached_no_shell, ex)\r\n  File \"/home/winworklin/.local/lib/python2.7/site-packages/funfuzz/js/compile_shell.py\", line 534, in createBustedFile\r\n    print(\"Compilation failed (%s) (details in %s)\" % (e.decode(\"utf-8\", errors=\"replace\"),\r\nAttributeError: 'exceptions.Exception' object has no attribute 'decode'\r\n```\r\n\r\nThe binary was apparently created successfully:\r\n\r\n```\r\n$ file /home/winworklin/shell-cache/js-dbg-32-linux-b2f459b88cab/js-dbg-32-linux-b2f459b88cab\r\n/home/winworklin/shell-cache/js-dbg-32-linux-b2f459b88cab/js-dbg-32-linux-b2f459b88cab: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=c6bb8de551e83a23d970e695b9756fedeafc4ff7, not stripped\r\n```"}}
{"actor":{"display_login":"nth10sd"}}