Playing USFs crashes Cog #47
Labels
No labels
2230
2243
App version
Apple OS errata
Apple SDK
bug
bugsnag
build
dlt
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: chris/Cog#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First of all thanks for working on this great audio player!
On current and recent versions, I am encountering a crash whenever I play any N64 USF file. It happens on Version 1144-gc009a17cc and on Version 1109-g9dd4f6804, and I have tried a few versions in between those but they also crash in the same way. I am running it on macOS 10.13.6 (17G13033)
Full crash report...
It would help more to see the exact rip you are trying to play, as that may be a rip in need of re-ripping for lazyusf2.
It happens on every rip I have at the moment - for example, I just downloaded "007: The World is not Enough" from http://usf.hcs64.com and tried to play several tracks from that, and all of them caused the same type of crash. I have not found any rip so far that doesn't cause Cog to crash.
It might be worth mentioning that all the files I'm trying are miniusf files, I haven't found any .USF files to test with.
It's not crashing here on Catalina. Blast Corps works just fine. The rip you cited appears to be broken by lazyusf2, however.
Seems like it's a problem affecting 10.13 and older versions of macOS only. They don't understand the MAP_JIT flag for mmap and so fail to allocate memory for lazyusf2's dynarec. I sent a somewhat quick and dirty patch which fixes the issue, if older macOS compatibility is desired. Otherwise, I will get a new machine and upgrade macOS eventually... :)