ahh okay, here it is laugh
I did some more trials, and it must be because of my code (but it is strange why it happens only in the trial version), because only one of my projects start to cause this error, but afterwards other 3dgs applications also closed wrongly. after pc restart the others are closed well.

Code:
Log of A8 Engine 8.30.5 run at Mon Feb 13 22:10:45 2012
Iván on Windows NT/2000/XP version 5.1 Build 2600
Options MapBuilder.c -nx 200 -diag -ta
App: C:\Program Files\GStudio8\acknex.exe in C:\Documents and Settings\Iván\Dokumentumok\3D GameStudio Projects\____MapBuilder V105m9\

MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened(c) Conitec - www.3dgamestudio.com
A8 Engine - Trial Edition V8.30.5 - Nov  2 2011
Development version
7 days left

Mouse found
SB Live! Audio [C000] opened
NVIDIA GeForce 6200   pure T&L device 1ff9 detected
D3D device NVIDIA GeForce 6200   1ff9 selected.
ackphysx.dll opened
ackwii.dll opened
Compiling MAPBUILDER.C - [Esc] to abort........
PATH C:\Program Files\GStudio8\code\
PATH C:\Program Files\GStudio8\templates\images\...........................................................
terrain_hmp\terrain_resave.dll opened.........................................................................................................................................................................................................
PATH shadows\
PATH shadows\
PATH shadows\.. 12.161 sec
Running MAPBUILDER.C.
154 objects
Main started at 13.321
D3D_Init Screen: 1024x768 -> Screen: 2x1024x768x32
Video memory found: 485 MB
LevelInit at 14.119
0 entities 0 cameras 0 lights 0 sounds 0 paths
 0 lmaps 0 textures...ok
LevelReady at 14.332
def_startup started
mtlfx_startup started
SaveWmb_Flags_startup started
Main loop at 14.355....
1st frame with 485 MB. at 14.427
LevelInit at 17.093
PATH levels\
308 entities 0 cameras 0 lights 0 sounds 0 paths
 1 lmaps 0 textures...ok
LevelReady at 26.165
PATH skies\
PATH graphics\
PATH graphics\
Normal exit at 63.000
Close level,DLL,objects
Free input,funcs,panels,defs,syns,views,strings



if I use only the main menu of the same project, everything is fine, so probably I should check again my dynamic arrays, especially where I use malloc/realloc/free instead of sys_malloc/sys_free. I think, a few global string arrays cannot cause this behaviour.

Code:
Log of A8 Engine 8.30.5 run at Mon Feb 13 22:14:12 2012
Iván on Windows NT/2000/XP version 5.1 Build 2600
Options MapBuilder.c -nx 200 -diag -ta
App: C:\Program Files\GStudio8\acknex.exe in C:\Documents and Settings\Iván\Dokumentumok\3D GameStudio Projects\____MapBuilder V105m9\

MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened(c) Conitec - www.3dgamestudio.com
A8 Engine - Trial Edition V8.30.5 - Nov  2 2011
Development version
7 days left

Mouse found
SB Live! Audio [C000] opened
NVIDIA GeForce 6200   pure T&L device 1ff9 detected
D3D device NVIDIA GeForce 6200   1ff9 selected.
ackphysx.dll opened
ackwii.dll opened
Compiling MAPBUILDER.C - [Esc] to abort........
PATH C:\Program Files\GStudio8\code\
PATH C:\Program Files\GStudio8\templates\images\...........................................................
terrain_hmp\terrain_resave.dll opened.........................................................................................................................................................................................................
PATH shadows\
PATH shadows\
PATH shadows\.. 10.198 sec
Running MAPBUILDER.C.
154 objects
Main started at 11.288
D3D_Init Screen: 1024x768 -> Screen: 2x1024x768x32
Video memory found: 485 MB
LevelInit at 11.855
0 entities 0 cameras 0 lights 0 sounds 0 paths
 0 lmaps 0 textures...ok
LevelReady at 12.066
def_startup started
mtlfx_startup started
SaveWmb_Flags_startup started
Main loop at 12.097....
1st frame with 485 MB. at 12.102
Normal exit at 13.887
Close level,DLL,objects
Free input,funcs,panels,defs,syns,views,strings,vars..ok
Free sounds,bmaps,fonts,hash,defs1,script..ok
Close dx,multimedia,D3D,engine,nexus..ok
A8 Engine - Trial Edition V8.30.5 - Nov  2 2011
(c) Conitec - www.3dgamestudio.com
7 days left
Close window at 14.752



I changed my exit event, now a new refined exit function is called, and the directx problem disappeared. only the crash message remained. and I also transformed a static entity array into a dynamically created one.

Last edited by sivan; 02/14/12 08:19.

Free world editor for 3D Gamestudio: MapBuilder Editor