So my game has a music track. Usually it plays through the track (which is a streaming ogg) a few times and doesn’t crash, though occaisonally it crashes right in the middle of the track. This is confusing because no recent calls have been made to FMOD, so I’m inclined to think it’s a bug in FMOD itself. However, if someone else can come up with an explanation, I’m all ears.
This is on Mac OS X 10.4.5 (PowerPC), using FMOD 3.75
Here is the stack-info on crash:
0 __memcpy + 492 (cpu_capabilities.h:189)
1 FSOUND_File_ReallyRead + 380 (bundle1.s:283)
2 FSOUND_File_Read + 188 (bundle1.s:283)
3 _get_data + 96 (bundle1.s:283)
4 _get_next_page + 212 (bundle1.s:283)
5 _fetch_and_process_packet + 516 (bundle1.s:283)
6 ov_read + 132 (bundle1.s:283)
7 FSOUND_OggVorbis_Read + 48 (bundle1.s:283)
8 FSOUND_Stream_ReadOggVorbis + 36 (bundle1.s:283)
9 FSOUND_Stream_Read + 356 (bundle1.s:283)
- hfutrell asked 13 years ago
[quote="brett":1mfe0kb1]is this OSX.
Also you should give more information about what else you are doing. If you played the stream outside of your app does it happen. Are you doing anything with threads.[/quote:1mfe0kb1]
Yes, this is on OS X. Can’t say if it happens outside of my application, though my associate uses FMOD for his games and has this same problem with ogg streams as well. I’m not doing anything with threads explicitly.
There is one other crash, and this one is more reproducible. It happens when ogg streams are opened and closed rapidly (takes a few dozen openings and closings in rapid sucession to happen):
1 libfmod.ab 0x00246808 mapping0_inverse + 332 (bundle1.s:283)
2 libfmod.ab 0x00250760 _fetch_and_process_packet + 128 (bundle1.s:283)
3 libfmod.ab 0x002526a0 ov_read + 132 (bundle1.s:283)
4 libfmod.ab 0x002136ac FSOUND_OggVorbis_Read + 48 (bundle1.s:283)
5 libfmod.ab 0x00221788 FSOUND_Stream_ReadOggVorbis + 36 (bundle1.s:283)
6 libfmod.ab 0x0021cd18 FSOUND_Stream_Read + 356 (bundle1.s:283)
7 libfmod.ab 0x0021d2c4 FSOUND_Stream_Flip + 192 (bundle1.s:283)
8 libfmod.ab 0x0021c708 FSOUND_Stream_Flush + 332 (bundle1.s:283)
9 libfmod.ab 0x0021f48c FSOUND_Stream_SetPositionEx + 316 (bundle1.s:283)
10 libfmod.ab 0x0021e9ac FSOUND_Stream_OpenInternal + 4036 (bundle1.s:283)
11 libfmod.ab 0x0021eba8 FSOUND_Stream_Open + 364 (bundle1.s:283)
Please login first to submit.