Page 1 of 1

[b42] Game closes with no warning

Posted: Thu Aug 23, 2012 4:23 pm
by vanfanel
Playing a Shalore Alchemist on a Windows 7 laptop. I just downloaded b42 a few minutes ago and this has already happened three times on levels 1 and 2 of the Scintillating Caves: without any sign of anything being wrong, the application just closes instantly. It happened once while saving, once while resting, and I'm not sure what I was doing the first time. There's no hanging, no hourglasses; it's so smooth it doesn't even feel like a "proper" crash.

Re: [b42] Game closes with no warning

Posted: Fri Aug 24, 2012 3:32 pm
by tiger_eye
I've had a couple crashes happen too; no idea why. I'm using 64-bit linux (ubuntu). I'll investigate further if it happens again.

Re: [b42] Game closes with no warning

Posted: Sat Aug 25, 2012 11:30 am
by Leffe
I've had this a few times:

.
.
.
Particle emitter error 28b88d0 (2): attempt to call a nil value
Particle emitter error 28b88d0 (2): attempt to call a nil value
PANIC: unprotected error in call to Lua API (attempt to call a nil value)

Re: [b42] Game closes with no warning

Posted: Sun Aug 26, 2012 3:32 pm
by takeourcarsnow
Happened to me while in Old Forest playing as Bulwark. OSX Lion.
The game just turned off.

Edit: happened again in other area. Other versions never did that.

Re: [b42] Game closes with no warning

Posted: Wed Sep 05, 2012 10:46 pm
by darkgod
I need gdb stacktrace people please :)

Re: [b42] Game closes with no warning

Posted: Thu Sep 06, 2012 12:48 am
by Laerte
I was about to submit this. B42 crashes a lot for me and I'm using the linux client (downloaded) on Fedora 32 bits. The crashes occur more frequently (but not only) when I'm saving or autosaving when entering / leaving levels.

Last messages on log:

Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
PANIC: unprotected error in call to Lua API (attempt to call a nil value)
AL lib: ALc.c:1302: exit() 1 device(s) and 1 context(s) NOT deleted
AL lib: alSource.c:2291: alcDestroyContext(): 2 Source(s) NOT deleted
AL lib: alBuffer.c:1097: exit() 98 Buffer(s) NOT deleted

Re: [b42] Game closes with no warning

Posted: Thu Sep 06, 2012 3:20 pm
by dogfish
Laerte wrote:I was about to submit this. B42 crashes a lot for me and I'm using the linux client (downloaded) on Fedora 32 bits. The crashes occur more frequently (but not only) when I'm saving or autosaving when entering / leaving levels.

Last messages on log:

Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
Particle emitter error a5d0ab0 (17): attempt to call a nil value
PANIC: unprotected error in call to Lua API (attempt to call a nil value)
AL lib: ALc.c:1302: exit() 1 device(s) and 1 context(s) NOT deleted
AL lib: alSource.c:2291: alcDestroyContext(): 2 Source(s) NOT deleted
AL lib: alBuffer.c:1097: exit() 98 Buffer(s) NOT deleted
I have the same crashes. ubutnu 12.04. but for me it isnt near to saving.

Re: [b42] Game closes with no warning

Posted: Fri Sep 07, 2012 3:36 am
by snoop
Just now I tried to run under gdb/OSX. I got an immediate freeze/crash on loading my save. Here's what I got for output; I'm not too well-versed in how to get as much info out of gdb as possible so if there's something else I can do to help more please let me know!

Code: Select all

Wait finished, counted 1098, 9472 ticks
Particle emitter error 186e9020 (14): attempt to call a nil value
Particle emitter error 18625400 (26): attempt to call a nil value
Particle emitter error 18625400 (26): attempt to call a nil value
Particle emitter error 18625400 (26): attempt to call a nil value
Particle emitter error 18625400 (26): attempt to call a nil value

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000fffffff3
[Switching to process 766]
0x00000001000ed974 in lj_BC_RET ()
(gdb) bt
#0  0x00000001000ed974 in lj_BC_RET ()
#1  0x000000011d60ebc8 in ?? ()
Previous frame inner to this frame (gdb could not unwind past this frame)


Re: [b42] Game closes with no warning

Posted: Fri Sep 07, 2012 1:17 pm
by vanfanel
An update: Once I got out of the Scintillating Caves, this problem all but stopped. It would still happen occasionally thereafter, but not nearly as much as when I was in the caves. The log from the last crash looks a lot like what others have already posted:
[LOG] Skeleton archer hits Aoran Summercloud for #aaaaaa#72 physical#LAST#, #ROYAL_BLUE#7 lightning#LAST# damage (total 78.77).
Particle emitter error 120c77d8 (2): attempt to call a nil value
Particle emitter error 120c77d8 (2): attempt to call a nil value
Particle emitter error 120c77d8 (2): attempt to call a nil value
Particle emitter error 120c77d8 (2): attempt to call a nil value
Particle emitter error 120c77d8 (2): attempt to call a nil value
Particle emitter error 120c77d8 (2): attempt to call a nil value
Particle emitter error 120c77d8 (2): attempt to call a nil value
Particle emitter error 120c77d8 (2): attempt to call a nil value