{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/2026","labels_url":"https://api.github.com/repos/radare/radare2/issues/2026/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/2026/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/2026/events","html_url":"https://github.com/radare/radare2/issues/2026","id":56189335,"number":2026,"title":"Crash on `pd`","user":{"login":"nico","id":3487,"avatar_url":"https://avatars.githubusercontent.com/u/3487?v=3","gravatar_id":"","url":"https://api.github.com/users/nico","html_url":"https://github.com/nico","followers_url":"https://api.github.com/users/nico/followers","following_url":"https://api.github.com/users/nico/following{/other_user}","gists_url":"https://api.github.com/users/nico/gists{/gist_id}","starred_url":"https://api.github.com/users/nico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nico/subscriptions","organizations_url":"https://api.github.com/users/nico/orgs","repos_url":"https://api.github.com/users/nico/repos","events_url":"https://api.github.com/users/nico/events{/privacy}","received_events_url":"https://api.github.com/users/nico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-02T02:23:09Z","updated_at":"2015-02-02T02:24:01Z","closed_at":null,"body":"Repro:\r\n\r\nCopy this to your clipboard:\r\n\r\n```\r\ne800000000588d34052900000089f7b914000000bad2040000fc69d26d4ec64181c239300000ad31d0ab\r\ne2eeeb00f0d1e60da064f18698f91b051e26ac31ffcca3dccc2a3f461191b765780df1c998d6b37f38a4\r\n5ea7caee8c0e09ef94b3f75c05d2f4973639a2a12564f566dbecf6f1df18b9410bf2bb1850fea73c2117\r\n```\r\n\r\n(from the bottom of http://www.hanshq.net/ones-and-zeros.html)\r\n\r\nWrite it to a file (e.g. `pbaste | xxd -r -p > tmp.bin`), load it into r2 (`r2 tmp.bin`). Run `e io.cache = true`, `wox 0xde639a3 @ 0x2e`, `pd`. Result: \"Abort trap: 6\".\r\n\r\nStack:\r\n\r\n```\r\n(lldb) r\r\nProcess 22233 launched: '/Users/thakis/local/bin/r2' (x86_64)\r\n -- radare2 is like windows 7 but even better.\r\nProcess 22233 stopped\r\n* thread #1: tid = 0x6f6ba, 0x00007fff90348282 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT\r\n    frame #0: 0x00007fff90348282 libsystem_kernel.dylib`__pthread_kill + 10\r\nlibsystem_kernel.dylib`__pthread_kill + 10:\r\n-> 0x7fff90348282:  jae    0x7fff9034828c            ; __pthread_kill + 20\r\n   0x7fff90348284:  movq   %rax, %rdi\r\n   0x7fff90348287:  jmp    0x7fff90343ca3            ; cerror_nocancel\r\n   0x7fff9034828c:  retq   \r\n(lldb) bt\r\n* thread #1: tid = 0x6f6ba, 0x00007fff90348282 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT\r\n  * frame #0: 0x00007fff90348282 libsystem_kernel.dylib`__pthread_kill + 10\r\n    frame #1: 0x00007fff941124c3 libsystem_pthread.dylib`pthread_kill + 90\r\n    frame #2: 0x00007fff88ae7c13 libsystem_c.dylib`__abort + 145\r\n    frame #3: 0x00007fff88ae84f1 libsystem_c.dylib`__stack_chk_fail + 197\r\n    frame #4: 0x0000000100105ab3 libr_core.dylib`handle_print_ptr(core=0x0000000100006470, ds=0x000000010300ea00, len=640, idx=15) + 2211 at disasm.c:1838\r\n    frame #5: 0x00000001000fe63d libr_core.dylib`r_core_print_disasm(p=<unavailable>, core=<unavailable>, addr=<unavailable>, buf=<unavailable>, len=<unavailable>, l=<unavailable>, invbreak=<unavailable>, cbytes=<unavailable>) + 3357 at disasm.c:2153\r\n```\r\n\r\nThis is with today's git version."},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/72398778","html_url":"https://github.com/radare/radare2/issues/2026#issuecomment-72398778","issue_url":"https://api.github.com/repos/radare/radare2/issues/2026","id":72398778,"user":{"login":"nico","id":3487,"avatar_url":"https://avatars.githubusercontent.com/u/3487?v=3","gravatar_id":"","url":"https://api.github.com/users/nico","html_url":"https://github.com/nico","followers_url":"https://api.github.com/users/nico/followers","following_url":"https://api.github.com/users/nico/following{/other_user}","gists_url":"https://api.github.com/users/nico/gists{/gist_id}","starred_url":"https://api.github.com/users/nico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nico/subscriptions","organizations_url":"https://api.github.com/users/nico/orgs","repos_url":"https://api.github.com/users/nico/repos","events_url":"https://api.github.com/users/nico/events{/privacy}","received_events_url":"https://api.github.com/users/nico/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T02:24:01Z","updated_at":"2015-02-02T02:24:01Z","body":"(I'm probably holding the `wox` command wrong which creates invalid machine code. Still the disassembler shouldn't crash on that.)"}}