{"action":"opened","issue":{"url":"https://api.github.com/repos/reicast/reicast-emulator/issues/865","labels_url":"https://api.github.com/repos/reicast/reicast-emulator/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/reicast/reicast-emulator/issues/865/comments","events_url":"https://api.github.com/repos/reicast/reicast-emulator/issues/865/events","html_url":"https://github.com/reicast/reicast-emulator/issues/865","id":116802875,"number":865,"title":"Segfault if you try to run with gdb","user":{"login":"sergiobenrocha2","id":5431285,"avatar_url":"https://avatars.githubusercontent.com/u/5431285?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiobenrocha2","html_url":"https://github.com/sergiobenrocha2","followers_url":"https://api.github.com/users/sergiobenrocha2/followers","following_url":"https://api.github.com/users/sergiobenrocha2/following{/other_user}","gists_url":"https://api.github.com/users/sergiobenrocha2/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiobenrocha2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiobenrocha2/subscriptions","organizations_url":"https://api.github.com/users/sergiobenrocha2/orgs","repos_url":"https://api.github.com/users/sergiobenrocha2/repos","events_url":"https://api.github.com/users/sergiobenrocha2/events{/privacy}","received_events_url":"https://api.github.com/users/sergiobenrocha2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T16:33:19Z","updated_at":"2015-11-13T16:33:19Z","closed_at":null,"body":"I can't debug another issue because reicast is segfauting if I try to use gdb.\r\n\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\nbm_GetCode (addr=<optimized out>) at ../../core/hw/sh4/dyna/blockmanager.cpp:97\r\n97\t\treturn (DynarecCodeEntryPtr)rv;\r\n(gdb) bt full\r\n#0  bm_GetCode (addr=<optimized out>) at ../../core/hw/sh4/dyna/blockmanager.cpp:97\r\nNo locals.\r\n#1  0x0000000000aa7353 in ngen_mainloop (v_cntx=0x7fffd1da0000) at ../../core/rec-x64/rec_x64.cpp:50\r\n        rcb = <optimized out>\r\n        ctx = 0x7fffcdca0000\r\n#2  0x000000000049f7c8 in recSh4_Run () at ../../core/hw/sh4/dyna/driver.cpp:91\r\n        __FUNCTION__ = \"recSh4_Run\"\r\n#3  0x00000000004088cd in main (argc=1, argv=0x7fffffffdf78) at ../../core/linux-dist/main.cpp:443\r\n        dirs = std::vector of length 5, capacity 5 = {\"/usr/share/xubuntu/reicast\", \"/usr/share/xfce4/reicast\", \"/usr/local/share//reicast\", \"/usr/share//reicast\", \"/usr/share/reicast\"}\r\n```"}}