The crash-on-exit bug

Discussion and feedback on Construct 2

Post » Wed Feb 16, 2011 2:48 pm

I'm having trouble reproducing this crash-on-exit (or closing project) bug and I can't make shotgun fixes forever, so I've made one more guess-fix and included the debugging data (.pdbs).

You can download the modified build here (about 23mb, includes debug data). Paste the EXE and pdb file over your existing 28.2 to try it out.

If it still crashes, a crash dump or better yet, a call stack, would be very helpful! Let me know how it goes...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Feb 16, 2011 4:05 pm

Aha, I managed to reproduce it on my XP VM, and made a change that seems to fix it for that - try downloading this and pasting over your 28.2. Let me know if this fixes it!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Feb 16, 2011 4:11 pm

Problem seems to be in function: Construct2!cr__GLRenderer__ReleaseFont. Ahh, noticed your new build - will try now.

EDIT

Crash fixed!
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Wed Feb 16, 2011 5:01 pm

Fixed? Fantastic! Can anybody else confirm?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Feb 16, 2011 9:49 pm

I think I'll just push out a 28.3 and see if there are reports of any more crashes.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Feb 16, 2011 10:18 pm

It still crashes for me with xp sp3.

I ran it though windbg and copied the call stack at the point of the crash:
[code:3uaarlj9]kernel32!RaiseException+0x53
Construct2!_CxxThrowException+0x48 [f:\dd\vctools\crt_bld\self_x86\crt\prebuild\eh\throw.cpp @ 157]
Construct2!cr::GLRenderer::MakeCurrent+0x4e [c:\construct2\source\common\cr\glrenderer\glrenderer_windows.cpp @ 321]
Construct2!ObjectTexture::GLReleaseTexture+0x150 [c:\construct2\source\ide\projects\objecttexture.cpp @ 391]
Construct2!RendererLayer::ReleaseTexture+0x14 [c:\construct2\source\ide\rendererlayer.cpp @ 137]
WARNING: Stack unwind information not available. Following frames may be wrong.
html5_exporter+0x1ea1e
html5_exporter!ShutdownExporter+0x587e5[/code:3uaarlj9]
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Wed Feb 16, 2011 10:32 pm

Hmm... maybe there were multiple causes. Thanks for the stack trace, very handy, will investigate further...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Feb 17, 2011 12:21 am

OK, I think I've got it! :P I found a nasty double-release of fonts in the layer between plugins and the renderer. Ugly. That would explain R0J0's stack trace and the other crashes.

If this doesn't fix it I think I'll cry :(
Anyways, try downloading these files and pasting over 28.3, and let me know if it works.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Feb 17, 2011 1:37 am

Sorry to say still crashes on Windows Vista
B
2
G
1
Posts: 17
Reputation: 484

Post » Thu Feb 17, 2011 1:47 am

Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Lof and 0 guests