"love.exe has stopped working" on Win 7 64 bit

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: "love.exe has stopped working" on Win 7 64 bit

Post by Boolsheet »

Really? Easy to test. Remove the line with 'objects.ground.shape:getPoints()'. Alternatively, try this 0.9.0 build which has a fix in it. love.physics didn't change (all that much) so the code should work there too.

Edit: With regard to the deleted post.

Note that there are three different getPoints. PolygonShape, EdgeShape and ChainShape all have their own function for this. They all return numbers and, because of implementation specifics, these values do not have to be collected by the gc.

The default love.run creates some garbage. I think this is because it generates the C closures with love.event.poll. You're forcing it to collect with collectgarbage("collect") anyway.

If there is another issue, any information would be welcome of course.
Shallow indentations.
kclanc
Citizen
Posts: 89
Joined: Sun Jan 29, 2012 6:39 pm

Re: "love.exe has stopped working" on Win 7 64 bit

Post by kclanc »

You're absolutely right boolsheet. In fact, draw calls were being completed before the program crashed, even with my extra call to collectgarbage.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests