3 crash debuging (sdl.delay?)

You have tested TA3D, share your experience /
Vous avez testé TA3D, venez partager votre expérience
Post Reply
xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

3 crash debuging (sdl.delay?)

Post by xpoy » Mon Jul 06, 2009 6:54 am

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..... /:^[

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3 crash debuging (sdl.delay?)

Post by zuzuf » Mon Jul 06, 2009 5:28 pm

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.
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3 crash debuging (sdl.delay?)

Post by xpoy » Mon Jul 06, 2009 7:15 pm

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
Attachments
stdout.rar
(2.25 KiB) Downloaded 702 times

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3 crash debuging (sdl.delay?)

Post by zuzuf » Mon Jul 06, 2009 10:46 pm

so it sounds like there is really something wrong with VFS on windows :evil: since it doesn't like reloading it :(
I'll see that tomorrow.
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3 crash debuging (sdl.delay?)

Post by xpoy » Tue Jul 07, 2009 11:59 am

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..

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3 crash debuging (sdl.delay?)

Post by zuzuf » Tue Jul 07, 2009 5:12 pm

I think it's somewhere between reading file list and storing it into an internal data structure.
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3 crash debuging (sdl.delay?)

Post by xpoy » Tue Jul 07, 2009 8:31 pm

importand, always crash when start a campaign games, it was helpful in locate problem...

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3 crash debuging (sdl.delay?)

Post by zuzuf » Tue Jul 07, 2009 10:09 pm

so running a game doesn't corrupt anything that could crash the VFS module ... VFS just crash when reloaded :evil: (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

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3 crash debuging (sdl.delay?)

Post by xpoy » Wed Jul 08, 2009 4:16 am

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.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3 crash debuging (sdl.delay?)

Post by zuzuf » Wed Jul 08, 2009 3:38 pm

it's in trac now :P
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3 crash debuging (sdl.delay?)

Post by xpoy » Thu Jul 09, 2009 7:10 pm

:(
back to AI.
Maybe I will read source after Ai. And plz fix it :|

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3 crash debuging (sdl.delay?)

Post by zuzuf » Thu Jul 09, 2009 9:32 pm

I couldn't run it in gdb in my virtual box, I don't know why :evil: .
I am installing a fresh new XP in virtual box and a fresh mingw/msys install, maybe it'll help, but it takes time :evil:
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3 crash debuging (sdl.delay?)

Post by xpoy » Fri Jul 10, 2009 5:11 pm

If there are a map file for debug, the problem locate be more eazyly. Map files if GPS for this :)

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests