While testing quadrant on Android I found out that the particle system I made sometimes crashes LÖVE.
I'm using 10 particle systems with two different randomly generated textures, 9 of them are identical, just with a randomly rotated texture.
So when I'm trying to run the attached .love on android, it crashes most of the time.
Does anyone have an idea why this happens?
Thanks for having a look!
particle system is sometimes crashing love for android
Re: particle system is sometimes crashing love for android
Did you have a look at the logcat output? Also which LÖVE version are you using?
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: particle system is sometimes crashing love for android
I did look at the logcat output, it said "something something particle system" that's why I was able to narrow it down to this little case.
I used the latest nightly of LÖVE for Android on a Samsung Galaxy S2 with Cyanogenmod.
I was hoping you would understand the logcat output better than I do, given that it crashes on your device as well - does it crash on your device?
Strangely it doesn't crash LÖVE on every try, but maybe 4/5 times when I try to run it (maybe it has something to do with the random generation of the textures?)
Anyway, I guess I was optimistic about that bug, I'll try to narrow it down even further and let you know what I find.
Edit:
Just upgraded to 0.9.2, the error is still present in that version.
I used the latest nightly of LÖVE for Android on a Samsung Galaxy S2 with Cyanogenmod.
I was hoping you would understand the logcat output better than I do, given that it crashes on your device as well - does it crash on your device?
Strangely it doesn't crash LÖVE on every try, but maybe 4/5 times when I try to run it (maybe it has something to do with the random generation of the textures?)
Anyway, I guess I was optimistic about that bug, I'll try to narrow it down even further and let you know what I find.
Edit:
Just upgraded to 0.9.2, the error is still present in that version.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: particle system is sometimes crashing love for android
Thanks for the test case! ParticleSystem:clone was causing the crash (my fault.) It's been fixed in the mobile-common repository, so the Android port should get the fix soon as well.
Re: particle system is sometimes crashing love for android
It's now nicely snowing on my device. Currently building a new binary. Thanks slime!
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: particle system is sometimes crashing love for android
Thank you slime!
Who is online
Users browsing this forum: No registered users and 0 guests