Elke Report post Posted April 16, 2015 I use a self-compiled client 1.9.4-RC2 @ [secret] 1.9.4-rc2 default/master tip master 5720:ffaa4c140840 2015-04-07 23:06 +0100 (Paul Broadhead) | 1.9.4 version bumps for package and other build files. and seem to reliably get a crash (invalid memory access). It happens unattended; possibly triggers from a big harvesting event of other people nearby according to the screenshot. planetmaker@localhost:~/eternal-lands/el_linux$ gdb ./hgel GNU gdb (GDB) Fedora 7.7.1-21.fc20 Copyright © 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./hgel...done. (gdb) run Starting program: /home/planetmaker/eternal-lands/el_linux/hgel [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffe8198700 (LWP 5017)] [New Thread 0x7fffe7997700 (LWP 5018)] [New Thread 0x7fffe5e52700 (LWP 5019)] [New Thread 0x7fffe5651700 (LWP 5020)] [New Thread 0x7fffe4e50700 (LWP 5021)] [New Thread 0x7fffd7fff700 (LWP 5022)] [New Thread 0x7fffd77fe700 (LWP 5023)] [Thread 0x7fffd7fff700 (LWP 5022) exited] [New Thread 0x7fffd7fff700 (LWP 5024)] [Thread 0x7fffd7fff700 (LWP 5024) exited] [New Thread 0x7fffd7fff700 (LWP 5025)] [Thread 0x7fffd7fff700 (LWP 5025) exited] [New Thread 0x7fffd7fff700 (LWP 5026)] [Thread 0x7fffd7fff700 (LWP 5026) exited] [New Thread 0x7fffd7fff700 (LWP 5027)] [New Thread 0x7fffe420d700 (LWP 5028)] [New Thread 0x7fffbfffe700 (LWP 5029)] Program received signal SIGSEGV, Segmentation fault. 0x000000000042d896 in my_strncp (dest=0x2dec7e0 "", source=0x528 <error: Cannot access memory at address 0x528>, len=128) at asc.c:234 234 asc.c: Datei oder Verzeichnis nicht gefunden. Missing separate debuginfos, use: debuginfo-install SDL-1.2.15-13.fc20.x86_64 SDL_image-1.2.12-7.fc20.x86_64 SDL_net-1.2.8-4.fc20.x86_64 cal3d-0.11.0-15.fc20.x86_64 dbus-libs-1.6.30-1.fc20.x86_64 elfutils-libelf-0.161-6.fc20.x86_64 expat-2.1.0-7.fc20.x86_64 flac-libs-1.3.1-1.fc20.x86_64 glibc-2.18-19.fc20.x86_64 gsm-1.0.13-10.fc20.x86_64 jbigkit-libs-2.0-10.fc20.x86_64 json-c-0.11-6.fc20.x86_64 libICE-1.0.8-6.fc20.x86_64 libSM-1.2.1-6.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXcursor-1.1.14-2.fc20.x86_64 libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64 libXi-1.7.4-1.fc20.x86_64 libXrandr-1.4.1-2.fc20.x86_64 libXrender-0.9.8-2.fc20.x86_64 libXtst-1.2.2-2.fc20.x86_64 libXxf86vm-1.1.3-2.fc20.x86_64 libasyncns-0.8-6.fc20.x86_64 libattr-2.4.47-3.fc20.x86_64 libcap-2.22-7.fc20.x86_64 libdrm-2.4.58-1.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libgcc-4.8.3-7.fc20.x86_64 libgcrypt-1.5.3-2.fc20.x86_64 libgpg-error-1.12-1.fc20.x86_64 libjpeg-turbo-1.3.1-3.fc20.x86_64 libogg-1.3.0-6.fc20.x86_64 libpng-1.6.6-3.fc20.x86_64 libselinux-2.2.1-6.fc20.x86_64 libsndfile-1.0.25-9.fc20.x86_64 libstdc++-4.8.3-7.fc20.x86_64 libtiff-4.0.3-15.fc20.x86_64 libuuid-2.24.2-2.fc20.x86_64 libvorbis-1.3.4-1.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-3.fc20.x86_64 llvm-libs-3.4-12.fc20.x86_64 mesa-dri-drivers-10.3.3-1.20141110.fc20.x86_64 mesa-libGL-10.3.3-1.20141110.fc20.x86_64 mesa-libGLU-9.0.0-5.fc20.x86_64 mesa-libglapi-10.3.3-1.20141110.fc20.x86_64 ncurses-libs-5.9-12.20130511.fc20.x86_64 nss-mdns-0.10-13.fc20.x86_64 openal-soft-1.16.0-2.fc20.x86_64 pcre-8.33-8.fc20.x86_64 pulseaudio-libs-5.0-25.fc20.x86_64 systemd-libs-208-30.fc20.x86_64 tcp_wrappers-libs-7.6-76.fc20.x86_64 xz-libs-5.1.2-12alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64 (gdb) bt full #0 0x000000000042d896 in my_strncp (dest=0x2dec7e0 "", source=0x528 <error: Cannot access memory at address 0x528>, len=128) at asc.c:234 No locals. #1 0x00000000004cdd1a in add_enhanced_actor_from_server ( in_data=0x7fffc40012f3 "O\001\066", len=45) at new_actors.c:945 actor_id = 335 buffs = 0 x_pos = 54 y_pos = 72 z_rot = 45 max_health = 330 cur_health = 257 actor_type = 42 skin = 5 '\005' hair = 6 '\006' eyes = 10 '\n' shirt = 50 '2' pants = 34 '"' boots = 15 '\017' frame = 7 '\a' cape = 13 '\r' head = 1 '\001' ---Type <return> to continue, or q <return> to quit--- shield = 4 '\004' weapon = 32 ' ' helmet = 10 '\n' neck = 5 '\005' i = 3 dead = 0 kind_of_actor = 1 this_actor = 0x2debeb0 playerpath = "custom/player/snazzy/\000\000\000୭\000\000\000\000\000 \272\377\377\377\177\000\000\305P^\000\000\000\000\000\b\001\000\000\000\000\000\000P\272\377\377\377\177\000\000P\222\245\002\000\000\000\000୭\000\000\000\000\000@\272\377\377\377\177\000\000\030\062^\000\000\000\000\000P\272\377\377\377\177\000\000୭\000\000\000\000\000`\272\377\377\377\177\000\000\212\200_\000\000\000\000\000\240\364\330\002\000\000\000\000ଭ\000\000\000\000\000\300\272\377\377\377\177\000\000\264_]\000\000\000\000\000\n\000\000\000\000\000\000\000\000\000\021B\000\000\332A\000\000\332A\000\000\000\000\000\000\021\302\377\177\000\000\000\000\332A\000\000\000\000\000\000\021\302\000\000\000\000"... guildpath = "custom/guild/4728394/\000\243<uX\301>\036\000\000\000\000\000\200?\000\000\200?\000\000\200?\377\177\000\000\000\000\332A\000\000 A\000\000\021\302\377\177\000\000\000\000\000\000\000\000 A\000\000\000\000\377\177\000\000\000\000\332A\000\000\000\000\000\000\021\302\000\200\377\377\n\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\062\000\000\000\377\177\000\000\230\373\330\002\000\000\000\000\b\001\000\000\000\000\000\000\250\201^\000\000\000---Type <return> to continue, or q <return> to quit--- \000\000[\000\000\000n\000\000\000\230\373\330\002\000\000\000\000\220\271\377\377\377\177\000\000\346c^\000\000\000\000\000\240\271\377\377\377\177\000\000\230\373\330\002\000\000\000\000\260\271\377\377\377\177\000\000"... onlyname = "snazzy", '\000' <repeats 25 times> j = 6 uniq_id = 0 guild_id = 4728394 f_x_pos = 27 f_y_pos = 36 f_z_rot = 45 scale = 1 pose = 0x0 attachment_type = 255 __PRETTY_FUNCTION__ = "add_enhanced_actor_from_server" #2 0x00000000004c794b in process_message_from_server ( in_data=0x7fffc40012f0 "3.", data_length=48) at multiplayer.c:714 text_buf = "\017\300\377\377\377\177\000\000\000\000\000\000\000\000\000\000\030\000\000\000\000\000\000\000\201?\000\000\000\200\377\377\002", '\000' <repeats 15 times>, "\060", '\000' <repeats 15 times>, "\200\300\377\377\377\177\000\000\000\000\000\000\000\000\000\000[\000\000\000n", '\000' <repeats 19 times>, "w\000\000\000|\000\000\000\177\300\377\377\377\177\000\000w\000\000\000|\000\000\000\217\300\377\377\377\177\000\000\000\000\000\000\000\000\000\000\320\300\377\377\377\177\000\000\000\000\000\000\000\000\000\000[\000\000\000n", '\000' ---Type <return> to continue, or q <return> to quit--- <repeats 19 times>, "`\a\034\365\377\177\000\000\030\000\000\000\000\000\000\000"... #3 0x00000000004b3ef0 in start_rendering () at main.c:185 message = 0x7fffc4000ee0 event = {type = 24 '\030', active = {type = 24 '\030', gain = 0 '\000', state = 0 '\000'}, key = {type = 24 '\030', which = 0 '\000', state = 0 '\000', keysym = {scancode = 1 '\001', sym = 4156121774, mod = (KMOD_LSHIFT | KMOD_RSHIFT | KMOD_LCTRL | KMOD_RCTRL | KMOD_LALT | KMOD_RALT | KMOD_LMETA | KMOD_RMETA | KMOD_NUM | KMOD_CAPS | KMOD_MODE | unknown: 60), unicode = 5050}}, motion = {type = 24 '\030', which = 0 '\000', state = 0 '\000', x = 1, y = 0, xrel = 25262, yrel = -2119}, button = {type = 24 '\030', which = 0 '\000', button = 0 '\000', state = 0 '\000', x = 1, y = 0}, jaxis = {type = 24 '\030', which = 0 '\000', axis = 0 '\000', value = 1}, jball = { type = 24 '\030', which = 0 '\000', ball = 0 '\000', xrel = 1, yrel = 0}, jhat = {type = 24 '\030', which = 0 '\000', hat = 0 '\000', value = 0 '\000'}, jbutton = {type = 24 '\030', which = 0 '\000', button = 0 '\000', state = 0 '\000'}, resize = { type = 24 '\030', w = 1, h = -138845522}, expose = { type = 24 '\030'}, quit = {type = 24 '\030'}, user = { type = 24 '\030', code = 1, data1 = 0x7ffff7b962ae <SDL_GetTicks+30>, data2 = 0x553013ba}, ---Type <return> to continue, or q <return> to quit--- syswm = {type = 24 '\030', msg = 0x7ffff7b962ae <SDL_GetTicks+30>}} done = 0 network_thread_data = {0x1c2a7f0, 0xac7a40 <done>} last_frame_and_command_update = 1061429 network_thread = 0x8279450 message_queue = 0x1c2a7f0 #4 0x00000000004b481f in main (argc=1, argv=0x7fffffffe1f8) at main.c:467 No locals. Share this post Link to post Share on other sites
bluap Report post Posted April 16, 2015 (edited) Are you using the new data too? You are crashing while reading the new eyes textures. You should get a warning message at start up "Looks like we compiled with NEW_EYES but do not have the textures" Edited April 16, 2015 by bluap Share this post Link to post Share on other sites
Burn Report post Posted April 16, 2015 http://www.eternal-lands.com/forum/index.php?showtopic=59642 Try grabbing the eyes data from the first post in this thread, as there's no new data packs until the official release. Share this post Link to post Share on other sites
Elke Report post Posted April 17, 2015 (edited) Are you using the new data too? You are crashing while reading the new eyes textures. You should get a warning message at start up "Looks like we compiled with NEW_EYES but do not have the textures" http://www.eternal-lands.com/forum/index.php?showtopic=59642 Try grabbing the eyes data from the first post in this thread, as there's no new data packs until the official release. No, I don't have those new textures. And yes, I do get that warning message. However either the missing textures should be a fatal thing which inhibits start-up (and give a proper message) - or EL should ignore the missing textures gracefully upon load and simply draw the un-changed textures as before. Crashing is not exactly a good option Thanks for the download link, though. I'll give it a try later and see how things work with the new eyes' textures. Edited April 17, 2015 by Elke Share this post Link to post Share on other sites
Burn Report post Posted April 17, 2015 (edited) The code was only just changed to include eye support by default on building because we're about to release the new client (up to radu, but per his last post on it should be in about one week). So this won't be an issue very shortly. If still having issues, open the make.defaults file, find the line FEATURES += NEW_EYES, comment it out (put a # in front of it) and rebuild. Edited April 17, 2015 by Burn Share this post Link to post Share on other sites
bluap Report post Posted April 17, 2015 (edited) No, I don't have those new textures. And yes, I do get that warning message. However either the missing textures should be a fatal thing which inhibits start-up (and give a proper message) - or EL should ignore the missing textures gracefully upon load and simply draw the un-changed textures as before. Crashing is not exactly a good option I put the check and message in after the initial feature was implemented to trap a repeated crash if the textures are missing and to warn folks. It is not worth adding code to load properly if they are missing, this is a temporary state. Just build with NEW_EYES disabled for now or get the textures. It could have just made the client exit completely after that check fails but then most players would never see why, they will just see the client exits (thinking it crashed). I did not know that it would crash later but now I do. Perhaps if the client just disconnected it would be better, so the warning would be visible but could not be ignored. Edited April 17, 2015 by bluap Share this post Link to post Share on other sites