From: Bernhard K. <ber...@gm...> - 2003-02-09 21:12:46
|
Hi, I checkout the CVS today (installed gcc-3.3 also), and noticed that make datainstall fails in data/cars/categories/offroad-r-a because it does not include a Makefile(I guess it should be removed or disabled in data/cars/categories/Makefile) So I went to do it this way: make install (cd data;LD_LIBRARY_PATH=/usr/local/lib gdb ../src/linux/torcs ) Is this ok? Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 16384 (LWP 19343)] disabling TCL support No race manager available Program received signal SIGSEGV, Segmentation fault. 0x40344c55 in GfRlstGetFirst(tRingListHead*) (head=0x10) at ringlist.cpp:134 134 if (head->next == (tRingList*)head) { (gdb) bt #0 0x40344c55 in GfRlstGetFirst(tRingListHead*) (head=0x10) at ringlist.cpp:134 #1 0x40327027 in GenCarsInfo () at driverconfig.cpp:241 #2 0x4032805d in TorcsDriverMenuInit(void*) (prevMenu=0x8106400) at driverconfig.cpp:566 #3 0x40326905 in TorcsOptionOptionInit(void*) (precMenu=0x8105410) at optionmenu.cpp:50 #4 0x40326493 in TorcsMainMenuInit() () at mainmenu.cpp:81 #5 0x403263a8 in TorcsEntry() () at entry.cpp:48 #6 0x08048ccf in main (argc=1, argv=0xbffff574) at main.cpp:52 #7 0x40478917 in __libc_start_main () from /lib/libc.so.6 (gdb) As *head is 0x10, head->next is not in accessible memory. Same with gcc-3.2 and gcc-3.3, as hack I could add an easy check for a small value but this won't fix the source of the problem. Does anybody know a date/tag which should work? (I wanted to extend the human driver to work also with kbd/mouse and didn't want to work on ancient code) Many thanks, btw, great looking project otherwise! Bernd |