Crashes and bugs (20007/12/16 SVN)

You have tested TA3D, share your experience /
Vous avez testé TA3D, venez partager votre expérience
Post Reply
User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Crashes and bugs (20007/12/16 SVN)

Post by Corsaire » Sun Dec 16, 2007 10:44 am

with TA3D version from SVN

I experienced crashes in the game, I think I narrowed the fact that when it crashes it always involves the fact to have planes flying around. Zuzuf you should try this.
Regarding the planes, its movements are still very far from natural, more observation from the original TA is to be recommanded here...


On another note, when you quit the game you receive a nasty short "BZZzzzsh" sound in your speakers, maybe you could have a look at this too ?

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

Post by zuzuf » Sun Dec 16, 2007 11:01 am

which version of FMOD do you use ?

last FMOD release is 4.10.2, I had problems too with FMOD, with 4.10.* it seems to be fixed.

Plane movements are far from being perfect, this is because I made tweaks to the pathfollowing code that should not be good for planes, now that pathfinding is fixed, things will change with planes.
=>;-D Penguin Powered

User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Post by Corsaire » Sun Dec 16, 2007 12:10 pm

package I dl from FMOD website is fmodapi40809linux64.tar.gz

User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Post by Corsaire » Sun Dec 16, 2007 12:23 pm

more bugs :

-rocks in fog-of-war appears redish
-commander's nanolathe stream is still too wide, you can it in particular when building an aircraft plant, the stream angle is at least 120° !
-plants basements still disappear in terrain
-when ordered to patrol, planes makes the scramble noise each time they reach a turning point. they should make this noise when ordered then be silent.

User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Post by Corsaire » Sun Dec 16, 2007 12:24 pm

game crashed again, this time I got this output :

00400000-005a1000 r-xp 00000000 08:06 2475214 /home/stranche/test/ta3d/ta3d-bin
007a1000-007a4000 rw-p 001a1000 08:06 2475214 /home/stranche/test/ta3d/ta3d-bin
007a4000-08ac9000 rw-p 007a4000 00:00 0 [heap]
40002000-40004000 rwxp 00000000 00:0e 2864 /dev/zero
40004000-40005000 ---p 40004000 00:00 0
40005000-40805000 rwxp 40005000 00:00 0
40805000-40806000 ---p 40805000 00:00 0
40806000-41006000 rwxp 40806000 00:00 0
41006000-41007000 ---p 41006000 00:00 0
41007000-41807000 rwxp 41007000 00:00 0
41807000-41808000 ---p 41807000 00:00 0
41808000-42008000 rwxp 41808000 00:00 0
42008000-4207c000 rw-p 00000000 00:0e 2864 /dev/zero
4207c000-4207d000 ---p 4207c000 00:00 0
4207d000-4287d000 rwxp 4207d000 00:00 0
4287d000-4287e000 ---p 4287d000 00:00 0
4287e000-4307e000 rwxp 4287e000 00:00 0
4307e000-4307f000 ---p 4307e000 00:00 0
4307f000-4387f000 rwxp 4307f000 00:00 0
4387f000-43880000 ---p 4387f000 00:00 0
43880000-44080000 rwxp 43880000 00:00 0
44080000-44081000 ---p 44080000 00:00 0
44081000-44881000 rwxp 44081000 00:00 0
2aaaaaaab000-2aaaaab41000 rw-p 2aaaaaaab000 00:00 0
2aaaaab41000-2aaaaab46000 r-xp 00000000 08:03 3131422 /usr/lib/allegro/4.2/alleg-dga2.so
2aaaaab46000-2aaaaac46000 ---p 00005000 08:03 3131422 /usr/lib/allegro/4.2/alleg-dga2.so
2aaaaac46000-2aaaaac47000 rw-p 00005000 08:03 3131422 /usr/lib/allegro/4.2/alleg-dga2.so
2aaaaac47000-2aaaaac4d000 rw-p 2aaaaac47000 00:00 0
2aaaaac59000-2aaaaac5f000 r-xp 00000000 08:03 2592809 /usr/lib/libXxf86dga.so.1.0.0
2aaaaac5f000-2aaaaae5e000 ---p 00006000 08:03 2592809 /usr/lib/libXxf86dga.so.1.0.0
2aaaaae5e000-2aaaaae5f000 rw-p 00005000 08:03 2592809 /usr/lib/libXxf86dga.so.1.0.0
2aaaaae5f000-2aaaaae63000 r-xp 00000000 08:03 3131423 /usr/lib/allegro/4.2/alleg-alsadigi.so
2aaaaae63000-2aaaaaf63000 ---p 00004000 08:03 3131423 /usr/lib/allegro/4.2/alleg-alsadigi.so
2aaaaaf63000-2aaaaaf64000 rw-p 00004000 08:03 3131423 /usr/lib/allegro/4.2/alleg-alsadigi.so
2aaaaaf75000-2aaaab04f000 r-xp 00000000 08:03 2590943 /usr/lib/libasound.so.2.0.0
2aaaab04f000-2aaaab24f000 ---p 000da000 08:03 2590943 /usr/lib/libasound.so.2.0.0
2aaaab24f000-2aaaab257000 rw-p 000da000 08:03 2590943 /usr/lib/libasound.so.2.0.0
2aaaab257000-2aaaab259000 r-xp 00000000 08:03 3131424 /usr/lib/allegro/4.2/alleg-alsamidi.so
2aaaab259000-2aaaab358000 ---p 00002000 08:03 3131424 /usr/lib/allegro/4.2/alleg-alsamidi.so
2aaaab358000-2aaaab359000 rw-p 00001000 08:03 3131424 /usr/lib/allegro/4.2/alleg-alsamidi.so
2aaaab359000-2aaaab377000 rw-s 00000000 00:09 0 /SYSV00000000 (deleted)
2aaaab377000-2aaaabaa5000 rw-s c0000000 00:0e 17598 /dev/nvidia0
2aaaabaa5000-2aaaabaa6000 rw-s b2001000 00:0e 17598 /dev/nvidia0
2aaaabaa6000-2aaaabbe8000 rw-s 79f27000 00:0e 17598 /dev/nvidia0
2aaaabbe8000-2aaaabbe9000 rw-s b2c02000 00:0e 17598 /dev/nvidia0
2aaaabbe9000-2aaaabbea000 rw-s 7986b000 00:0e 17598 /dev/nvidia0
2aaaabbea000-2aaaabbeb000 rw-s 7986c000 00:0e 17598 /dev/nvidia0
2aaaabbeb000-2aaaabbec000 rw-s cf58f000 00:0e 17598 /dev/nvidia0
2aaaabbec000-2aaaabbf0000 rw-s 7986e000 00:0e 17598 /dev/nvidia0
2aaaabbf0000-2aaaabcf0000 rw-s 79878000 00:0e 17598 /dev/nvidia0
2aaaabcf0000-2aaaabd30000 rw-s cf54e000 00:0e 17598 /dev/nvidia0
2aaaabd30000-2aaaabd31000 rw-s 00000000 00:09 1441810 /SYSV00000000 (deleted)
2aaaabd31000-2aaaabd32000 rw-s 00000000 00:09 1474579 /SYSV00000000 (deleted)
2aaaac000000-2aaaac1ba000 rw-p 2aaaac000000 00:00 0
2aaaac1ba000-2aaab0000000 ---p 2aaaac1ba000 00:00 0
2aaab0000000-2aaab0200000 rw-s aa601000 00:0e 17598 /dev/nvidia0
2b968589c000-2b96858b9000 r-xp 00000000 08:03 1918213 /lib/ld-2.6.1.so
2b96858b9000-2b96858bc000 rw-p 2b96858b9000 00:00 0
2b9685ab8000-2b9685aba000 rw-p 0001c000 08:03 1918213 /lib/ld-2.6.1.so
2b9685aba000-2b9685bcb000 r-xp 00000000 08:03 2742762 /usr/local/lib/libfmodex64.so.4.10.02
2b9685bcb000-2b9685ccb000 ---p 00111000 08:03 2742762 /usr/local/lib/libfmodex64.so.4.10.02
2b9685ccb000-2b9685ce0000 rw-p 00111000 08:03 2742762 /usr/local/lib/libfmodex64.so.4.10.02
2b9685ce0000-2b9685d9e000 rw-p 2b9685ce0000 00:00 0
2b9685d9e000-2b9685db4000 r-xp 00000000 08:03 2590767 /usr/lib/libz.so.1.2.3.3
2b9685db4000-2b9685fb4000 ---p 00016000 08:03 2590767 /usr/lib/libz.so.1.2.3.3
2b9685fb4000-2b9685fb5000 rw-p 00016000 08:03 2590767 /usr/lib/libz.so.1.2.3.3
2b9685fb5000-2b9686038000 r-xp 00000000 08:03 508040 /usr/lib/libGLU.so.1.3.070001
2b9686038000-2b9686237000 ---p 00083000 08:03 508040 /usr/lib/libGLU.so.1.3.070001
2b9686237000-2b9686239000 rw-p 00082000 08:03 508040 /usr/lib/libGLU.so.1.3.070001
2b9686239000-2b96862cd000 r-xp 00000000 08:03 508321 /usr/lib/libGL.so.100.14.19
2b96862cd000-2b96863cd000 ---p 00094000 08:03 508321 /usr/lib/libGL.so.100.14.19
2b96863cd000-2b9686401000 rwxp 00094000 08:03 508321 /usr/lib/libGL.so.100.14.19
2b9686401000-2b9686403000 rwxp 2b9686401000 00:00 0
2b9686403000-2b9686404000 rw-p 2b9686403000 00:00 0
2b9686404000-2b9686512000 r-xp 00000000 08:03 2594846 /usr/lib/liballeg.so.4.2
2b9686512000-2b9686611000 ---p 0010e000 08:03 2594846 /usr/lib/liballeg.so.4.2
2b9686611000-2b9686627000 rw-p 0010d000 08:03 2594846 /usr/lib/liballeg.so.4.2
2b9686627000-2b9686640000 rw-p 2b9686627000 00:00 0
2b9686640000-2b9686656000 r-xp 00000000 08:03 1918230 /lib/libpthread-2.6.1.so
2b9686656000-2b9686855000 ---p 00016000 08:03 1918230 /lib/libpthread-2.6.1.so
2b9686855000-2b9686857000 rw-p 00015000 08:03 1918230 /lib/libpthread-2.6.1.so
2b9686857000-2b968685b000 rw-p 2b9686857000 00:00 0
2b968685b000-2b9686860000 r-xp 00000000 08:03 2592813 /usr/lib/libXxf86vm.so.1.0.0
2b9686860000-2b9686a5f000 ---p 00005000 08:03 2592813 /usr/lib/libXxf86vm.so.1.0.0
2b9686a5f000-2b9686a60000 rw-p 00004000 08:03 2592813 /usr/lib/libXxf86vm.so.1.0.0
2b9686a60000-2b9686a61000 rw-p 2b9686a60000 00:00 0
2b9686a61000-2b9686a6b000 r-xp 00000000 08:03 2592933 /usr/lib/libXcursor.so.1.0.2
2b9686a6b000-2b9686c6a000 ---p 0000a000 08:03 2592933 /usr/lib/libXcursor.so.1.0.2
2b9686c6a000-2b9686c6b000 rw-p 00009000 08:03 2592933 /usr/lib/libXcursor.so.1.0.2
2b9686c6b000-2b9686c7c000 r-xp 00000000 08:03 2592829 /usr/lib/libXpm.so.4.11.0
2b9686c7c000-2b9686e7b000 ---p 00011000 08:03 2592829 /usr/lib/libXpm.so.4.11.0
2b9686e7b000-2b9686e7c000 rw-p 00010000 08:03 2592829 /usr/lib/libXpm.so.4.11.0
2b9686e7c000-2b9686e8d000 r-xp 00000000 08:03 2592691 /usr/lib/libXext.so.6.4.0
2b9686e8d000-2b968708c000 ---p 00011000 08:03 2592691 /usr/lib/libXext.so.6.4.0
2b968708c000-2b968708d000 rw-p 00010000 08:03 2592691 /usr/lib/libXext.so.6.4.0
2b968708d000-2b968708e000 rw-p 2b968708d000 00:00 0
2b968708e000-2b9687198000 r-xp 00000000 08:03 2592689 /usr/lib/libX11.so.6.2.0
2b9687198000-2b9687398000 ---p 0010a000 08:03 2592689 /usr/lib/libX11.so.6.2.0
2b9687398000-2b968739f000 rw-p 0010a000 08:03 2592689 /usr/lib/libX11.so.6.2.0
2b968739f000-2b96873a1000 r-xp 00000000 08:03 1918219 /lib/libdl-2.6.1.so
2b96873a1000-2b96875a1000 ---p 00002000 08:03 1918219 /lib/libdl-2.6.1.so
2b96875a1000-2b96875a3000 rw-p 00002000 08:03 1918219 /lib/libdl-2.6.1.so
2b96875a3000-2b96875f7000 r-xp 00000000 08:03 2772136 /usr/local/lib/libagl.so.0.4.3
2b96875f7000-2b96877f6000 ---p 00054000 08:03 2772136 /usr/local/lib/libagl.so.0.4.3
2b96877f6000-2b96877fb000 rw-p 00053000 08:03 2772136 /usr/local/lib/libagl.so.0.4.3
2b96877fb000-2b9687800000 rw-p 2b96877fb000 00:00 0
2b9687800000-2b96878f0000 r-xp 00000000 08:03 2591244 /usr/lib/libstdc++.so.6.0.9
2b96878f0000-2b9687aef000 ---p 000f0000 08:03 2591244 /usr/lib/libstdc++.so.6.0.9
2b9687aef000-2b9687af5000 r--p 000ef000 08:03 2591244 /usr/lib/libstdc++.so.6.0.9
2b9687af5000-2b9687af8000 rw-p 000f5000 08:03 2591244 /usr/lib/libstdc++.so.6.0.9
2b9687af8000-2b9687b0b000 rw-p 2b9687af8000 00:00 0
2b9687b0b000-2b9687b8b000 r-xp 00000000 08:03 1918220 /lib/libm-2.6.1.so
2b9687b8b000-2b9687d8a000 ---p 00080000 08:03 1918220 /lib/libm-2.6.1.so
2b9687d8a000-2b9687d8c000 rw-p 0007f000 08:03 1918220 /lib/libm-2.6.1.so
2b9687d8c000-2b9687d99000 r-xp 00000000 08:03 1916942 /lib/libgcc_s.so.1
2b9687d99000-2b9687f99000 ---p 0000d000 08:03 1916942 /lib/libgcc_s.so.1
2b9687f99000-2b9687f9a000 rw-p 0000d000 08:03 1916942 /lib/libgcc_s.so.1
2b9687f9a000-2b9687f9b000 rw-p 2b9687f9a000 00:00 0
2b9687f9b000-2b96880ed000 r-xp 00000000 08:03 1918216 /lib/libc-2.6.1.so
2b96880ed000-2b96882ec000 ---p 00152000 08:03 1918216 /lib/libc-2.6.1.so
2b96882ec000-2b96882ef000 r--p 00151000 08:03 1918216 /lib/libc-2.6.1.so
2b96882ef000-2b96882f1000 rw-p 00154000 08:03 1918216 /lib/libc-2.6.1.so
2b96882f1000-2b96882f6000 rw-p 2b96882f1000 00:00 0
2b96882f6000-2b9688ad5000 r-xp 00000000 08:03 508322 /usr/lib/libGLcore.so.100.14.19
2b9688ad5000-2b9688bd4000 ---p 007df000 08:03 508322 /usr/lib/libGLcore.so.100.14.19
2b9688bd4000-2b9688d47000 rwxp 007de000 08:03 508322 /usr/lib/libGLcore.so.100.14.19
2b9688d47000-2b9688d4d000 rwxp 2b9688d47000 00:00 0
2b9688d4d000-2b9688d4e000 r-xp 00000000 08:03 2657803 /usr/lib/tls/libnvidia-tls.so.100.14.19
2b9688d4e000-2b9688e4d000 ---p 00001000 08:03 2657803 /usr/lib/tls/libnvidia-tls.so.100.14.19
2b9688e4d000-2b9688e4e000 rw-p 00000000 08:03 2657803 /usr/lib/tls/libnvidia-tls.so.100.14.19
2b9688e4e000-2b9688e4f000 rw-p 2b9688e4e000 00:00 0
2b9688e4f000-2b9688e58000 r-xp 00000000 08:03 2592752 /usr/lib/libXrender.so.1.3.0
2b9688e58000-2b9689057000 ---p 00009000 08:03 2592752 /usr/lib/libXrender.so.1.3.0
2b9689057000-2b9689058000 rw-p 00008000 08:03 2592752 /usr/lib/libXrender.so.1.3.0
2b9689058000-2b968905d000 r-xp 00000000 08:03 2592695 /usr/lib/libXfixes.so.3.1.0
2b968905d000-2b968925c000 ---p 00005000 08:03 2592695 /usr/lib/libXfixes.so.3.1.0
2b968925c000-2b968925d000 rw-p 00004000 08:03 2592695 /usr/lib/libXfixes.so.3.1.0
2b968925d000-2b968925f000 r-xp 00000000 08:03 2592685 /usr/lib/libXau.so.6.0.0
2b968925f000-2b968945e000 ---p 00002000 08:03 2592685 /usr/lib/libXau.so.6.0.0
2b968945e000-2b968945f000 rw-p 00001000 08:03 2592685 /usr/lib/libXau.so.6.0.0
2b968945f000-2b9689460000 rw-p 2b968945f000 00:00 0
2b9689460000-2b9689465000 r-xp 00000000 08:03 2592687 /usr/lib/libXdmcp.so.6.0.0
2b9689465000-2b9689664000 ---p 00005000 08:03 2592687 /usr/lib/libXdmcp.so.6.0.0
2b9689664000-2b9689665000 rw-p 00004000 08:03 2592687 /usr/lib/libXdmcp.so.6.0.0
2b9689665000-2b9689667000 rw-p 2b9689665000 00:00 0
7fff251e0000-7fff2520d000 rwxp 7fff251e0000 00:00 0 [stack]
7fff2520d000-7fff2520e000 rw-p 7fff2520d000 00:00 0
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vdso]

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

Post by zuzuf » Sun Dec 16, 2007 12:59 pm

hm, could you run it through gdb ? it would tell us directly where it crashed in the code.

can you test with an updated FMOD ?
=>;-D Penguin Powered

User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Post by Corsaire » Sun Dec 16, 2007 1:18 pm

just installed fmodapi41002linux64.tar.gz

here's GDB trace done with "bt" command when crashed

I wasn't hable to reproduce the bug when running into GDB (odd thing) but when I want to quit or I achieve Victory I get this :

Program received signal SIGABRT, Aborted.
[Switching to Thread 47905302099120 (LWP 9965)]
0x00002b91d11a1765 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002b91d11a1765 in raise () from /lib/libc.so.6
#1 0x00002b91d11a31c0 in abort () from /lib/libc.so.6
#2 0x00002b91d11da60b in ?? () from /lib/libc.so.6
#3 0x00002b91d11e1b0a in ?? () from /lib/libc.so.6
#4 0x00002b91d11e56fc in free () from /lib/libc.so.6
#5 0x00002b91cf634838 in destroy_bitmap () from /usr/lib/liballeg.so.4.2
#6 0x00000000004901b2 in MAP::destroy (this=0x6c02e30) at EngineClass.cpp:72
#7 0x000000000042616a in play (game_data=0x7fffdc032c00) at ta3d.cpp:2920
#8 0x000000000045e614 in setup_game () at menu.cpp:1442
#9 0x000000000046b5f7 in main_menu () at menu.cpp:234
#10 0x0000000000440a97 in main (argc=1, argv=0x7fffdc0356f8) at main.cpp:333



On a side note, planes behaviour has lots of issues, planes can get stuck out of the map, far away from the borders.
when attacking planes pass over their target and often go out of the map due to their manoever radius, if target is destroyed when the plane is out of the map, it just stop and land where it is.
There should be a condition to forbid landing out of map.

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

Post by zuzuf » Sun Dec 16, 2007 1:38 pm

I am working on planes landed out of the map, I made a modification I haven't tested yet, but it should be fixed. Which version of Allegro do you use ?
=>;-D Penguin Powered

User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Post by Corsaire » Sun Dec 16, 2007 1:54 pm

allegro4.2 2:4.2.0-5 (ubuntu 7.10)
alleggl-0.4.3.tar.bz2

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

Post by zuzuf » Sun Dec 16, 2007 2:23 pm

hm, can you try to update Allegro ? Only to see if it's linked to Allegro or not.
=>;-D Penguin Powered

User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Post by Corsaire » Sun Dec 16, 2007 2:47 pm

I downloaded allegro-4.2.2.tar.gz and compiled against it alleggl-0.4.3.tar.bz2 and TA3D .. this time no crash.

it's not good if TA3D is this picky on the allegro versions... or at least there should be a warning at compile time to say "upgrade to allegro >= 4.2.2 !"

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

Post by zuzuf » Sun Dec 16, 2007 3:00 pm

yes, I will break configure compatibility with Allegro 4.2.0 since it seems we need some bug fixes introduced in later versions.

PS: current SVN doesn't accept Allegro 4.2.0 any more, it requires Allegro >= 4.2.2
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests