{"action":"created","issue":{"url":"https://api.github.com/repos/mgba-emu/mgba/issues/74","labels_url":"https://api.github.com/repos/mgba-emu/mgba/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/mgba-emu/mgba/issues/74/comments","events_url":"https://api.github.com/repos/mgba-emu/mgba/issues/74/events","html_url":"https://github.com/mgba-emu/mgba/issues/74","id":97883117,"number":74,"title":"OpenBSD: Bus error when deleting breakpoint","user":{"login":"bentley","id":126009,"avatar_url":"https://avatars.githubusercontent.com/u/126009?v=3","gravatar_id":"","url":"https://api.github.com/users/bentley","html_url":"https://github.com/bentley","followers_url":"https://api.github.com/users/bentley/followers","following_url":"https://api.github.com/users/bentley/following{/other_user}","gists_url":"https://api.github.com/users/bentley/gists{/gist_id}","starred_url":"https://api.github.com/users/bentley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentley/subscriptions","organizations_url":"https://api.github.com/users/bentley/orgs","repos_url":"https://api.github.com/users/bentley/repos","events_url":"https://api.github.com/users/bentley/events{/privacy}","received_events_url":"https://api.github.com/users/bentley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T08:07:04Z","updated_at":"2015-07-29T08:32:19Z","closed_at":null,"body":"    $ egdb mgba      \r\n    GNU gdb (GDB) 7.9.1\r\n    Copyright (C) 2015 Free Software Foundation, Inc.\r\n    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\n    This is free software: you are free to change and redistribute it.\r\n    There is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\n    and \"show warranty\" for details.\r\n    This GDB was configured as \"x86_64-unknown-openbsd5.8\".\r\n    Type \"show configuration\" for configuration details.\r\n    For bug reporting instructions, please see:\r\n    <http://www.gnu.org/software/gdb/bugs/>.\r\n    Find the GDB manual and other documentation resources online at:\r\n    <http://www.gnu.org/software/gdb/documentation/>.\r\n    For help, type \"help\".\r\n    Type \"apropos word\" to search for commands related to \"word\"...\r\n    Reading symbols from mgba...done.\r\n    (gdb) run rom.gba\r\n    Starting program: /usr/local/bin/mgba -d rom.gba\r\n    00000000 00000000 00000000 00000000\r\n    00000000 00000000 00000000 00000000\r\n    00000000 00000000 00000000 00000000\r\n    00000000 03007F00 00000000 00000004\r\n    0000001F [-------]\r\n    00000000:  EA000006     b $00000020\r\n    > b 0\r\n    > d 0\r\n    [New thread 1025814]\r\n    [New thread 1028073]\r\n    [New thread 1009832]\r\n    \r\n    Program received signal SIGBUS, Bus error.\r\n    [Switching to thread 1025814]\r\n    0x00000e471d1d281a in _thread_sys___thrsleep () at <stdin>:2\r\n    2       <stdin>: No such file or directory.\r\n    (gdb) bt\r\n    #0  0x00000e471d1d281a in _thread_sys___thrsleep () at <stdin>:2\r\n    #1  0x00000e4795ab9ce1 in pthread_cond_timedwait (\r\n        condp=condp@entry=0x7f7ffffc5358, mutexp=<optimized out>, \r\n        mutexp@entry=0x7f7ffffc5350, abstime=abstime@entry=0x7f7ffffc5000)\r\n        at /usr/src/lib/librthread/rthread_sync.c:354\r\n    #2  0x00000e47e3c997a7 in ConditionWaitTimed (timeoutMs=50, \r\n        mutex=0x7f7ffffc5350, cond=0x7f7ffffc5358)\r\n        at /usr/ports/pobj/mgba-0.2.1/mgba-fa7660020f276de6dac05db2d4d3078b741faf93/src/platform/posix/threading.h:64\r\n    #3  GBASyncWaitFrameStart (sync=sync@entry=0x7f7ffffc5340, frameskip=0)\r\n        at /usr/ports/pobj/mgba-0.2.1/mgba-fa7660020f276de6dac05db2d4d3078b741faf93/src/gba/supervisor/sync.c:58\r\n    #4  0x00000e44f3905330 in GBASDLGLRunloop (context=0x7f7ffffc5200, \r\n        renderer=0x7f7ffffc53b0)\r\n        at /usr/ports/pobj/mgba-0.2.1/mgba-fa7660020f276de6dac05db2d4d3078b741faf93/src/platform/sdl/gl-sdl.c:98\r\n    #5  0x00000e44f39050e8 in main (argc=<optimized out>, argv=<optimized out>)\r\n        at /usr/ports/pobj/mgba-0.2.1/mgba-fa7660020f276de6dac05db2d4d3078b741faf93/src/platform/sdl/main.c:131\r\n"},"comment":{"url":"https://api.github.com/repos/mgba-emu/mgba/issues/comments/125880460","html_url":"https://github.com/mgba-emu/mgba/issues/74#issuecomment-125880460","issue_url":"https://api.github.com/repos/mgba-emu/mgba/issues/74","id":125880460,"user":{"login":"endrift","id":605502,"avatar_url":"https://avatars.githubusercontent.com/u/605502?v=3","gravatar_id":"","url":"https://api.github.com/users/endrift","html_url":"https://github.com/endrift","followers_url":"https://api.github.com/users/endrift/followers","following_url":"https://api.github.com/users/endrift/following{/other_user}","gists_url":"https://api.github.com/users/endrift/gists{/gist_id}","starred_url":"https://api.github.com/users/endrift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endrift/subscriptions","organizations_url":"https://api.github.com/users/endrift/orgs","repos_url":"https://api.github.com/users/endrift/repos","events_url":"https://api.github.com/users/endrift/events{/privacy}","received_events_url":"https://api.github.com/users/endrift/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T08:32:19Z","updated_at":"2015-07-29T08:32:19Z","body":"This thread doesn't look like it's the crashing one. Can you inspect some other threads? This is a really weird place for a thread to crash."}}