3 crash debuging (sdl.delay?)
3 crash debuging (sdl.delay?)
That quit game crash:
5157b8 wrong argc call memmove
There are a nearly string "cache".
And in this time moving second feature in resources.
At least The memove's argc source and target was wrong, target no memory alloced.
Set mod then into menu crash:
Some time crash in here, 68ae98 (call 503470), this one open these files, intro, and mod.
That look like a call to sdl, but other time work fine. Only test twice, first time no cache, it crashed. Last time had cache, the mod be changed.
This crash was calling SDL.delay, look like some other thread mess matter up, or wrong argc, or memory crash
And that crash after
[Mon Jul 06 14:34:44 2009] [infos] Low definition map image built in 0.121s.
[Mon Jul 06 14:34:45 2009] [infos] Low definition texture uploaded in 0.151s.
[Mon Jul 06 14:34:45 2009] [infos] Lava image built in 0s.
also was calling SDL.delay, and was installling SEH(Win32 Exception Handling), that little confused. maybe call SDL.delay then SDL install SEH, and crash in SDL.delay (?)
hehe, I guess the SDL.delay maybe below the TA3D Exception Hand, then the stacks in win32 was no use, and maybe must debug in linux. But in bad, had try to install ubuntu 7.?? 2 hours, but only waste 2 GB hard disk and reinstall XP, confused in ubuntu still need CD after install by hard disk(copy CD to C:, w-boot, installed, then asked CD). And I had nero a ubuntu CD, but some bad tracks made it only a boot function..... /:^[
5157b8 wrong argc call memmove
There are a nearly string "cache".
And in this time moving second feature in resources.
At least The memove's argc source and target was wrong, target no memory alloced.
Set mod then into menu crash:
Some time crash in here, 68ae98 (call 503470), this one open these files, intro, and mod.
That look like a call to sdl, but other time work fine. Only test twice, first time no cache, it crashed. Last time had cache, the mod be changed.
This crash was calling SDL.delay, look like some other thread mess matter up, or wrong argc, or memory crash
And that crash after
[Mon Jul 06 14:34:44 2009] [infos] Low definition map image built in 0.121s.
[Mon Jul 06 14:34:45 2009] [infos] Low definition texture uploaded in 0.151s.
[Mon Jul 06 14:34:45 2009] [infos] Lava image built in 0s.
also was calling SDL.delay, and was installling SEH(Win32 Exception Handling), that little confused. maybe call SDL.delay then SDL install SEH, and crash in SDL.delay (?)
hehe, I guess the SDL.delay maybe below the TA3D Exception Hand, then the stacks in win32 was no use, and maybe must debug in linux. But in bad, had try to install ubuntu 7.?? 2 hours, but only waste 2 GB hard disk and reinstall XP, confused in ubuntu still need CD after install by hard disk(copy CD to C:, w-boot, installed, then asked CD). And I had nero a ubuntu CD, but some bad tracks made it only a boot function..... /:^[
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3 crash debuging (sdl.delay?)
strange, sometimes I get a crash in SDL stuffs but I believe it's related to some memory corruption bug (a few things aren't clean yet ...
Concerning Ubuntu, I think you can install it from an alternate repository (http, HDD, ftp, etc ...) if you use the alternate CD.
Concerning Ubuntu, I think you can install it from an alternate repository (http, HDD, ftp, etc ...) if you use the alternate CD.
=>;-D Penguin Powered
Re: 3 crash debuging (sdl.delay?)
Will try that
There are a nearly problem, the VFS
Didn't know why, but it always crash when I want a game, in list the resouces. Play the camp/ change the mods, maybe some other parts will crash
And can't used SUH mod, so game crash in LD maps loaded every times
There are a nearly problem, the VFS
Didn't know why, but it always crash when I want a game, in list the resouces. Play the camp/ change the mods, maybe some other parts will crash
And can't used SUH mod, so game crash in LD maps loaded every times
- Attachments
-
- stdout.rar
- (2.25 KiB) Downloaded 709 times
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3 crash debuging (sdl.delay?)
so it sounds like there is really something wrong with VFS on windows since it doesn't like reloading it
I'll see that tomorrow.
I'll see that tomorrow.
=>;-D Penguin Powered
Re: 3 crash debuging (sdl.delay?)
will no and never try ubuntu, it really left me a worst experience
a simple introduction, in chinese. will not translate it, LOL /:^]
http://bbs.taclub.net/taclub/newta/view ... p?tid=9441
That VFS problem, maybe in open files, or create file..
a simple introduction, in chinese. will not translate it, LOL /:^]
http://bbs.taclub.net/taclub/newta/view ... p?tid=9441
That VFS problem, maybe in open files, or create file..
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3 crash debuging (sdl.delay?)
I think it's somewhere between reading file list and storing it into an internal data structure.
=>;-D Penguin Powered
Re: 3 crash debuging (sdl.delay?)
importand, always crash when start a campaign games, it was helpful in locate problem...
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3 crash debuging (sdl.delay?)
so running a game doesn't corrupt anything that could crash the VFS module ... VFS just crash when reloaded (it needs to be reloaded when TA3D creates a new file that needs to be added into the VFS stuffs like the campaign mission script which is autogenerated from TA mission orders)
=>;-D Penguin Powered
Re: 3 crash debuging (sdl.delay?)
will try to follow this problem, but look like need follow in trac /:^{
Hadn't download newest trunk, it had be huge for net(20 kb/sec download speed, or less when svn)
And I advice compiler with map file, then load source when debug, it was helpful in trace.
Hadn't download newest trunk, it had be huge for net(20 kb/sec download speed, or less when svn)
And I advice compiler with map file, then load source when debug, it was helpful in trace.
Re: 3 crash debuging (sdl.delay?)
back to AI.
Maybe I will read source after Ai. And plz fix it
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3 crash debuging (sdl.delay?)
I couldn't run it in gdb in my virtual box, I don't know why .
I am installing a fresh new XP in virtual box and a fresh mingw/msys install, maybe it'll help, but it takes time
I am installing a fresh new XP in virtual box and a fresh mingw/msys install, maybe it'll help, but it takes time
=>;-D Penguin Powered
Re: 3 crash debuging (sdl.delay?)
If there are a map file for debug, the problem locate be more eazyly. Map files if GPS for this
Who is online
Users browsing this forum: No registered users and 24 guests