Jump to content
Eternal Lands Official Forums
Wizzy

Memory Leak

Recommended Posts

System Specs

 

ATI Radeon HD 320 0 with latest drivers

 

3 GB ram

 

1 Gig swap partition

 

AMD 2 X 64 2.1GHZ

 

Kubuntu Linux, latest, running KDE 4

 

EL runs fine for about 20 mins, then accordring to top it slowly eats up all avaible ram, and then swap disk space to zero, game, and kde slow to a crawl, too slow to even exit programs/desktop and hard restart being required.

 

I tried strace /usr/local/games/el_linux/el.x86.amd64.bin > /home/wizzy/elstack.txt and game did not start with a lot of output to shell, but none to file elstack.txt

 

I tried to run EL with gdb, however do to the hard restart of computer, I am not sure how to get any data from this.

 

Any suggestions? KDE 4 seems to run fine on its own with out this problem?

 

Any Suggestions?

 

Wizz

Share this post


Link to post
Share on other sites

I will post the output from strace to see if it is usefull to anyone

 

 

 

 

Wizzy@laptop:~$ strace /usr/local/games/el_linux/el.x86.amd64.bin

execve("/usr/local/games/el_linux/el.x86.amd64.bin", ["/usr/local/games/el_linux/el.x86"...], [/* 43 vars */]) = 0

brk(0) = 0x2a54000

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bae78000

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bae76000

access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

open("/etc/ld.so.cache", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=100415, ...}) = 0

mmap(NULL, 100415, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff4bae5d000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libGL.so.1", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\333\1\0\0\0\0\0@"..., 832) = 832

lseek(3, 517484, SEEK_SET) = 517484

read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0\24\0\0\0"..., 32) = 32

fstat(3, {st_mode=S_IFREG|0644, st_size=563760, ...}) = 0

mmap(NULL, 1642200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4baccc000

mprotect(0x7ff4bad4b000, 1048576, PROT_NONE) = 0

mmap(0x7ff4bae4b000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7f000) = 0x7ff4bae4b000

mmap(0x7ff4bae55000, 32472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff4bae55000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/libpthread.so.0", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320W\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0755, st_size=130151, ...}) = 0

mmap(NULL, 2208624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4baa3e000

mprotect(0x7ff4baa55000, 2093056, PROT_NONE) = 0

mmap(0x7ff4bac54000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7ff4bac54000

mmap(0x7ff4bac56000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff4bac56000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/libz.so.1", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\"\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=96768, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4baccb000

mmap(NULL, 2191888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4ba826000

mprotect(0x7ff4ba83d000, 2093056, PROT_NONE) = 0

mmap(0x7ff4baa3c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7ff4baa3c000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libGLU.so.1", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320L\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=465528, ...}) = 0

mmap(NULL, 2560640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4ba5b4000

mprotect(0x7ff4ba624000, 2093056, PROT_NONE) = 0

mmap(0x7ff4ba823000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6f000) = 0x7ff4ba823000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/libgcc_s.so.1", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`,\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=96560, ...}) = 0

mmap(NULL, 2192376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4ba39c000

mprotect(0x7ff4ba3b2000, 2097152, PROT_NONE) = 0

mmap(0x7ff4ba5b2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7ff4ba5b2000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/libc.so.6", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\346\1\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0755, st_size=1502512, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bacca000

mmap(NULL, 3609240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4ba02a000

mprotect(0x7ff4ba192000, 2097152, PROT_NONE) = 0

mmap(0x7ff4ba392000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x168000) = 0x7ff4ba392000

mmap(0x7ff4ba397000, 17048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff4ba397000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/libm.so.6", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P>\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=542928, ...}) = 0

mmap(NULL, 2638040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b9da5000

mprotect(0x7ff4b9e29000, 2093056, PROT_NONE) = 0

mmap(0x7ff4ba028000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x83000) = 0x7ff4ba028000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libX11.so.6", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\253\1\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=1076400, ...}) = 0

mmap(NULL, 3173416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b9a9e000

mprotect(0x7ff4b9ba0000, 2097152, PROT_NONE) = 0

mmap(0x7ff4b9da0000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7ff4b9da0000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/libdl.so.2", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\r\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bacc9000

mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b989a000

mprotect(0x7ff4b989c000, 2097152, PROT_NONE) = 0

mmap(0x7ff4b9a9c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7ff4b9a9c000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240h\5\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=1023448, ...}) = 0

mmap(NULL, 3195704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b958d000

mprotect(0x7ff4b967e000, 2097152, PROT_NONE) = 0

mmap(0x7ff4b987e000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf1000) = 0x7ff4b987e000

mmap(0x7ff4b9887000, 74552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff4b9887000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libXext.so.6", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p9\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=73544, ...}) = 0

mmap(NULL, 2169352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b937b000

mprotect(0x7ff4b938c000, 2093056, PROT_NONE) = 0

mmap(0x7ff4b958b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7ff4b958b000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libxcb.so.1", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\217\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=112976, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bacc8000

mmap(NULL, 2208336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b915f000

mprotect(0x7ff4b917a000, 2093056, PROT_NONE) = 0

mmap(0x7ff4b9379000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7ff4b9379000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libXau.so.6", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=10288, ...}) = 0

mmap(NULL, 2105584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b8f5c000

mprotect(0x7ff4b8f5e000, 2093056, PROT_NONE) = 0

mmap(0x7ff4b915d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7ff4b915d000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\21\0\0\0\0\0\0@"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=19640, ...}) = 0

mmap(NULL, 2114912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff4b8d57000

mprotect(0x7ff4b8d5c000, 2093056, PROT_NONE) = 0

mmap(0x7ff4b8f5b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7ff4b8f5b000

close(3) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bacc7000

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bacc6000

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bacc5000

arch_prctl(ARCH_SET_FS, 0x7ff4bacc5710) = 0

open("/dev/urandom", O_RDONLY) = 3

read(3, "\307\2678\304\354\254\321\363"..., 8) = 8

close(3) = 0

mprotect(0x7ff4b915d000, 4096, PROT_READ) = 0

mprotect(0x7ff4b9379000, 4096, PROT_READ) = 0

mprotect(0x7ff4b958b000, 4096, PROT_READ) = 0

mprotect(0x7ff4b987e000, 28672, PROT_READ) = 0

mprotect(0x7ff4b9a9c000, 4096, PROT_READ) = 0

mprotect(0x7ff4b9da0000, 4096, PROT_READ) = 0

mprotect(0x7ff4ba028000, 4096, PROT_READ) = 0

mprotect(0x7ff4ba392000, 16384, PROT_READ) = 0

mprotect(0x7ff4ba5b2000, 4096, PROT_READ) = 0

mprotect(0x7ff4ba823000, 8192, PROT_READ) = 0

mprotect(0x7ff4baa3c000, 4096, PROT_READ) = 0

mprotect(0x7ff4bac54000, 4096, PROT_READ) = 0

mprotect(0x9d9000, 4096, PROT_READ) = 0

mprotect(0x7ff4bae79000, 4096, PROT_READ) = 0

munmap(0x7ff4bae5d000, 100415) = 0

set_tid_address(0x7ff4bacc57a0) = 4869

set_robust_list(0x7ff4bacc57b0, 0x18) = 0

futex(0x7fffc2e7813c, FUTEX_WAKE_PRIVATE, 1) = 0

rt_sigaction(SIGRTMIN, {0x7ff4baa43660, [], SA_RESTORER|SA_SIGINFO, 0x7ff4baa4d080}, NULL, 8) = 0

rt_sigaction(SIGRT_1, {0x7ff4baa436f0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7ff4baa4d080}, NULL, 8) = 0

rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0

getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0

futex(0x7ff4b9887ac8, FUTEX_WAKE_PRIVATE, 2147483647) = 0

brk(0) = 0x2a54000

brk(0x2a75000) = 0x2a75000

brk(0x2a96000) = 0x2a96000

chdir("./") = 0

getcwd("/home/darren"..., 1024) = 13

stat("/home/darren/.elc/", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0

open("/home/darren/.elc//servers.lst", O_RDONLY) = -1 ENOENT (No such file or directory)

open("servers.lst", O_RDONLY) = -1 ENOENT (No such file or directory)

stat("/home/darren/.elc//error_log.txt", {st_mode=S_IFREG|0644, st_size=104, ...}) = 0

unlink("/home/darren/.elc//error_log.old") = 0

rename("/home/darren/.elc//error_log.txt", "/home/darren/.elc//error_log.old") = 0

open("/home/darren/.elc//error_log.txt", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bae75000

fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0

lseek(3, 0, SEEK_SET) = 0

open("/etc/localtime", O_RDONLY) = 5

fstat(5, {st_mode=S_IFREG|0644, st_size=3424, ...}) = 0

fstat(5, {st_mode=S_IFREG|0644, st_size=3424, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff4bae74000

read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0\0"..., 4096) = 3424

lseek(5, -2180, SEEK_CUR) = 1244

read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0\0"..., 4096) = 2180

close(5) = 0

munmap(0x7ff4bae74000, 4096) = 0

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3424, ...}) = 0

write(3, "\n\nLog started at 2009-08-31 17:27"..., 104) = 104

exit_group(1) = ?

Share this post


Link to post
Share on other sites

Which client are you using? Self compiled CVS client, i guess?

 

Try to use a memory debugger like valgrind (don't be scared how slow the client runs with valgrind, but that might help).

 

Piper

Share this post


Link to post
Share on other sites
Which client are you using? Self compiled CVS client, i guess?

 

Try to use a memory debugger like valgrind (don't be scared how slow the client runs with valgrind, but that might help).

 

Piper

ok, I will try this, I am using the client from el website linux download, runch mirror

Share this post


Link to post
Share on other sites

el client does not run with this command, but it did give me this output in shell

 

Any advice on running valgrind? I am not familure with this tool

 

~$ valgrind /usr/local/games/el_linux/el.x86.amd64.bin

==5345== Memcheck, a memory error detector.

==5345== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==5345== Using LibVEX rev 1884, a library for dynamic binary translation.

==5345== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==5345== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==5345== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==5345== For more details, rerun with: -v

==5345==

==5345==

==5345== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1)

==5345== malloc/free: in use at exit: 139,552 bytes in 1,292 blocks.

==5345== malloc/free: 1,953 allocs, 661 frees, 296,353 bytes allocated.

==5345== For counts of detected errors, rerun with: -v

==5345== searching for pointers to 1,292 not-freed blocks.

==5345== checked 22,719,360 bytes.

==5345==

==5345== LEAK SUMMARY:

==5345== definitely lost: 0 bytes in 0 blocks.

==5345== possibly lost: 0 bytes in 0 blocks.

==5345== still reachable: 139,552 bytes in 1,292 blocks.

==5345== suppressed: 0 bytes in 0 blocks.

==5345== Rerun with --leak-check=full to see details of leaked memory.

darren@darren-laptop:~$ valgrind --leak-check=full /usr/local/games/el_linux/el.x86.amd64.bin

==5462== Memcheck, a memory error detector.

==5462== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==5462== Using LibVEX rev 1884, a library for dynamic binary translation.

==5462== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==5462== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==5462== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==5462== For more details, rerun with: -v

==5462==

==5462==

==5462== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1)

==5462== malloc/free: in use at exit: 139,552 bytes in 1,292 blocks.

==5462== malloc/free: 1,953 allocs, 661 frees, 296,353 bytes allocated.

==5462== For counts of detected errors, rerun with: -v

==5462== searching for pointers to 1,292 not-freed blocks.

==5462== checked 22,719,360 bytes.

==5462==

==5462== LEAK SUMMARY:

==5462== definitely lost: 0 bytes in 0 blocks.

==5462== possibly lost: 0 bytes in 0 blocks.

==5462== still reachable: 139,552 bytes in 1,292 blocks.

==5462== suppressed: 0 bytes in 0 blocks.

==5462== Reachable blocks (those to which a pointer was found) are not shown.

==5462== To see them, rerun with: --leak-check=full --show-reachable=yes

darren@darren-laptop:~$ valgrind --leak-check=full --show-reachable=yes /usr/local/games/el_linux/el.x86.amd64.bin

==5463== Memcheck, a memory error detector.

==5463== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==5463== Using LibVEX rev 1884, a library for dynamic binary translation.

==5463== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==5463== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==5463== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==5463== For more details, rerun with: -v

==5463==

==5463==

==5463== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1)

==5463== malloc/free: in use at exit: 139,552 bytes in 1,292 blocks.

==5463== malloc/free: 1,953 allocs, 661 frees, 296,353 bytes allocated.

==5463== For counts of detected errors, rerun with: -v

==5463== searching for pointers to 1,292 not-freed blocks.

==5463== checked 22,719,360 bytes.

==5463==

==5463== 8 bytes in 1 blocks are still reachable in loss record 1 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43AF2F: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43DCAB: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 8 bytes in 1 blocks are still reachable in loss record 2 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43AEE8: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43DCAB: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 8 bytes in 1 blocks are still reachable in loss record 3 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43B010: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43DC59: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 8 bytes in 1 blocks are still reachable in loss record 4 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43AFC9: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43DC59: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 104 bytes in 13 blocks are still reachable in loss record 5 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43B16D: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B7A7: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 104 bytes in 13 blocks are still reachable in loss record 6 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43B126: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B7A7: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 112 bytes in 28 blocks are still reachable in loss record 7 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43AD32: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B8F1: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 112 bytes in 28 blocks are still reachable in loss record 8 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43ACE7: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B8F1: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 116 bytes in 29 blocks are still reachable in loss record 9 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43AD7D: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B8F1: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 160 bytes in 2 blocks are still reachable in loss record 10 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x4AB3D2: add_xml_group (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB544: init_groups (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB5EA: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 304 bytes in 5 blocks are still reachable in loss record 11 of 26

==5463== at 0x4C279E1: realloc (vg_replace_malloc.c:429)

==5463== by 0x4AAD15: add_xml_statid (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AAF33: init_stats (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB605: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 316 bytes in 26 blocks are still reachable in loss record 12 of 26

==5463== at 0x4C278AE: malloc (vg_replace_malloc.c:207)

==5463== by 0x576A9A1: strdup (in /lib/libc-2.9.so)

==5463== by 0x43D91D: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 400 bytes in 1 blocks are still reachable in loss record 13 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x4AB3A9: add_xml_group (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB597: init_groups (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB5EA: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 568 bytes in 1 blocks are still reachable in loss record 14 of 26

==5463== at 0x4C278AE: malloc (vg_replace_malloc.c:207)

==5463== by 0x5752799: (within /lib/libc-2.9.so)

==5463== by 0x461793: open_file_config_no_local (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4617C8: open_file_config (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x444E72: open_log (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x445619: log_error (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x48DD8D: load_server_list (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4586DC: init_stuff (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A865: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 784 bytes in 49 blocks are still reachable in loss record 15 of 26

==5463== at 0x4C278AE: malloc (vg_replace_malloc.c:207)

==5463== by 0x4866E3: queue_initialise (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B0F0: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B7A7: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 1,304 bytes in 2 blocks are still reachable in loss record 16 of 26

==5463== at 0x4C279E1: realloc (vg_replace_malloc.c:429)

==5463== by 0x4A7155: add_xml_distringid (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB600: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 1,520 bytes in 5 blocks are still reachable in loss record 17 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x4AB346: add_xml_group (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB4AF: init_groups (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB5EA: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 1,568 bytes in 49 blocks are still reachable in loss record 18 of 26

==5463== at 0x4C278AE: malloc (vg_replace_malloc.c:207)

==5463== by 0x4866D2: queue_initialise (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B0F0: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B7A7: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 1,960 bytes in 49 blocks are still reachable in loss record 19 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x5A1B6C: SDL_CreateMutex (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x48671C: queue_initialise (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B0F0: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B7A7: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 2,544 bytes in 159 blocks are still reachable in loss record 20 of 26

==5463== at 0x4C278AE: malloc (vg_replace_malloc.c:207)

==5463== by 0x4865CB: queue_push (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B15E: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B7A7: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 2,736 bytes in 38 blocks are still reachable in loss record 21 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x4AAD32: add_xml_statid (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AAEA8: init_stats (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB605: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 3,768 bytes in 19 blocks are still reachable in loss record 22 of 26

==5463== at 0x4C279E1: realloc (vg_replace_malloc.c:429)

==5463== by 0x4A75E5: add_xml_identifier (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4A931E: init_errors (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB5EF: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 11,736 bytes in 163 blocks are still reachable in loss record 23 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x4A7172: add_xml_distringid (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4A7234: init_spell_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB600: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 17,920 bytes in 1 blocks are still reachable in loss record 24 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x443050: create_window (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x583861: cm::Container::Container() (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x58397C: __static_initialization_and_destruction_0(int, int) (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x71EBD5: (within /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x408B0A: (within /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x9: ???

==5463== by 0x71EB2F: __libc_csu_init (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x5708531: (below main) (in /lib/libc-2.9.so)

==5463==

==5463==

==5463== 37,680 bytes in 471 blocks are still reachable in loss record 25 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x4A7602: add_xml_identifier (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4A91CC: init_errors (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x4AB5EF: init_translatables (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A857: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463==

==5463== 53,704 bytes in 137 blocks are still reachable in loss record 26 of 26

==5463== at 0x4C25684: calloc (vg_replace_malloc.c:397)

==5463== by 0x43AC81: add_var (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x43B64F: init_vars (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463== by 0x46A85E: main (in /usr/local/games/el_linux/el.x86.amd64.bin)

==5463==

==5463== LEAK SUMMARY:

==5463== definitely lost: 0 bytes in 0 blocks.

==5463== possibly lost: 0 bytes in 0 blocks.

==5463== still reachable: 139,552 bytes in 1,292 blocks.

==5463== suppressed: 0 bytes in 0 blocks.

Share this post


Link to post
Share on other sites

Eternal lands client does not launch when the below is run

 

 

laptop:~$ valgrind --tool=memcheck /usr/local/games/el_linux/el.x86.amd64.bin

==6269== Memcheck, a memory error detector.

==6269== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==6269== Using LibVEX rev 1884, a library for dynamic binary translation.

==6269== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==6269== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==6269== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==6269== For more details, rerun with: -v

==6269==

==6269==

==6269== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1)

==6269== malloc/free: in use at exit: 139,552 bytes in 1,292 blocks.

==6269== malloc/free: 1,953 allocs, 661 frees, 296,353 bytes allocated.

==6269== For counts of detected errors, rerun with: -v

==6269== searching for pointers to 1,292 not-freed blocks.

==6269== checked 22,719,360 bytes.

==6269==

==6269== LEAK SUMMARY:

==6269== definitely lost: 0 bytes in 0 blocks.

==6269== possibly lost: 0 bytes in 0 blocks.

==6269== still reachable: 139,552 bytes in 1,292 blocks.

==6269== suppressed: 0 bytes in 0 blocks.

==6269== Rerun with --leak-check=full to see details of leaked memory.

darren@darren-laptop:~$ valgrind --tool=memcheck -v /usr/local/games/el_linux/el.x86.amd64.bin

==6270== Memcheck, a memory error detector.

==6270== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==6270== Using LibVEX rev 1884, a library for dynamic binary translation.

==6270== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==6270== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==6270== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==6270==

--6270-- Command line

--6270-- /usr/local/games/el_linux/el.x86.amd64.bin

--6270-- Startup, with flags:

--6270-- --tool=memcheck

--6270-- -v

--6270-- Contents of /proc/version:

--6270-- Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009

--6270-- Arch and hwcaps: AMD64, amd64-sse2

--6270-- Page sizes: currently 4096, max supported 4096

--6270-- Valgrind library directory: /usr/lib/valgrind

--6270-- Reading syms from /usr/local/games/el_linux/el.x86.amd64.bin (0x400000)

--6270-- Reading syms from /lib/ld-2.9.so (0x4000000)

--6270-- Reading debug info from /lib/ld-2.9.so ..

--6270-- .. CRC mismatch (computed 2aeecd7e wanted a5503f5d)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/valgrind/amd64-linux/memcheck (0x38000000)

--6270-- object doesn't have a dynamic symbol table

--6270-- Reading suppressions file: /usr/lib/valgrind/default.supp

--6270-- Reading syms from /usr/lib/valgrind/amd64-linux/vgpreload_core.so (0x4a21000)

--6270-- Reading syms from /usr/lib/valgrind/amd64-linux/vgpreload_memcheck.so (0x4c23000)

--6270-- Reading syms from /usr/lib/libGL.so.1.2 (0x403c000)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /lib/libpthread-2.9.so (0x4e2c000)

--6270-- Reading debug info from /lib/libpthread-2.9.so ..

--6270-- .. CRC mismatch (computed a3cef8e6 wanted 88c57f17)

--6270-- Reading syms from /lib/libz.so.1.2.3.3 (0x5048000)

--6270-- Reading debug info from /lib/libz.so.1.2.3.3 ..

--6270-- .. CRC mismatch (computed 3be6685a wanted a840ee6d)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/libGLU.so.1.3.070300 (0x5260000)

--6270-- Reading debug info from /usr/lib/libGLU.so.1.3.070300 ..

--6270-- .. CRC mismatch (computed d12bc617 wanted eb16e338)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /lib/libgcc_s.so.1 (0x54d2000)

--6270-- Reading debug info from /lib/libgcc_s.so.1 ..

--6270-- .. CRC mismatch (computed 5e1e8b97 wanted 48127249)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /lib/libc-2.9.so (0x56ea000)

--6270-- Reading debug info from /lib/libc-2.9.so ..

--6270-- .. CRC mismatch (computed bb7f9209 wanted dcd904d7)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /lib/libm-2.9.so (0x5a5c000)

--6270-- Reading debug info from /lib/libm-2.9.so ..

--6270-- .. CRC mismatch (computed c14b75b7 wanted 1d0b308f)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x5ce1000)

--6270-- Reading debug info from /usr/lib/libX11.so.6.2.0 ..

--6270-- .. CRC mismatch (computed fbea3428 wanted a1184427)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /lib/libdl-2.9.so (0x5fe8000)

--6270-- Reading debug info from /lib/libdl-2.9.so ..

--6270-- .. CRC mismatch (computed 1c40451f wanted 61caad0a)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/libstdc++.so.6.0.10 (0x61ec000)

--6270-- Reading debug info from /usr/lib/libstdc++.so.6.0.10 ..

--6270-- .. CRC mismatch (computed 73e53848 wanted 88d011f5)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x64f9000)

--6270-- Reading debug info from /usr/lib/libXext.so.6.4.0 ..

--6270-- .. CRC mismatch (computed 7e3c14b6 wanted 33f17907)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/libxcb.so.1.1.0 (0x670b000)

--6270-- Reading debug info from /usr/lib/libxcb.so.1.1.0 ..

--6270-- .. CRC mismatch (computed 03cb723b wanted 80071bc9)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x6927000)

--6270-- Reading debug info from /usr/lib/libXau.so.6.0.0 ..

--6270-- .. CRC mismatch (computed c9b7eb19 wanted bc6c6dc3)

--6270-- object doesn't have a symbol table

--6270-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x6b2a000)

--6270-- Reading debug info from /usr/lib/libXdmcp.so.6.0.0 ..

--6270-- .. CRC mismatch (computed fb55f3e2 wanted 525d4f87)

--6270-- object doesn't have a symbol table

--6270-- REDIR: 0x576b100 (rindex) redirected to 0x4c27c00 (rindex)

--6270-- REDIR: 0x576ac30 (strlen) redirected to 0x4c28020 (strlen)

--6270-- REDIR: 0x57663f0 (calloc) redirected to 0x4c255b0 (calloc)

--6270-- REDIR: 0x62b39a0 (operator new(unsigned long)) redirected to 0x4c271a0 (operator new(unsigned long))

--6270-- REDIR: 0x576c990 (memmove) redirected to 0x4c28f10 (memmove)

--6270-- REDIR: 0x5770d00 (strchrnul) redirected to 0x4c28f70 (strchrnul)

--6270-- REDIR: 0x5766c80 (realloc) redirected to 0x4c27900 (realloc)

--6270-- REDIR: 0x576afa0 (strncpy) redirected to 0x4c28150 (strncpy)

--6270-- REDIR: 0x576d680 (mempcpy) redirected to 0x4c28fd0 (mempcpy)

--6270-- REDIR: 0x5766790 (malloc) redirected to 0x4c277e0 (malloc)

--6270-- REDIR: 0x576dfc0 (memcpy) redirected to 0x4c28470 (memcpy)

--6270-- REDIR: 0x576aed0 (strncmp) redirected to 0x4c28280 (strncmp)

--6270-- REDIR: 0x576a6e0 (strcpy) redirected to 0x4c28080 (strcpy)

--6270-- REDIR: 0x576a330 (strcat) redirected to 0x4c27de0 (strcat)

--6270-- REDIR: 0x576a4f0 (index) redirected to 0x4c27d20 (index)

--6270-- REDIR: 0x5764200 (free) redirected to 0x4c264e0 (free)

--6270-- REDIR: 0x576a6a0 (strcmp) redirected to 0x4c28300 (strcmp)

--6270-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803e29d (vgPlain_amd64_linux_REDIR_FOR_vtime)

--6270-- REDIR: 0x576cb50 (memset) redirected to 0x4c28ea0 (memset)

--6270-- REDIR: 0x62b2140 (operator delete(void*)) redirected to 0x4c25fe0 (operator delete(void*))

==6270==

==6270== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1)

--6270--

--6270-- supp: 8 Debian libc6 (2.9.x) stripped dynamic linker

==6270== malloc/free: in use at exit: 139,552 bytes in 1,292 blocks.

==6270== malloc/free: 1,953 allocs, 661 frees, 296,353 bytes allocated.

==6270==

==6270== searching for pointers to 1,292 not-freed blocks.

==6270== checked 22,719,360 bytes.

==6270==

==6270== LEAK SUMMARY:

==6270== definitely lost: 0 bytes in 0 blocks.

==6270== possibly lost: 0 bytes in 0 blocks.

==6270== still reachable: 139,552 bytes in 1,292 blocks.

==6270== suppressed: 0 bytes in 0 blocks.

==6270== Rerun with --leak-check=full to see details of leaked memory.

--6270-- memcheck: sanity checks: 278 cheap, 11 expensive

--6270-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use

--6270-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10

--6270-- memcheck: auxmaps_L2: 0 searches, 0 nodes

--6270-- memcheck: SMs: n_issued = 50 (800k, 0M)

--6270-- memcheck: SMs: n_deissued = 0 (0k, 0M)

--6270-- memcheck: SMs: max_noaccess = 524287 (8388592k, 8191M)

--6270-- memcheck: SMs: max_undefined = 0 (0k, 0M)

--6270-- memcheck: SMs: max_defined = 968 (15488k, 15M)

--6270-- memcheck: SMs: max_non_DSM = 50 (800k, 0M)

--6270-- memcheck: max sec V bit nodes: 0 (0k, 0M)

--6270-- memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0)

--6270-- memcheck: max shadow mem size: 4944k, 4M

--6270-- translate: fast SP updates identified: 5,062 ( 82.5%)

--6270-- translate: generic_known SP updates identified: 935 ( 15.2%)

--6270-- translate: generic_unknown SP updates identified: 132 ( 2.1%)

--6270-- tt/tc: 10,357 tt lookups requiring 10,743 probes

--6270-- tt/tc: 10,357 fast-cache updates, 2 flushes

--6270-- transtab: new 5,066 (174,425 -> 2,232,292; ratio 127:10) [0 scs]

--6270-- transtab: dumped 0 (0 -> ??)

--6270-- transtab: discarded 0 (0 -> ??)

--6270-- scheduler: 27,875,916 jumps (bb entries).

--6270-- scheduler: 278/7,755 major/minor sched events.

--6270-- sanity: 279 cheap, 11 expensive checks.

--6270-- exectx: 3,079 lists, 2,328 contexts (avg 0 per list)

--6270-- exectx: 3,690 searches, 2,813 full compares (762 per 1000)

--6270-- exectx: 0 cmp2, 28 cmp4, 0 cmpAll

--6270-- errormgr: 8 supplist searches, 8 comparisons during search

--6270-- errormgr: 8 errlist searches, 28 comparisons during search

Edited by Wizzy

Share this post


Link to post
Share on other sites

ok, seems servers.lst file was not in /home/.elc I cp there

 

EL starts up and then crashes shortly after before login promt.

 

 

darren@darren-laptop:~$ valgrind --tool=memcheck -v /usr/local/games/el_linux/el.x86.amd64.bin

==6321== Memcheck, a memory error detector.

==6321== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==6321== Using LibVEX rev 1884, a library for dynamic binary translation.

==6321== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==6321== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==6321== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==6321==

--6321-- Command line

--6321-- /usr/local/games/el_linux/el.x86.amd64.bin

--6321-- Startup, with flags:

--6321-- --tool=memcheck

--6321-- -v

--6321-- Contents of /proc/version:

--6321-- Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009

--6321-- Arch and hwcaps: AMD64, amd64-sse2

--6321-- Page sizes: currently 4096, max supported 4096

--6321-- Valgrind library directory: /usr/lib/valgrind

--6321-- Reading syms from /usr/local/games/el_linux/el.x86.amd64.bin (0x400000)

--6321-- Reading syms from /lib/ld-2.9.so (0x4000000)

--6321-- Reading debug info from /lib/ld-2.9.so ..

--6321-- .. CRC mismatch (computed 2aeecd7e wanted a5503f5d)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/valgrind/amd64-linux/memcheck (0x38000000)

--6321-- object doesn't have a dynamic symbol table

--6321-- Reading suppressions file: /usr/lib/valgrind/default.supp

--6321-- Reading syms from /usr/lib/valgrind/amd64-linux/vgpreload_core.so (0x4a21000)

--6321-- Reading syms from /usr/lib/valgrind/amd64-linux/vgpreload_memcheck.so (0x4c23000)

--6321-- Reading syms from /usr/lib/libGL.so.1.2 (0x403c000)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /lib/libpthread-2.9.so (0x4e2c000)

--6321-- Reading debug info from /lib/libpthread-2.9.so ..

--6321-- .. CRC mismatch (computed a3cef8e6 wanted 88c57f17)

--6321-- Reading syms from /lib/libz.so.1.2.3.3 (0x5048000)

--6321-- Reading debug info from /lib/libz.so.1.2.3.3 ..

--6321-- .. CRC mismatch (computed 3be6685a wanted a840ee6d)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libGLU.so.1.3.070300 (0x5260000)

--6321-- Reading debug info from /usr/lib/libGLU.so.1.3.070300 ..

--6321-- .. CRC mismatch (computed d12bc617 wanted eb16e338)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /lib/libgcc_s.so.1 (0x54d2000)

--6321-- Reading debug info from /lib/libgcc_s.so.1 ..

--6321-- .. CRC mismatch (computed 5e1e8b97 wanted 48127249)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /lib/libc-2.9.so (0x56ea000)

--6321-- Reading debug info from /lib/libc-2.9.so ..

--6321-- .. CRC mismatch (computed bb7f9209 wanted dcd904d7)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /lib/libm-2.9.so (0x5a5c000)

--6321-- Reading debug info from /lib/libm-2.9.so ..

--6321-- .. CRC mismatch (computed c14b75b7 wanted 1d0b308f)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x5ce1000)

--6321-- Reading debug info from /usr/lib/libX11.so.6.2.0 ..

--6321-- .. CRC mismatch (computed fbea3428 wanted a1184427)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /lib/libdl-2.9.so (0x5fe8000)

--6321-- Reading debug info from /lib/libdl-2.9.so ..

--6321-- .. CRC mismatch (computed 1c40451f wanted 61caad0a)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libstdc++.so.6.0.10 (0x61ec000)

--6321-- Reading debug info from /usr/lib/libstdc++.so.6.0.10 ..

--6321-- .. CRC mismatch (computed 73e53848 wanted 88d011f5)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x64f9000)

--6321-- Reading debug info from /usr/lib/libXext.so.6.4.0 ..

--6321-- .. CRC mismatch (computed 7e3c14b6 wanted 33f17907)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libxcb.so.1.1.0 (0x670b000)

--6321-- Reading debug info from /usr/lib/libxcb.so.1.1.0 ..

--6321-- .. CRC mismatch (computed 03cb723b wanted 80071bc9)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x6927000)

--6321-- Reading debug info from /usr/lib/libXau.so.6.0.0 ..

--6321-- .. CRC mismatch (computed c9b7eb19 wanted bc6c6dc3)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x6b2a000)

--6321-- Reading debug info from /usr/lib/libXdmcp.so.6.0.0 ..

--6321-- .. CRC mismatch (computed fb55f3e2 wanted 525d4f87)

--6321-- object doesn't have a symbol table

--6321-- REDIR: 0x576b100 (rindex) redirected to 0x4c27c00 (rindex)

--6321-- REDIR: 0x576ac30 (strlen) redirected to 0x4c28020 (strlen)

--6321-- REDIR: 0x57663f0 (calloc) redirected to 0x4c255b0 (calloc)

--6321-- REDIR: 0x62b39a0 (operator new(unsigned long)) redirected to 0x4c271a0 (operator new(unsigned long))

--6321-- REDIR: 0x576c990 (memmove) redirected to 0x4c28f10 (memmove)

--6321-- REDIR: 0x5770d00 (strchrnul) redirected to 0x4c28f70 (strchrnul)

--6321-- REDIR: 0x5766c80 (realloc) redirected to 0x4c27900 (realloc)

--6321-- REDIR: 0x576afa0 (strncpy) redirected to 0x4c28150 (strncpy)

--6321-- REDIR: 0x576d680 (mempcpy) redirected to 0x4c28fd0 (mempcpy)

--6321-- REDIR: 0x5766790 (malloc) redirected to 0x4c277e0 (malloc)

--6321-- REDIR: 0x576dfc0 (memcpy) redirected to 0x4c28470 (memcpy)

--6321-- REDIR: 0x576aed0 (strncmp) redirected to 0x4c28280 (strncmp)

--6321-- REDIR: 0x576a6e0 (strcpy) redirected to 0x4c28080 (strcpy)

--6321-- REDIR: 0x576a330 (strcat) redirected to 0x4c27de0 (strcat)

--6321-- REDIR: 0x576a4f0 (index) redirected to 0x4c27d20 (index)

--6321-- REDIR: 0x5764200 (free) redirected to 0x4c264e0 (free)

--6321-- REDIR: 0x576a6a0 (strcmp) redirected to 0x4c28300 (strcmp)

--6321-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803e29d (vgPlain_amd64_linux_REDIR_FOR_vtime)

--6321-- REDIR: 0x576cb50 (memset) redirected to 0x4c28ea0 (memset)

--6321-- REDIR: 0x576c2f0 (memchr) redirected to 0x4c28420 (memchr)

--6321-- REDIR: 0x62b2140 (operator delete(void*)) redirected to 0x4c25fe0 (operator delete(void*))

--6321-- REDIR: 0x576ad20 (strnlen) redirected to 0x4c27fd0 (strnlen)

I/O warning : failed to load external entity "languages/en/strings/console.xml"

I/O warning : failed to load external entity "languages/en/strings/console.xml"

I/O warning : failed to load external entity "languages/en/strings/errors.xml"

I/O warning : failed to load external entity "languages/en/strings/errors.xml"

I/O warning : failed to load external entity "languages/en/strings/help.xml"

I/O warning : failed to load external entity "languages/en/strings/help.xml"

I/O warning : failed to load external entity "languages/en/strings/options.xml"

I/O warning : failed to load external entity "languages/en/strings/options.xml"

I/O warning : failed to load external entity "languages/en/strings/spells.xml"

I/O warning : failed to load external entity "languages/en/strings/spells.xml"

I/O warning : failed to load external entity "languages/en/strings/stats.xml"

I/O warning : failed to load external entity "languages/en/strings/stats.xml"

I/O warning : failed to load external entity "languages/en/strings/titles.xml"

I/O warning : failed to load external entity "languages/en/strings/titles.xml"

--6321-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0x712f000)

--6321-- Reading debug info from /usr/lib/libXrender.so.1.3.0 ..

--6321-- .. CRC mismatch (computed 3654c05a wanted c0d673c4)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libXrandr.so.2.2.0 (0x7339000)

--6321-- Reading debug info from /usr/lib/libXrandr.so.2.2.0 ..

--6321-- .. CRC mismatch (computed 57ccc91b wanted 4abd84e6)

--6321-- object doesn't have a symbol table

--6321-- REDIR: 0x576dc90 (stpcpy) redirected to 0x4c28c30 (stpcpy)

--6321-- REDIR: 0x57e5f80 (__strcpy_chk) redirected to 0x4c29630 (__strcpy_chk)

--6321-- Discarding syms at 0x733a890-0x733f8f8 in /usr/lib/libXrandr.so.2.2.0 due to munmap()

--6321-- Discarding syms at 0x7130a70-0x7136f18 in /usr/lib/libXrender.so.1.3.0 due to munmap()

--6321-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0x712f000)

--6321-- Reading debug info from /usr/lib/libXrender.so.1.3.0 ..

--6321-- .. CRC mismatch (computed 3654c05a wanted c0d673c4)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libXrandr.so.2.2.0 (0x7339000)

--6321-- Reading debug info from /usr/lib/libXrandr.so.2.2.0 ..

--6321-- .. CRC mismatch (computed 57ccc91b wanted 4abd84e6)

--6321-- object doesn't have a symbol table

--6321-- REDIR: 0x5770be0 (rawmemchr) redirected to 0x4c28fb0 (rawmemchr)

--6321-- Reading syms from /usr/lib/libXcursor.so.1.0.2 (0x7646000)

--6321-- Reading debug info from /usr/lib/libXcursor.so.1.0.2 ..

--6321-- .. CRC mismatch (computed 15cdd867 wanted a60dd5d5)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libXfixes.so.3.1.0 (0x7850000)

--6321-- Reading debug info from /usr/lib/libXfixes.so.3.1.0 ..

--6321-- .. CRC mismatch (computed 87062290 wanted c65e5c9f)

--6321-- object doesn't have a symbol table

--6321-- REDIR: 0xffffffffff600000 (???) redirected to 0x3803e293 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)

--6321-- Reading syms from /lib/librt-2.9.so (0x91c8000)

--6321-- Reading debug info from /lib/librt-2.9.so ..

--6321-- .. CRC mismatch (computed 87ca7db9 wanted 759f6b53)

--6321-- object doesn't have a symbol table

--6321-- Reading syms from /usr/lib/libXinerama.so.1.0.0 (0x9919000)

--6321-- Reading debug info from /usr/lib/libXinerama.so.1.0.0 ..

--6321-- .. CRC mismatch (computed ebdab699 wanted 592f513d)

--6321-- object doesn't have a symbol table

==6321== Syscall param ioctl(generic) points to uninitialised byte(s)

==6321== at 0x57C7CD7: ioctl (in /lib/libc-2.9.so)

==6321== by 0x8C6926E: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x970F61F: ???

==6321== by 0x8C5FCF0: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x9714817: ???

==6321== by 0x8C5F7B5: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x95F2E27: ???

==6321== by 0x8C6B588: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x9714817: ???

==6321== by 0x8CBC21C: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7feff46a0 is on thread 1's stack

==6321==

==6321== Conditional jump or move depends on uninitialised value(s)

==6321== at 0x8CBD01B: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x8CBC8DB: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x8CB6B31: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x9696F5F: ???

==6321== by 0x7FEFF5AEB: ???

==6321== by 0x9714817: ???

==6321== by 0x95F2E27: ???

==6321== by 0x546E616272556F68: ???

==6321== by 0x33692E726F727264: ???

==6321== by 0x3637: ???

--6321-- Reading syms from /usr/lib/libatiadlxx.so (0x9b34000)

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143fff is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffe is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffd is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffc is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143fff is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffe is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffd is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== Invalid write of size 1

==6321== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffc is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== More than 10000000 total errors detected. I'm not reporting any more.

==6321== Final error counts will be inaccurate. Go fix your program!

==6321== Rerun with --error-limit=no to disable this cutoff. Note

==6321== that errors may occur in your program without prior warning from

==6321== Valgrind, because errors are no longer being displayed.

==6321==

--6321-- memcheck GC: 1024 nodes, 1024 survivors (100.0%)

--6321-- memcheck GC: increase table size to 2048

I/O warning : failed to load external entity "mines.xml"

I/O warning : failed to load external entity "sound/sound_config.xml"

I/O warning : failed to load external entity "actor_defs/actor_defs.xml"

I/O warning : failed to load external entity "actor_defs/missile_defs.xml"

I/O warning : failed to load external entity "./weather.xml"

I/O warning : failed to load external entity "languages/en/Encyclopedia/index.xml"

I/O warning : failed to load external entity "languages/en/strings/channels.xml"

I/O warning : failed to load external entity "languages/en/strings/channels.xml"

I/O warning : failed to load external entity "languages/en/rules.xml"

I/O warning : failed to load external entity "languages/en/rules.xml"

--6321-- Discarding syms at 0x733a890-0x733f8f8 in /usr/lib/libXrandr.so.2.2.0 due to munmap()

==6321==

==6321== ERROR SUMMARY: 10000000 errors from 10 contexts (suppressed: 370 from 6)

==6321==

==6321== 1 errors in context 1 of 10:

==6321== Conditional jump or move depends on uninitialised value(s)

==6321== at 0x8CBD01B: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x8CBC8DB: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x8CB6B31: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x9696F5F: ???

==6321== by 0x7FEFF5AEB: ???

==6321== by 0x9714817: ???

==6321== by 0x95F2E27: ???

==6321== by 0x546E616272556F68: ???

==6321== by 0x33692E726F727264: ???

==6321== by 0x3637: ???

==6321==

==6321== 1 errors in context 2 of 10:

==6321== Syscall param ioctl(generic) points to uninitialised byte(s)

==6321== at 0x57C7CD7: ioctl (in /lib/libc-2.9.so)

==6321== by 0x8C6926E: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x970F61F: ???

==6321== by 0x8C5FCF0: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x9714817: ???

==6321== by 0x8C5F7B5: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x95F2E27: ???

==6321== by 0x8C6B588: (within /usr/lib/dri/fglrx_dri.so)

==6321== by 0x9714817: ???

==6321== by 0x8CBC21C: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7feff46a0 is on thread 1's stack

==6321==

==6321== 65536 errors in context 3 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffc is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== 65536 errors in context 4 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffd is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== 65536 errors in context 5 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffe is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== 65536 errors in context 6 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143fff is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== 2434463 errors in context 7 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffc is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== 2434463 errors in context 8 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffd is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== 2434464 errors in context 9 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143ffe is not stack'd, malloc'd or (recently) free'd

==6321==

==6321== 2434464 errors in context 10 of 10:

==6321== Invalid write of size 1

==6321== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==6321== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6321== Address 0x7f93f1143fff is not stack'd, malloc'd or (recently) free'd

--6321--

--6321-- supp: 1 X on SUSE11 writev uninit padding

--6321-- supp: 164 dl-hack3-cond-1

--6321-- supp: 4 dl-hack4-64bit-addr-3

--6321-- supp: 29 dl-hack4-64bit-addr-1

--6321-- supp: 164 dl-hack3-cond-2

--6321-- supp: 8 Debian libc6 (2.9.x) stripped dynamic linker

==6321==

==6321== IN SUMMARY: 10000000 errors from 10 contexts (suppressed: 370 from 6)

==6321==

==6321== malloc/free: in use at exit: 1,424,506 bytes in 2,777 blocks.

==6321== malloc/free: 71,560 allocs, 68,783 frees, 48,946,615 bytes allocated.

==6321==

==6321== Use --track-origins=yes to see where uninitialised values come from

==6321== searching for pointers to 2,777 not-freed blocks.

==6321== checked 25,894,992 bytes.

==6321==

==6321== LEAK SUMMARY:

==6321== definitely lost: 49,472 bytes in 130 blocks.

==6321== possibly lost: 82,168 bytes in 3 blocks.

==6321== still reachable: 1,292,866 bytes in 2,644 blocks.

==6321== suppressed: 0 bytes in 0 blocks.

==6321== Rerun with --leak-check=full to see details of leaked memory.

--6321-- memcheck: sanity checks: 1346 cheap, 35 expensive

--6321-- memcheck: auxmaps: 53 auxmap entries (3392k, 3M) in use

--6321-- memcheck: auxmaps_L1: 1463 searches, 9512 cmps, ratio 65:10

--6321-- memcheck: auxmaps_L2: 58 searches, 53 nodes

--6321-- memcheck: SMs: n_issued = 634 (10144k, 9M)

--6321-- memcheck: SMs: n_deissued = 174 (2784k, 2M)

--6321-- memcheck: SMs: max_noaccess = 524287 (8388592k, 8191M)

--6321-- memcheck: SMs: max_undefined = 76 (1216k, 1M)

--6321-- memcheck: SMs: max_defined = 1531 (24496k, 23M)

--6321-- memcheck: SMs: max_non_DSM = 469 (7504k, 7M)

--6321-- memcheck: max sec V bit nodes: 1161 (99k, 0M)

--6321-- memcheck: set_sec_vbits8 calls: 2780 (new: 1161, updates: 1619)

--6321-- memcheck: max shadow mem size: 11747k, 11M

--6321-- translate: fast SP updates identified: 73,332 ( 87.3%)

--6321-- translate: generic_known SP updates identified: 10,309 ( 12.2%)

--6321-- translate: generic_unknown SP updates identified: 302 ( 0.3%)

--6321-- tt/tc: 396,466 tt lookups requiring 1,452,538 probes

--6321-- tt/tc: 396,466 fast-cache updates, 6 flushes

--6321-- transtab: new 71,567 (2,447,366 -> 33,376,377; ratio 136:10) [0 scs]

--6321-- transtab: dumped 0 (0 -> ??)

--6321-- transtab: discarded 39 (591 -> ??)

--6321-- scheduler: 134,710,764 jumps (bb entries).

--6321-- scheduler: 1,346/471,114 major/minor sched events.

--6321-- sanity: 1347 cheap, 35 expensive checks.

--6321-- exectx: 49,157 lists, 48,138 contexts (avg 0 per list)

--6321-- exectx: 10,151,325 searches, 10,142,346 full compares (999 per 1000)

--6321-- exectx: 0 cmp2, 40,001,994 cmp4, 0 cmpAll

--6321-- errormgr: 38 supplist searches, 2,137 comparisons during search

--6321-- errormgr: 10,000,370 errlist searches, 40,002,629 comparisons during search

darren@darren-laptop:~$ valgrind --tool=memcheck /usr/local/games/el_linux/el.x86.amd64.bin

==6323== Memcheck, a memory error detector.

==6323== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==6323== Using LibVEX rev 1884, a library for dynamic binary translation.

==6323== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==6323== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==6323== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==6323== For more details, rerun with: -v

==6323==

I/O warning : failed to load external entity "languages/en/strings/console.xml"

I/O warning : failed to load external entity "languages/en/strings/console.xml"

I/O warning : failed to load external entity "languages/en/strings/errors.xml"

I/O warning : failed to load external entity "languages/en/strings/errors.xml"

I/O warning : failed to load external entity "languages/en/strings/help.xml"

I/O warning : failed to load external entity "languages/en/strings/help.xml"

I/O warning : failed to load external entity "languages/en/strings/options.xml"

I/O warning : failed to load external entity "languages/en/strings/options.xml"

I/O warning : failed to load external entity "languages/en/strings/spells.xml"

I/O warning : failed to load external entity "languages/en/strings/spells.xml"

I/O warning : failed to load external entity "languages/en/strings/stats.xml"

I/O warning : failed to load external entity "languages/en/strings/stats.xml"

I/O warning : failed to load external entity "languages/en/strings/titles.xml"

I/O warning : failed to load external entity "languages/en/strings/titles.xml"

==6323== Syscall param ioctl(generic) points to uninitialised byte(s)

==6323== at 0x57C7CD7: ioctl (in /lib/libc-2.9.so)

==6323== by 0x8C6926E: (within /usr/lib/dri/fglrx_dri.so)

==6323== by 0x970F61F: ???

==6323== by 0x8C5FCF0: (within /usr/lib/dri/fglrx_dri.so)

==6323== by 0x9714817: ???

==6323== by 0x8C5F7B5: (within /usr/lib/dri/fglrx_dri.so)

==6323== by 0x95F2E27: ???

==6323== by 0x8C6B588: (within /usr/lib/dri/fglrx_dri.so)

==6323== by 0x9714817: ???

==6323== by 0x8CBC21C: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7feff46a0 is on thread 1's stack

==6323==

==6323== Conditional jump or move depends on uninitialised value(s)

==6323== at 0x8CBD01B: (within /usr/lib/dri/fglrx_dri.so)

==6323== by 0x8CBC8DB: (within /usr/lib/dri/fglrx_dri.so)

==6323== by 0x8CB6B31: (within /usr/lib/dri/fglrx_dri.so)

==6323== by 0x9696F5F: ???

==6323== by 0x7FEFF5AEB: ???

==6323== by 0x9714817: ???

==6323== by 0x95F2E27: ???

==6323== by 0x546E616272556F68: ???

==6323== by 0x33692E726F727264: ???

==6323== by 0x3637: ???

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194afff is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194affe is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194affd is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B396: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194affc is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194afff is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194affe is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194affd is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== Invalid write of size 1

==6323== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==6323== by 0x8B0B3AB: (within /usr/lib/dri/fglrx_dri.so)

==6323== Address 0x7f7d5194affc is not stack'd, malloc'd or (recently) free'd

==6323==

==6323== More than 10000000 total errors detected. I'm not reporting any more.

==6323== Final error counts will be inaccurate. Go fix your program!

==6323== Rerun with --error-limit=no to disable this cutoff. Note

==6323== that errors may occur in your program without prior warning from

==6323== Valgrind, because errors are no longer being displayed.

==6323==

I/O warning : failed to load external entity "mines.xml"

I/O warning : failed to load external entity "sound/sound_config.xml"

I/O warning : failed to load external entity "actor_defs/actor_defs.xml"

I/O warning : failed to load external entity "actor_defs/missile_defs.xml"

I/O warning : failed to load external entity "./weather.xml"

I/O warning : failed to load external entity "languages/en/Encyclopedia/index.xml"

I/O warning : failed to load external entity "languages/en/strings/channels.xml"

I/O warning : failed to load external entity "languages/en/strings/channels.xml"

I/O warning : failed to load external entity "languages/en/rules.xml"

I/O warning : failed to load external entity "languages/en/rules.xml"

==6323==

==6323== ERROR SUMMARY: 10000000 errors from 10 contexts (suppressed: 370 from 6)

==6323== malloc/free: in use at exit: 1,424,506 bytes in 2,777 blocks.

==6323== malloc/free: 71,128 allocs, 68,351 frees, 48,908,951 bytes allocated.

==6323== For counts of detected errors, rerun with: -v

==6323== Use --track-origins=yes to see where uninitialised values come from

==6323== searching for pointers to 2,777 not-freed blocks.

==6323== checked 25,854,168 bytes.

==6323==

==6323== LEAK SUMMARY:

==6323== definitely lost: 90,304 bytes in 130 blocks.

==6323== possibly lost: 41,336 bytes in 3 blocks.

==6323== still reachable: 1,292,866 bytes in 2,644 blocks.

==6323== suppressed: 0 bytes in 0 blocks.

==6323== Rerun with --leak-check=full to see details of leaked memory.

Edited by Wizzy

Share this post


Link to post
Share on other sites

Hmm.. i can't see any message wich explains, why the EL client eats all your memory.

 

And i guess, the client you are using is compiled with no gdb support, otherwise valgrind would have given some more readable messages.

 

There are some

 

==6321== Invalid write of size 1

==6321== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

 

messages, which looks like a malloc() with one byte short, followed my a strcpy(), but that shouldnt cause the effect you reported.

 

Someone else has any ideas?

 

Piper

Share this post


Link to post
Share on other sites

Because I was curious, I thought I would see if this happend with any other open gl app, glxgears also ate ram (much slower then el of course) here is output from that. SO I would say it is the ati driver itself? Can any one recommend a fix? I am using ati's auto loader program for driver installation.

 

Wizz

 

laptop:~$ valgrind --tool=memcheck glxgears

==8417== Memcheck, a memory error detector.

==8417== Copyright © 2002-2008, and GNU GPL'd, by Julian Seward et al.

==8417== Using LibVEX rev 1884, a library for dynamic binary translation.

==8417== Copyright © 2004-2008, and GNU GPL'd, by OpenWorks LLP.

==8417== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.

==8417== Copyright © 2000-2008, and GNU GPL'd, by Julian Seward et al.

==8417== For more details, rerun with: -v

==8417==

==8417== Syscall param ioctl(generic) points to uninitialised byte(s)

==8417== at 0x518ECD7: ioctl (in /lib/libc-2.9.so)

==8417== by 0x799426E: (within /usr/lib/dri/fglrx_dri.so)

==8417== by 0x65EDED7: ???

==8417== by 0x798ACF0: (within /usr/lib/dri/fglrx_dri.so)

==8417== by 0x65F30CF: ???

==8417== by 0x798A7B5: (within /usr/lib/dri/fglrx_dri.so)

==8417== by 0x64D1727: ???

==8417== by 0x7996588: (within /usr/lib/dri/fglrx_dri.so)

==8417== by 0x65F30CF: ???

==8417== by 0x79E721C: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7feff4c70 is on thread 1's stack

==8417==

==8417== Conditional jump or move depends on uninitialised value(s)

==8417== at 0x79E801B: (within /usr/lib/dri/fglrx_dri.so)

==8417== by 0x79E78DB: (within /usr/lib/dri/fglrx_dri.so)

==8417== by 0x79E1B31: (within /usr/lib/dri/fglrx_dri.so)

==8417== by 0x6575857: ???

==8417== by 0x7FEFF60BB: ???

==8417== by 0x65F30CF: ???

==8417== by 0x64D1727: ???

==8417== by 0x546E616272556F68: ???

==8417== by 0x33692E726F727264: ???

==8417== by 0x3637: ???

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==8417== by 0x7836396: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452fff is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==8417== by 0x7836396: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452ffe is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==8417== by 0x7836396: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452ffd is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==8417== by 0x7836396: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452ffc is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C28504: memcpy (mc_replace_strmem.c:402)

==8417== by 0x78363AB: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452fff is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C2850D: memcpy (mc_replace_strmem.c:402)

==8417== by 0x78363AB: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452ffe is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C28517: memcpy (mc_replace_strmem.c:402)

==8417== by 0x78363AB: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452ffd is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== Invalid write of size 1

==8417== at 0x4C28521: memcpy (mc_replace_strmem.c:402)

==8417== by 0x78363AB: (within /usr/lib/dri/fglrx_dri.so)

==8417== Address 0x7ffadf452ffc is not stack'd, malloc'd or (recently) free'd

==8417==

==8417== More than 10000000 total errors detected. I'm not reporting any more.

==8417== Final error counts will be inaccurate. Go fix your program!

==8417== Rerun with --error-limit=no to disable this cutoff. Note

==8417== that errors may occur in your program without prior warning from

==8417== Valgrind, because errors are no longer being displayed.

==8417==

441 frames in 5.0 seconds = 87.853 FPS

568 frames in 5.0 seconds = 113.584 FPS

645 frames in 5.0 seconds = 128.830 FPS

650 frames in 5.0 seconds = 129.840 FPS

632 frames in 5.0 seconds = 126.231 FPS

628 frames in 5.0 seconds = 125.472 FPS

563 frames in 5.0 seconds = 112.584 FPS

658 frames in 5.0 seconds = 131.589 FPS

646 frames in 5.0 seconds = 129.113 FPS

638 frames in 5.0 seconds = 127.439 FPS

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"

after 41 requests (41 known processed) with 0 events remaining.

==8417==

==8417== ERROR SUMMARY: 10000000 errors from 10 contexts (suppressed: 29 from 5)

==8417== malloc/free: in use at exit: 4,056,472 bytes in 9,726 blocks.

==8417== malloc/free: 61,255 allocs, 51,529 frees, 39,936,449 bytes allocated.

==8417== For counts of detected errors, rerun with: -v

==8417== Use --track-origins=yes to see where uninitialised values come from

==8417== searching for pointers to 9,726 not-freed blocks.

==8417== checked 6,268,048 bytes.

==8417==

==8417== LEAK SUMMARY:

==8417== definitely lost: 4,468 bytes in 40 blocks.

==8417== possibly lost: 223,968 bytes in 67 blocks.

==8417== still reachable: 3,828,036 bytes in 9,619 blocks.

==8417== suppressed: 0 bytes in 0 blocks.

==8417== Rerun with --leak-check=full to see details of leaked memory.

Share this post


Link to post
Share on other sites

SOLVED (I think)

 

 

Seems to be an issue with open gl and ati driver for radeon 3200

 

ATI version 9.8 seems broken, reverted to 9.7 and seems so far to be working ok, not eating meh ram!

 

thanks all for the advice

 

Wizz

Share this post


Link to post
Share on other sites

I'm Windows user :hehe:. When i change my Geforce card to ATI card (2600XT) i have memory leak problem too (1-3h play - EL process have 2GB swap file). I don't remember with version on driver this happens first time. I disable in EL "Show Sky" and "Cloud shadows" option and EL eats max 250MB.

Share this post


Link to post
Share on other sites

I'm using ati-drivers-9.9.

I had to disable "Point Particles", "Use animation program" and "Show Sky" (and have currently turned off reflections because I believe that to be the cause of the segfaults I posted about earlier) to stop EL from eating huge tracks of land lots of memory.

 

Interestingly enough EL would claim more memory even while in console but not when watching the tab map (and walking).

Share this post


Link to post
Share on other sites
SOLVED (I think)

 

 

Seems to be an issue with open gl and ati driver for radeon 3200

 

ATI version 9.8 seems broken, reverted to 9.7 and seems so far to be working ok, not eating meh ram!

 

thanks all for the advice

 

Wizz

Il Confirm, every ati driver greater then 9.7 seams to eating a lot of ram.

But what i got, when i debuged my cvs el was following errormessage

main.c:167:Attempting to free a pointer(0x5237a70) which isn't allocated!

main.c:168:Attempting to free a pointer(0x6f372b0) which isn't allocated!

for every time i got this message (the pointer numer is increasing) the memoryusage is also increasing.

I also found, that this message comes 3 times faster under the ati 9.10 driver then under the 9.9 or 9.8 Version, and that the memory leak seams also 3 times bigger under ati 9.10

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×