-
Notifications
You must be signed in to change notification settings - Fork 18k
x/mobile/exp/audio/al: Flaky crash on Mac OS X #15075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This might be related to #9191. |
What's going on? If it is OK to use uintptr for the context and device values, I'd be glad to create a patch. However, this fix might be tricky. Does anyone have a better idea? Thanks, |
Please upgrade to Go 1.8.3
…On Tue, Jul 4, 2017 at 11:10 PM, Hajime Hoshi ***@***.***> wrote:
What's going on? If it is OK to use uintptr for the context and device
values, I'd be glad to create a patch. However, this fix might be tricky.
Does anyone have a better idea? Thanks,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAcA5coKRlKlc2COrDNG1VziI7h1PFhks5sKjm6gaJpZM4H-WLb>
.
|
Ah, is this already fixed? If so, could you show me the related change to fix this issue? I'll try Go 1.8.3 anyway. Thanks. |
This, #17234, and others related to
apple changing the gettimeofday syscall which causes widespread corruption
with older go binaries.
You need to upgrade to at least go 1.7.x which is the oldest supported
release, but as long as you are doing that, upgrade to 1.8.3 so you get
more than a month before we tell you to upgrade again.
As a bonus you get faster gc, and more than a year's worth of bug fixes.
…On Tue, Jul 4, 2017 at 11:18 PM, Hajime Hoshi ***@***.***> wrote:
Ah, is this already fixed? If so, could you show me the related change to
fix this issue? I'll try Go 1.8.3 anyway. Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAcA3K1S1ebv5haqeV3wmTqDEVqed1aks5sKjuugaJpZM4H-WLb>
.
|
OK, it looks like it is already fixed. I've tried x/mobile/exp/audio 10 times and nothing crashed. TBH, I've already installed Go 1.8 and I've not tested this issue. Thank you! |
Thanks @davecheney for the info on this, we've been using uintptrs on our own but it's good to know when/where this was fixed. |
I am using go 1.8.3 still crash at alcDestroyContext |
Please answer these questions before submitting your issue. Thanks!
go version
)?go env
)?When running a program using x/mobile/exp/audio/al, this crashes on alc.go.
In my case, when running github.com/hajimehoshi/go-inovation on Mac OS X, I sometimes get the below crash. I'm afraid I couldn't get a minimum case to reproduce this crash. Looks like there is a case where unsafe.Pointer can't accept the value 0x18.
No crash.
Crash.
The text was updated successfully, but these errors were encountered: