plastoc Report post Posted March 25, 2004 i am running the last cvs compiled version, i had no error while compiling, but i got some seg fault. i dont know if this error is related, but here is the content of my error_log.txt : Error: Problems loading texture: ./textures/fontv.bmp i dont have that file, and cant find it in any zip file (nor upgrade nor download). btw, i cant find a el.x86.linux.bin by default that is the good version. I probably did an error, but i dont see where =) -- plastoc Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 marf i am sorry to bother for nothing, now it seems to work after i downloaded the full 0.9.7 zip file and unzipped it in the el tree. i think i messed up with the update =) Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 ok, i still have the seg fault, that's mainly occuring while i cast spell (i was casting restore life) Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 sometimes, it crash after i casted a spell and when i open my inventory.and there is still nothing in the errog log. i hope it helps, i am not sure how i can run it with more debug output. Share this post Link to post Share on other sites
Learner Report post Posted March 25, 2004 i dont know if this error is related, but here is the content of my error_log.txt :Error: Problems loading texture: ./textures/fontv.bmp You can safely ignore this error. Do you know gdb good enough to get a stack trace of where it crashed it? You'd want to compile a debug version, not a release version. Also, Entropy on the Updates page has a link just for Linux users the last time I looked for the executable. Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 tx for the linux binary=) i'll look into gdb =) so i can give some more precise information =) Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 i am looking into the Makefile.linux and i dont see how to activation de debug stuff. (am sorry, i am quite noob about dev stuff, i am just a linux user Share this post Link to post Share on other sites
Cicero Report post Posted March 25, 2004 It builds with debug symbols by default, if you "make release" it will build an optimized binary without debug symbols. Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 ok i think i got all the good stuff for u =) i log in, i cast a restore life then i open my inventory, blada ! core dumped gdb -c core.2692 gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, consider re-linking GNU gdb 6.0-debian Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux". Core was generated by `./el.cvs.bin.debug'. Program terminated with signal 11, Segmentation fault. #0 0x0806f393 in ?? () well, it is like trying to talk japanese to me =) i hope it helps=) do u want me to run some aditionnal command in gdb ? Share this post Link to post Share on other sites
Entropy Report post Posted March 25, 2004 Yes, please run: bt Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 (gdb) bt #0 0x0806f393 in ?? () Cannot access memory at address 0xbffff8c0 (gdb) Share this post Link to post Share on other sites
Cicero Report post Posted March 25, 2004 Are you running gdb in the same directory as the source files? Share this post Link to post Share on other sites
plastoc Report post Posted March 25, 2004 i think the message finally get to my brain =) plastoc@scelerat:~/games/eternallands/cvsroot/elc$ gdb -c core.2692 ./el.x86.linux.bin (blablabla) Reading symbols from /lib/libnss_dns.so.2...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 #0 0x0806f393 in display_items_menu () at items.c:178 178 if(last_texture!=texture_cache[this_texture].texture_id) (gdb) bt #0 0x0806f393 in display_items_menu () at items.c:178 Cannot access memory at address 0xbffff98c (gdb) Share this post Link to post Share on other sites
Entropy Report post Posted March 25, 2004 Oops, sorry, forgot to commit some headers. I commited them now, so all should work nice. Share this post Link to post Share on other sites
plastoc Report post Posted March 26, 2004 i hope i am useful =) it doesnt compile anymore plastoc@scelerat:~/games/eternallands/cvsroot/elc$ make -f Makefile.linux clean rm -f 2d_objects.o 3d_objects.o actor_scripts.o actors.o asc.o colors.o console.o cursors.o dialogues.o draw_scene.o errors.o events.o filter.o font.o frustum.o gl_init.o global.o help.o ignore.o init.o interface.o items.o lights.o main.o manufacture.o map_io.o md2loader.o md5.o misc.o multiplayer.o new_actors.o new_character.o particles.o paste.o reflection.o shadows.o sound.o spells.o stats.o text.o textures.o tile_map.o trade.o weather.o el.x86.linux.bin plastoc@scelerat:~/games/eternallands/cvsroot/elc$ make -f Makefile.linux cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c 2d_objects.c cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c 3d_objects.c cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c actor_scripts.c cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c actors.c cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c asc.c cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c colors.c cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c console.c cc -Wall -ggdb -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c cursors.c cursors.c: In function `check_cursor_change': cursors.c:332: error: `view_my_items' undeclared (first use in this function) cursors.c:332: error: (Each undeclared identifier is reported only once cursors.c:332: error: for each function it appears in.) cursors.c:332: error: `items_menu_x' undeclared (first use in this function) cursors.c:332: error: `items_menu_y' undeclared (first use in this function) cursors.c:333: error: `view_ground_items' undeclared (first use in this function) cursors.c:333: error: `ground_items_menu_x' undeclared (first use in this function) cursors.c:333: error: `ground_items_menu_y' undeclared (first use in this function) cursors.c:342: error: `view_manufacture_menu' undeclared (first use in this function) cursors.c:342: error: `manufacture_menu_x' undeclared (first use in this function) cursors.c:342: error: `manufacture_menu_y' undeclared (first use in this function) cursors.c:344: error: `view_trade_menu' undeclared (first use in this function) cursors.c:344: error: `trade_menu_x' undeclared (first use in this function) cursors.c:344: error: `trade_menu_y' undeclared (first use in this function) make: *** [cursors.o] Error 1 plastoc@scelerat:~/games/eternallands/cvsroot/elc$ Share this post Link to post Share on other sites
Entropy Report post Posted March 26, 2004 God damn it, I submited the SERVER files instead of client files!!! Well, I guess that's normal, since I didn't bother to sleep last night. Lerarner/Cicero, how can we roll back to the previous version? Share this post Link to post Share on other sites
Learner Report post Posted March 26, 2004 Previous version rolled back for you. Share this post Link to post Share on other sites
Entropy Report post Posted March 26, 2004 U r teh r0x0r Thanks. Ok, I submited my modifications, now it shouldn't crash... Share this post Link to post Share on other sites
Cicero Report post Posted March 26, 2004 Ack! I was in the middle of doing it, too. That was weird... Share this post Link to post Share on other sites
Entropy Report post Posted March 26, 2004 Cicero, I think your new code for Linux path things affects the windows version as well, in a negative way, since a map that exists ("./maps/map7_cave.elm") fails to load, with a file not found error.... But other various map works. This is a bug that happens right after I log in with Entropy, which is in that map. In other maps there are no problems...Any ideas? Share this post Link to post Share on other sites
Cicero Report post Posted March 26, 2004 I wrapped it all in ifdef's, so there's no way it could affect the windows version... Share this post Link to post Share on other sites
Entropy Report post Posted March 26, 2004 Yeah, I seen that now. And it doesn't crash there, I just run it i a wrong dir, where I didn't have that map. It still crashes in the proper dir, but I have no clue where, since it doesn't crash under GDB... Share this post Link to post Share on other sites