{"action":"created","issue":{"url":"https://api.github.com/repos/openMSX/openMSX/issues/866","labels_url":"https://api.github.com/repos/openMSX/openMSX/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/openMSX/openMSX/issues/866/comments","events_url":"https://api.github.com/repos/openMSX/openMSX/issues/866/events","html_url":"https://github.com/openMSX/openMSX/issues/866","id":87989947,"number":866,"title":"[Bug] Crash when playing sound during prev_frame [sf#555]","user":{"login":"andete","id":689017,"avatar_url":"https://avatars.githubusercontent.com/u/689017?v=3","gravatar_id":"","url":"https://api.github.com/users/andete","html_url":"https://github.com/andete","followers_url":"https://api.github.com/users/andete/followers","following_url":"https://api.github.com/users/andete/following{/other_user}","gists_url":"https://api.github.com/users/andete/gists{/gist_id}","starred_url":"https://api.github.com/users/andete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andete/subscriptions","organizations_url":"https://api.github.com/users/andete/orgs","repos_url":"https://api.github.com/users/andete/repos","events_url":"https://api.github.com/users/andete/events{/privacy}","received_events_url":"https://api.github.com/users/andete/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-13T11:36:11Z","updated_at":"2015-06-13T11:43:31Z","closed_at":null,"body":"**Reported by shevek on 2014-11-05 03:34 UTC**\nWhile TASsing, it regularly happens to me that openmsx crashes.  It is hard to reproduce, and I regularly work for hours before it happens.  It seems to always happen while holding down the minus-key, which I have bound to -repeat \"prev_frame\".  The crash has the error message:\r\n\r\n    Assertion 't = find_next_time_event(m)' failed at pulse/mainloop.c:722, function calc_next_timeout(). Aborting.\r\n\r\nThis is on Debian's latest version, 0.10.1-2, running on a sid Debian GNU/Linux system.\r\n\r\nI think it may always happen when another program starts playing a sample (for example, when a message comes in on my chat program).\r\n\r\nI'll try to get a stack backtrace at some point."},"comment":{"url":"https://api.github.com/repos/openMSX/openMSX/issues/comments/111701746","html_url":"https://github.com/openMSX/openMSX/issues/866#issuecomment-111701746","issue_url":"https://api.github.com/repos/openMSX/openMSX/issues/866","id":111701746,"user":{"login":"andete","id":689017,"avatar_url":"https://avatars.githubusercontent.com/u/689017?v=3","gravatar_id":"","url":"https://api.github.com/users/andete","html_url":"https://github.com/andete","followers_url":"https://api.github.com/users/andete/followers","following_url":"https://api.github.com/users/andete/following{/other_user}","gists_url":"https://api.github.com/users/andete/gists{/gist_id}","starred_url":"https://api.github.com/users/andete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andete/subscriptions","organizations_url":"https://api.github.com/users/andete/orgs","repos_url":"https://api.github.com/users/andete/repos","events_url":"https://api.github.com/users/andete/events{/privacy}","received_events_url":"https://api.github.com/users/andete/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T11:43:31Z","updated_at":"2015-06-13T11:43:31Z","body":"**Commented by manuelbi on 2014-11-05 21:05 UTC**\nSome discussion on this:\r\n\r\n<Quibus> shevek: by the way - that crash you reported, isn't it in libpulse/pulseaudio?\r\n<Quibus> openMSX doesn't use that directly, it uses libSDL as audio api\r\n<mth> I was thinking the same thing: [15:06] <mth> regarding bug 555: there is no openMSX frame on the stack, so I'd say it's more likely a bug of SDL 1.2 or pulseaudio\r\n<mth> since it's an assert, it's most likely an internal bug in pulseaudio\r\n<mth> because doing input validation with asserts is usually not a good idea\r\n<Quibus> exactly\r\n<Quibus> I also trigger it once in a while\r\n\r\nPerhaps it helps to file a bug at PulseAudio?"}}