Not logged inOpenClonk Forum
Up Topic General / Help and Questions / I can not carry any phase
- - By Zura [br] Date 2011-10-12 23:06
Whenever any stage reaches 100% the game just closes, without even sending an error.

How to solve?
Parent - - By Caesar [de] Date 2011-10-12 23:39
Can you post the log?
Parent - By Anonymous [br] Date 2011-10-13 00:38
[20:32:20] Command line: C:\Program Files\OpenClonk\clonk.exe
[20:32:20] OpenClonk Back to the Rocks
[20:32:20] Version: 5.2.1 [000] win-x86 (f6f897a10645)
[20:32:21] Loading graphics...
[20:32:22] WARNING: Unknown bit name: MenuSelect (in line 371, PlayerControls.txt)
[20:32:30] Scenario: C:\Program Files\OpenClonk\\Tutorial.ocf\Tutorial01.ocs
[20:32:30] Scenario uses specified object definitions.
[20:32:30] Loading extras...
[20:32:31] Loading graphics...
[20:32:31] Loading object definitions:
[20:32:31] Objects.ocd...
[20:33:50]    176 definitions loaded.
[20:33:50] Tutorial.ocf...
[20:33:50] Failed to read material script: Flag.ocd/Scene.material:1: Material with name 'Flag' is already defined in Flag.ocd/Scene.material:2
[20:33:50]    5 definitions loaded.
[20:33:50] Tutorial01.ocs...
[20:33:50]    0 definitions loaded.
[20:33:51] C4AulScriptEngine linked - 28750 lines, 0 warnings, 0 errors
[20:33:51] Texture table holds 37 entries.
[20:33:57] 28 textures loaded.
[20:33:57] 19 materials loaded.
[20:34:00] Creating landscape...
[20:34:04] Placing environment objects...
[20:34:04] Local music file: \Music.ocg
[20:34:04] Network: Synchronization (Frame 0) [PlrSave: 0]
[20:34:05] Game started.
[20:34:05] Player join: Gustavo
EXCEPTION_ACCESS_VIOLATION: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
This is a continuable exception.
Additional information for the exception: The thread tried to write to memory at address 0x00233e80.

Processor registers (x86):
EAX: 0x0022fae8, EBX: 0x000000ff, ECX: 0x00b8b7ff, EDX: 0x000000ff
ESI: 0x0022fb30, EDI: 0x00233e80
EBP: 0x00000100, ESP: 0x0022f950, EIP: 0x0421a560
EFLAGS: 0x210286 (..S..P.)

Stack contents:
0x0022f850: 00 00 00 00 00 00 80 3f 00 00 00 00 00 00 00 00    .......?........
0x0022f860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f890: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f8a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f8b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f8c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f8d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f8e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f8f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0x0022f910: 00 00 00 00 00 00 00 00 e8 4a b3 84 08 e6 82 00    ........èJ³..æ..
0x0022f920: a8 9d ec 84 20 21 7c 80 00 00 00 00 00 00 00 00    ¨.ì. !|.........
0x0022f930: 00 00 00 00 04 00 00 00 34 fd ff ff e4 02 00 00    ........4ýÿÿä...
0x0022f940: 34 fd ff ff cc 02 00 00 18 00 00 00 00 00 00 00    4ýÿÿÌ...........
0x0022f950: 03 00 00 00 fc 46 b8 00 00 00 00 00 d1 02 00 00    ....üF¸.....Ñ...
0x0022f960: 18 a7 21 04 d1 02 00 00 00 01 40 4b 00 00 00 00    .§!.Ñ.....@K....
0x0022f970: a4 ba 21 04 00 00 00 00 04 04 00 00 00 00 00 00    ¤º!.............
0x0022f980: fc 46 b8 00 d1 02 00 00 00 00 00 00 a7 80 21 04    üF¸.Ñ.......§.!.
0x0022f990: 76 cc 7f 3f 00 00 00 00 03 00 00 00 04 04 00 00    vÌ.?............
0x0022f9a0: 04 00 00 00 fc 46 b8 00 4c bc 01 19 10 00 00 00    ....üF¸.L¼......
0x0022f9b0: 90 4f 52 04 00 00 00 00 00 00 00 40 03 00 00 00    .OR........@....
0x0022f9c0: 10 03 00 00 6a 89 21 04 04 00 00 00 4c bc 01 19    ....j.!.....L¼..
0x0022f9d0: 00 8c 01 19 40 bc 01 19 fc 46 b8 00 7f 03 b8 00    ....@¼..üF¸...¸.
0x0022f9e0: 0b 00 00 00 7f 03 b8 00 10 00 00 00 90 4f 52 04    ......¸......OR.
0x0022f9f0: 00 00 00 00 00 8c 01 19 40 bc 01 19 48 bf b8 00    ........@¼..H¿¸.
0x0022fa00: f3 ca 22 04 00 00 00 00 fc 46 b8 00 38 04 08 00    óÊ".....üF¸.8...
0x0022fa10: 06 cf 21 04 00 00 00 00 fc 46 b8 00 04 00 00 00    .Ï!.....üF¸.....
0x0022fa20: 07 00 00 00 7f 00 b8 00 38 04 08 00 7f 03 b8 00    ......¸.8.....¸.
0x0022fa30: e9 1a 5f 04 fc 46 b8 00 67 68 23 04 e0 fa 22 00    é._.üF¸.gh#.àú".
0x0022fa40: 00 00 00 00 68 fb 22 00 40 fb 22 00 7e 8d 6e 00    ....hû".@û".~.n.
0x0022fa50: 07 00 00 00 00 00 00 00 04 00 00 00 6c 50 4e 00    ............lPN.

Stack trace:
#  0 [0x0421a560]
#  1 [0x0421a718]
#  2 [0x0421baa4]

Loaded modules:
                               c loaded at 0x00400000 - 0x00988000 (C)
                               n loaded at 0x77a30000 - 0x77b6c000 (C)
                               k loaded at 0x777d0000 - 0x778a4000 (C)
                               K loaded at 0x75ce0000 - 0x75d2a000 (C)
                               s loaded at 0x75b50000 - 0x75b84000 (C)
                               d loaded at 0x73450000 - 0x7353b000 (C)
                               m loaded at 0x77720000 - 0x777cc000 (C)
                               f loaded at 0x6b400000 - 0x6b485000 (C)
                               z loaded at 0x61b80000 - 0x61b98000 (C)
                               l loaded at 0x6b800000 - 0x6b83d000 (C)
                               l loaded at 0x66880000 - 0x668c4000 (C)
                               f loaded at 0x10000000 - 0x10096000 (C)
                               A loaded at 0x77bc0000 - 0x77c60000 (C)
                               s loaded at 0x762b0000 - 0x762c9000 (C)
                               R loaded at 0x76020000 - 0x760c1000 (C)
                               M loaded at 0x73b60000 - 0x73b74000 (C)
                               U loaded at 0x773c0000 - 0x77489000 (C)
                               G loaded at 0x76550000 - 0x7659e000 (C)
                               L loaded at 0x760d0000 - 0x760da000 (C)
                               U loaded at 0x762d0000 - 0x7636d000 (C)
                               W loaded at 0x74220000 - 0x74252000 (C)
                               o loaded at 0x763f0000 - 0x7654c000 (C)
                               W loaded at 0x73550000 - 0x73557000 (C)
                               W loaded at 0x778b0000 - 0x778e5000 (C)
                               N loaded at 0x77bb0000 - 0x77bb6000 (C)
                               C loaded at 0x76140000 - 0x761bb000 (C)
                               S loaded at 0x761c0000 - 0x76217000 (C)
                               C loaded at 0x6ff00000 - 0x6ff84000 (C)
                               S loaded at 0x765a0000 - 0x771ea000 (C)
                               G loaded at 0x6a4c0000 - 0x6a4e2000 (C)
                               O loaded at 0x661f0000 - 0x662b8000 (C)
                               D loaded at 0x66fe0000 - 0x670c7000 (C)
                               D loaded at 0x66020000 - 0x66026000 (C)
                               S loaded at 0x75e80000 - 0x7601d000 (C)
                               C loaded at 0x75d30000 - 0x75d57000 (C)
                               O loaded at 0x76220000 - 0x762af000 (C)
                               D loaded at 0x75c30000 - 0x75c42000 (C)
                               d loaded at 0x744f0000 - 0x74503000 (C)
                               M loaded at 0x65fd0000 - 0x65ff1000 (C)
                               A loaded at 0x6a550000 - 0x6a569000 (C)
                               g loaded at 0x62aa0000 - 0x62ae7000 (C)
                               L loaded at 0x00990000 - 0x00aa7000 (C)
                               I loaded at 0x76370000 - 0x7638f000 (C)
                               M loaded at 0x772f0000 - 0x773bc000 (C)
                               u loaded at 0x74760000 - 0x747a0000 (C)
                               T loaded at 0x003c0000 - 0x003cd000 (C)
                               C loaded at 0x75a90000 - 0x75a9c000 (C)
                               i loaded at 0x041d0000 - 0x045c2000 (C)
                               i loaded at 0x045d0000 - 0x0486a000 (C)
                               M loaded at 0x74970000 - 0x749a9000 (C)
                               P loaded at 0x74830000 - 0x74925000 (C)
                               w loaded at 0x741f0000 - 0x74220000 (C)
                               k loaded at 0x747a0000 - 0x747a4000 (C)
                               A loaded at 0x74d00000 - 0x74d07000 (C)
                               A loaded at 0x73e90000 - 0x73ec6000 (C)
                               m loaded at 0x73b90000 - 0x73b98000 (C)
                               m loaded at 0x73b50000 - 0x73b57000 (C)
                               d loaded at 0x67e20000 - 0x67e92000 (C)
                               P loaded at 0x749b0000 - 0x749d5000 (C)
                               C loaded at 0x77690000 - 0x77713000 (C)
FATAL: Clonk crashed! Some developer might be interested in Clonk.dmp...
Reply
Parent - By Zura [br] Date 2011-10-13 16:46 Edited 2011-10-13 16:50
- - By Zura [br] Date 2011-10-13 21:35
Someone please help me, not to wait any longer!

http://goo.gl/QtTb7
Parent - By Newton [de] Date 2011-10-13 22:30
This won't be fixed from one day to the other. Even if the bug was to be found quickly thanks to your Clonk.dmp, you would have to wait for the next update. Currently however there is none planned until more fixes have been accumulated.
- - By Zura [br] Date 2011-10-17 15:40
Someone?
Parent - - By PeterW [gb] Date 2011-10-17 15:51 Edited 2011-10-17 15:56
Well, you log doesn't really help much - a crash just as the game is starting seems pretty strange. And I'm not sure how to use Clonk.dmp currently. Meaning I'm completely in the dark as to what could cause this.

Could you maybe try to make a debug build and start that? That's a bit of work, but it would give us a much better idea what is happening. The Windows tutorial should be easy to follow even if you don't know much about developing (At least if Guenther didn't break it?).
Parent - - By Zura [br] Date 2011-10-17 16:20
Before doing so I wanted to know if anyone can teach me how to open or open clonk.dmp, because if I understand it stores everything that happens in clonk or needed, so if I managed to open I could solve the problem without making other things more complicated.
Parent - By Caesar [de] Date 2011-10-17 16:52
Understanding the clonk.dmp is far harder than doing a debug build and stepping through. Also, it only contains the information available at crash-time, which could be corrupted or useless (due to the lovely way the clonk gui 'main' routine is structured...
Parent - By PeterW [gb] Date 2011-10-17 17:19 Edited 2011-10-17 17:23
What you need to open the dump is exactly what you need to compile OpenClonk: The development environment with source code and all dependencies installed. But then you need extra magic bits on top that even I am not quite sure where to get them from. So no, for you that's certainly not easier :)
Parent - - By Newton [de] Date 2011-10-17 16:47
Yeah, I myself would also like to know how to use the Clonk.dmp for debugging correctly. Perhaps another wiki page on that in the development section would be good.
Parent - By PeterW [gb] Date 2011-10-17 17:23
The rough idea is to get a copy of the debug symbols and then open it in either VS or WinDbg (link) somehow. When I tried it first I used the second method, I think.
- - By Zura [br] Date 2011-10-17 19:21
I do not understand very well, could you explain more clearly?
Parent - - By PeterW [gb] Date 2011-10-17 19:24
What part? Have you tried following the tutorial?
Parent - - By Zura [br] Date 2011-10-18 13:14
I followed the tutorial and gave it:



Now what?
Parent - - By Sven2 [de] Date 2011-10-18 14:36
Nice! There's a null-texture the code tries to delete. That's a pretty obvious error Peter should be able to fix :)
Parent - By Zura [br] Date 2011-10-18 14:40
So I'll wait for him to see this topic again.
Parent - - By PeterW [gb] Date 2011-10-18 15:16
Yeah, thanks a lot for doing this, this makes it really obvious what the problem is (huh, silly me...). I will fix it once I get home.

In case you have time to test it, the fix is simply to replace
                glDeleteObjectARB(hMaterialTexture[i]);
by
                if (hMaterialTexture[i]) glDeleteObjectARB(hMaterialTexture[i]);

I wonder why this didn't happen before.
Parent - - By Zura [br] Date 2011-10-18 15:34
Other error happened:

Parent - - By PeterW [gb] Date 2011-10-18 15:54 Edited 2011-10-18 15:57
Hm, this is more puzzling. Does it work once you uncheck "high-resolution landscape" in the options? What's your graphics card? Are the drivers current?

I might have to starting actually checking a few of those OpenGL capabilities. Sigh, work...
Parent - - By Zura [br] Date 2011-10-18 16:48
When I turn off "high-resolution landscape" He's filled the landscape, but it generates another error:



My video card is this:



I updated all drivers for my computer to 3 days
Parent - - By PeterW [gb] Date 2011-10-18 19:03
Hm, I think the Intel chipsets can't run the high-res landscape anyway. But that it's crashing in the old-style rendering code as well is truly strange. I trust Clonk Rage works for you?
Parent - - By Zura [br] Date 2011-10-18 19:43
So, what now?
Parent - - By PeterW [gb] Date 2011-10-18 20:02
Well, does Clonk Rage work?
Parent - - By Zura [br] Date 2011-10-18 21:10
Clonk Rage works perfectly on my computer with everything on maximum.
Parent - - By PeterW [gb] Date 2011-10-19 13:58
Oh, forgot to specify: Does it work once you switch over to using OpenGL? I think CR still used DirectX by default.
Parent - - By Zura [br] Date 2011-10-19 14:58
In CR I use DirectX if I use OpenGL not to see anything of the images are square and the game with a 10 FPS, is marked in OpenClonk OpenGL and not DirectX to mark this if you wanted to know.
Parent - By Sven2 [de] Date 2011-10-19 15:31
There is no DirectX support for OpenClonk at the moment.
Parent - By PeterW [gb] Date 2011-10-19 15:39
Oh, so OC actually works better than CR with OpenGL? Then glDrawArrays might not even be the right lead. Bad.
Parent - - By Newton [de] Date 2011-10-18 20:29
Download here: http://www.clonk.de/cr.php?lng=en

Peter, did Clonk Rage also use glDrawArrays()? I vaguely remember there was a problem with some gl-function on intel chipsets...

And Zura, I want to stress how valuable your contribution is to us (I mean, that you supplied us with the debug info and all)! You have my gratitude :-)
Parent - By Newton [de] Date 2011-10-18 20:44 Edited 2011-10-18 20:54

>I vaguely remember there was a problem with some gl-function on intel chipsets...


Oh, yeah. Look at this bug: #609

Edit: and this, also glDrawArrays #516
Parent - - By PeterW [gb] Date 2011-10-19 14:04

> Peter, did Clonk Rage also use glDrawArrays()?


It does indeed not. Still, a strange function to have a problem with... Hm, in any case it would be interesting to know what the reason for the change was. I was under the conception that these parts of the code were virtually untouched.
Parent - By Günther [de] Date 2011-10-19 19:46
"OpenGL: Use Vertex Arrays instead of Begin/End", r13481 in the redwolf repository.

glBegin/glEnd have been deprecated since about forever. We're still not using the proper methods, but it's something. I should probably test Vertex Buffer Objects again, my graphics driver probably doesn't crash with them anymore.

As for the windows situation, making Direct3d work again is probably the only real solution.
Reply
Up Topic General / Help and Questions / I can not carry any phase

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill