{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/2158","labels_url":"https://api.github.com/repos/radare/radare2/issues/2158/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/2158/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/2158/events","html_url":"https://github.com/radare/radare2/issues/2158","id":59728378,"number":2158,"title":"webfrontend open dialog/0xb70dd404 in r_io_def_mmap_seek","user":{"login":"zonkzonk","id":5694980,"avatar_url":"https://avatars.githubusercontent.com/u/5694980?v=3","gravatar_id":"","url":"https://api.github.com/users/zonkzonk","html_url":"https://github.com/zonkzonk","followers_url":"https://api.github.com/users/zonkzonk/followers","following_url":"https://api.github.com/users/zonkzonk/following{/other_user}","gists_url":"https://api.github.com/users/zonkzonk/gists{/gist_id}","starred_url":"https://api.github.com/users/zonkzonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonkzonk/subscriptions","organizations_url":"https://api.github.com/users/zonkzonk/orgs","repos_url":"https://api.github.com/users/zonkzonk/repos","events_url":"https://api.github.com/users/zonkzonk/events{/privacy}","received_events_url":"https://api.github.com/users/zonkzonk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/radare/radare2/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-04T00:03:03Z","updated_at":"2015-03-11T04:39:54Z","closed_at":null,"body":"morn,\r\n\r\njust testing a bit the new webfrontend. I got two core dumps. One is using this in the open dialog:\r\n(512xA). I always started by /p then going back to localhost:9090:\r\n\r\n```\r\ndisassemble error at offset 251\r\ndisassemble error at offset 252\r\ndisassemble error at offset 253\r\ndisassemble error at offset 254\r\nSegmentation fault (core dumped)\r\nzlul@debian:~$ gdb -q r2 core\r\nReading symbols from /usr/local/bin/r2...done.\r\n[New LWP 26645]\r\n\r\nwarning: Can't read pathname for load map: Input/output error.\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1\".\r\nCore was generated by `r2 -c=H /bin/ls'.\r\nProgram terminated with signal 11, Segmentation fault.\r\n#0  0xb70dd404 in r_io_def_mmap_seek (io=0x9346828, mmo=0x20666678, offset=0, \r\n    whence=0) at p/io_default.c:279\r\n279\t\tif (mmo->rawio)\r\n(gdb) list\r\n274\t\r\n275\tstatic ut64 r_io_def_mmap_seek(RIO *io, RIOMMapFileObj *mmo, ut64 offset, int whence) {\r\n276\t\tut64 seek_val = UT64_MAX;\r\n277\t\r\n278\t\tif (!mmo) return UT64_MAX;\r\n279\t\tif (mmo->rawio)\r\n280\t\t\treturn lseek (mmo->fd, offset, whence);\r\n281\t\tif (!mmo->buf) return UT64_MAX;\r\n282\t\r\n283\t\tseek_val = mmo->buf->cur;\r\n\r\n```\r\nGreetings\r\n--zlul\r\n\r\n$ uname -srm; cat /etc/debian_version ; r2 -v\r\nLinux 3.2.0-4-686-pae i686\r\n7.8\r\nradare2 0.9.9-git 7220 @ linux-little-x86-32 git.0.9.8-872-g3c998ab\r\ncommit: 3c998abaa9c3392b7c428847eddfa7f3cf603b4c build: 2015-03-03\r\n\r\n\r\nbtw. the other core dump, I could not get a bt: last lines were:\r\n\"disassemble error at offset 253\r\ndisassemble error at offset 254\r\n[HTTP] 127.0.0.1:48526 /cmd/pdj%20100@0x\r\n^C^C^C^CSegmentation fault (core dumped)\r\n\""},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/78204137","html_url":"https://github.com/radare/radare2/issues/2158#issuecomment-78204137","issue_url":"https://api.github.com/repos/radare/radare2/issues/2158","id":78204137,"user":{"login":"zonkzonk","id":5694980,"avatar_url":"https://avatars.githubusercontent.com/u/5694980?v=3","gravatar_id":"","url":"https://api.github.com/users/zonkzonk","html_url":"https://github.com/zonkzonk","followers_url":"https://api.github.com/users/zonkzonk/followers","following_url":"https://api.github.com/users/zonkzonk/following{/other_user}","gists_url":"https://api.github.com/users/zonkzonk/gists{/gist_id}","starred_url":"https://api.github.com/users/zonkzonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonkzonk/subscriptions","organizations_url":"https://api.github.com/users/zonkzonk/orgs","repos_url":"https://api.github.com/users/zonkzonk/repos","events_url":"https://api.github.com/users/zonkzonk/events{/privacy}","received_events_url":"https://api.github.com/users/zonkzonk/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T04:39:54Z","updated_at":"2015-03-11T04:39:54Z","body":"@pancake I think it was posted in the chat. However, here is a new variant for r2 -v:\r\n 734d1a9a5d5f0099633f75539bf0ee30277a0f09\r\n\r\nhttp://sprunge.us/LMgS"}}