Device Crash

Hi Ansca team,
since I have changed the code for the new Open AL API my Device randomly crash!
After many tests I realized that if I use background music (mp3) the device not crash but if I use some sounds effects (wav) the device crash. This is a log.
Incident Identifier: 10BBDEA2-D929-4D90-88D7-1BF68BED9A0E
CrashReporter Key: a104f6f98b9ca73d11dbaea65d7e3a2a5f496771
Hardware Model: iPod2,1
Process: ChickensQuest [1170]
Path: /var/mobile/Applications/0C3AEB8A-7696-4858-B12D-A479F0D3A177/ChickensQuest.app/ChickensQuest
Identifier: ChickensQuest
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]

Date/Time: 2011-01-10 22:33:34.458 +0100
OS Version: iPhone OS 4.0 (8A293)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000
Crashed Thread: 4

Any idea?

Thanks

Marco
gugugames.net

[import]uid: 7518 topic_id: 4946 reply_id: 304946[/import]

Thread 4 Crashed:
0 OpenAL 0x000119d0 OALSource::GetQLength() + 108
1 OpenAL 0x0000f1fc alGetSourcei + 552
2 ChickensQuest 0x00075cb0 0x1000 + 478384
3 ChickensQuest 0x000778f4 0x1000 + 485620
4 libSystem.B.dylib 0x0008af80 _pthread_start + 364
5 libSystem.B.dylib 0x0007d014 thread_start + 0
I think this library is very very unstable!
Anyone on Ansca Team can help me?

Thanks

Marco
gugugames.net [import]uid: 7518 topic_id: 4946 reply_id: 16322[/import]

I definitely abandoned OpenAL! Too unstable!
Does anyone have this problem?

Ansca Team any idea?

Thanks

Marco
gugugames.net
[import]uid: 7518 topic_id: 4946 reply_id: 16571[/import]

Can you send the full crashlog and an example of the code that cuases the crash to bugs@anscamobile.com [import]uid: 3 topic_id: 4946 reply_id: 16859[/import]

Today I had a lot of crashes, here one of them:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x656e6573
Crashed Thread: 0

Thread 0 Crashed:
0 OpenAL 0x00003f66 CleanUpDeadBufferList() + 118
1 OpenAL 0x0000696e alGenBuffers + 110
2 test 0x0001a470 0x1000 + 103536
3 test 0x0001a878 0x1000 + 104568
4 test 0x0006fa14 0x1000 + 453140
5 test 0x00064a74 0x1000 + 408180
6 test 0x0003dccc 0x1000 + 249036
7 test 0x0004cd4c 0x1000 + 310604
8 test 0x0003de28 0x1000 + 249384
9 test 0x0003616c 0x1000 + 217452
10 test 0x0003d538 0x1000 + 247096
11 test 0x0003d594 0x1000 + 247188
12 test 0x0003612c 0x1000 + 217388
13 test 0x0005e094 0x1000 + 381076
14 test 0x000590e0 0x1000 + 360672
15 test 0x0007302c 0x1000 + 466988
16 test 0x00005178 0x1000 + 16760
17 QuartzCore 0x00085a02 CA::Display::DisplayLink::dispatch(unsigned long long, unsigned long long) + 146
18 QuartzCore 0x00085af8 CA::Display::IOMFBDisplayLink::callback(__IOMobileFramebuffer*, unsigned long long, unsigned long long, unsigned long long, void*) + 44
19 IOMobileFramebuffer 0x00001da4 IOMobileFramebufferVsyncNotifyFunc + 68
20 ??? 0x32fe7ac8 0 + 855538376
21 CoreFoundation 0x00066f3a __CFMachPortPerform + 70
22 CoreFoundation 0x00022d96 CFRunLoopRunSpecific + 2214
23 CoreFoundation 0x000224da CFRunLoopRunInMode + 42
24 GraphicsServices 0x000030d4 GSEventRunModal + 108
25 GraphicsServices 0x00003180 GSEventRun + 56
26 UIKit 0x0000342a -[UIApplication _run] + 374
27 UIKit 0x00001954 UIApplicationMain + 636
28 test 0x00003b4a 0x1000 + 11082
29 test 0x00003b14 0x1000 + 11028

TO Ansca Team: Could you please make that applications build upon Corona SDK could not crash? :slight_smile: [import]uid: 9058 topic_id: 4946 reply_id: 26119[/import]