shmat/Memory issues...
Ok, I have been working on this server most of the day, and I am almost there, however now when I try and run world, I get:
as root
shmat failed! Invalid argument
*** buffer overflow detected ***: ./world terminated
as normal user
failed to get 0-length shared mem: Permission denied
shmat failed! Invalid argument
and a really huge stack trace, I have searched the forums and found where to increase the size of my shmat and have done that with no change in the error at all, even with increasing my shmat up to 512000000
However, I have noticed that if I dump the DB completely, the server will run (with what it can run without a DB) up to almost letting a client login, so I am thinking it has something to do with the DB...
I have downloaded the latest source, with the latest DB from projecteq and I am at a loss right now, the logs indicate everything is starting ok, it just seems like it is trying to do too much or something...here is the whole stack trace
failed to get 0-length shared mem: Permission denied
shmat failed! Invalid argument
*** buffer overflow detected ***: ./world terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x2c635d]
/lib/libc.so.6[0x2c447a]
/lib/libc.so.6(__strcpy_chk+0x44)[0x2c3754]
./world(_ZN16AdventureManager22LoadAdventureTemplate sEv+0x26f)[0x80fe501]
./world(main+0x12d2)[0x808f821]
/lib/libc.so.6(__libc_start_main+0xe6)[0x1e8bb6]
./world[0x807fac1]
======= Memory map: ========
00110000-00163000 r-xp 00000000 fd:00 59415 /usr/lib/libssl.so.1.0.0a
00163000-00167000 rw-p 00053000 fd:00 59415 /usr/lib/libssl.so.1.0.0a
00167000-0017b000 r-xp 00000000 fd:00 29201 /lib/libresolv-2.11.2.so
0017b000-0017c000 ---p 00014000 fd:00 29201 /lib/libresolv-2.11.2.so
0017c000-0017d000 r--p 00014000 fd:00 29201 /lib/libresolv-2.11.2.so
0017d000-0017e000 rw-p 00015000 fd:00 29201 /lib/libresolv-2.11.2.so
0017e000-00180000 rw-p 00000000 00:00 0
00180000-00182000 r-xp 00000000 fd:00 71865 /lib/libutil-2.11.2.so
00182000-00183000 r--p 00001000 fd:00 71865 /lib/libutil-2.11.2.so
00183000-00184000 rw-p 00002000 fd:00 71865 /lib/libutil-2.11.2.so
00184000-0018c000 r-xp 00000000 fd:00 29241 /lib/libkrb5support.so.0.1
0018c000-0018d000 rw-p 00007000 fd:00 29241 /lib/libkrb5support.so.0.1
0018d000-001a9000 r-xp 00000000 fd:00 29202 /lib/libselinux.so.1
001a9000-001aa000 r--p 0001b000 fd:00 29202 /lib/libselinux.so.1
001aa000-001ab000 rw-p 0001c000 fd:00 29202 /lib/libselinux.so.1
001b0000-001ce000 r-xp 00000000 fd:00 4389 /lib/ld-2.11.2.so
001ce000-001cf000 r--p 0001d000 fd:00 4389 /lib/ld-2.11.2.so
001cf000-001d0000 rw-p 0001e000 fd:00 4389 /lib/ld-2.11.2.so
001d2000-00341000 r-xp 00000000 fd:00 4390 /lib/libc-2.11.2.so
00341000-00342000 ---p 0016f000 fd:00 4390 /lib/libc-2.11.2.so
00342000-00344000 r--p 0016f000 fd:00 4390 /lib/libc-2.11.2.so
00344000-00345000 rw-p 00171000 fd:00 4390 /lib/libc-2.11.2.so
00345000-00348000 rw-p 00000000 00:00 0
0034a000-0034d000 r-xp 00000000 fd:00 4391 /lib/libdl-2.11.2.so
0034d000-0034e000 r--p 00002000 fd:00 4391 /lib/libdl-2.11.2.so
0034e000-0034f000 rw-p 00003000 fd:00 4391 /lib/libdl-2.11.2.so
00351000-00367000 r-xp 00000000 fd:00 4401 /lib/libpthread-2.11.2.so
00367000-00368000 r--p 00015000 fd:00 4401 /lib/libpthread-2.11.2.so
00368000-00369000 rw-p 00016000 fd:00 4401 /lib/libpthread-2.11.2.so
00369000-0036b000 rw-p 00000000 00:00 0
0036d000-00395000 r-xp 00000000 fd:00 6275 /lib/libm-2.11.2.so
00395000-00396000 r--p 00027000 fd:00 6275 /lib/libm-2.11.2.so
00396000-00397000 rw-p 00028000 fd:00 6275 /lib/libm-2.11.2.so
003a4000-003b6000 r-xp 00000000 fd:00 6962 /lib/libz.so.1.2.3
003b6000-003b7000 rw-p 00011000 fd:00 6962 /lib/libz.so.1.2.3
003b7000-003e4000 r-xp 00000000 fd:00 29247 /lib/libgssapi_krb5.so.2.2
003e4000-003e5000 rw-p 0002d000 fd:00 29247 /lib/libgssapi_krb5.so.2.2
0044b000-0044c000 r-xp 00000000 00:00 0 [vdso]
00504000-00632000 r-xp 00000000 fd:00 921989 /usr/lib/mysql/libmysqlclient.so.16.0.0
00632000-00679000 rw-p 0012e000 fd:00 921989 /usr/lib/mysql/libmysqlclient.so.16.0.0
00a27000-00a31000 r-xp 00000000 fd:00 4980904 /eqemu/source/20100626/EMuShareMem/libEMuShareMem.so
00a31000-00a32000 rw-p 00009000 fd:00 4980904 /eqemu/source/20100626/EMuShareMem/libEMuShareMem.so
00bdc000-00be7000 r-xp 00000000 fd:00 51253 /lib/libnss_files-2.11.2.so
00be7000-00be8000 r--p 0000a000 fd:00 51253 /lib/libnss_files-2.11.2.so
00be8000-00be9000 rw-p 0000b000 fd:00 51253 /lib/libnss_files-2.11.2.so
00d88000-00d8a000 r-xp 00000000 fd:00 29244 /lib/libcom_err.so.2.1
00d8a000-00d8b000 rw-p 00002000 fd:00 29244 /lib/libcom_err.so.2.1
00d8d000-00daa000 r-xp 00000000 fd:00 29208 /lib/libgcc_s-4.4.3-20100127.so.1
00daa000-00dab000 rw-p 0001c000 fd:00 29208 /lib/libgcc_s-4.4.3-20100127.so.1
00dad000-00dd7000 r-xp 00000000 fd:00 29243 /lib/libk5crypto.so.3.1
00dd7000-00dd8000 rw-p 0002a000 fd:00 29243 /lib/libk5crypto.so.3.1
00dda000-00ddc000 r-xp 00000000 fd:00 29240 /lib/libkeyutils-1.2.so
00ddc000-00ddd000 rw-p 00001000 fd:00 29240 /lib/libkeyutils-1.2.so
00dea000-00f5d000 r-xp 00000000 fd:00 11306 /usr/lib/libcrypto.so.1.0.0a
00f5d000-00f71000 rw-p 00172000 fd:00 11306 /usr/lib/libcrypto.so.1.0.0a
00f71000-00f74000 rw-p 00000000 00:00 0
04e82000-04f35000 r-xp 00000000 fd:00 29245 /lib/libkrb5.so.3.3
04f35000-04f3b000 rw-p 000b3000 fd:00 29245 /lib/libkrb5.so.3.3
04f3d000-0501a000 r-xp 00000000 fd:00 29209 /usr/lib/libstdc++.so.6.0.13
0501a000-0501e000 r--p 000dc000 fd:00 29209 /usr/lib/libstdc++.so.6.0.13
0501e000-05020000 rw-p 000e0000 fd:00 29209 /usr/lib/libstdc++.so.6.0.13
05020000-05026000 rw-p 00000000 00:00 0
05028000-0506d000 r-xp 00000000 fd:00 29237 /lib/libfreebl3.so
0506d000-0506e000 rw-p 00045000 fd:00 29237 /lib/libfreebl3.so
0506e000-05072000 rw-p 00000000 00:00 0
05124000-0512b000 r-xp 00000000 fd:00 29238 /lib/libcrypt-2.11.2.so
0512b000-0512c000 r--p 00007000 fd:00 29238 /lib/libcrypt-2.11.2.so
0512c000-0512d000 rw-p 00008000 fd:00 29238 /lib/libcrypt-2.11.2.so
0512d000-05154000 rw-p 00000000 00:00 0
05397000-053ae000 r-xp 00000000 fd:00 60535 /lib/libnsl-2.11.2.so
053ae000-053af000 r--p 00016000 fd:00 60535 /lib/libnsl-2.11.2.so
053af000-053b0000 rw-p 00017000 fd:00 60535 /lib/libnsl-2.11.2.so
053b0000-053b2000 rw-p 00000000 00:00 0
05425000-05684000 r-xp 00000000 fd:00 73366 /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so
05684000-05689000 rw-p 0025f000 fd:00 73366 /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so
08048000-081a7000 r-xp 00000000 fd:00 4984206 /eqemu/server/world
081a7000-081b2000 rw-p 0015e000 fd:00 4984206 /eqemu/server/world
081b2000-081bb000 rw-p 00000000 00:00 0
08a97000-08b96000 rw-p 00000000 00:00 0 [heap]
b20c9000-b56ff000 rw-p 00000000 00:00 0
b56ff000-b5700000 ---p 00000000 00:00 0
b5700000-b6100000 rw-p 00000000 00:00 0
b6100000-b6121000 rw-p 00000000 00:00 0
b6121000-b6200000 ---p 00000000 00:00 0
b6300000-b6321000 rw-p 00000000 00:00 0
b6321000-b6400000 ---p 00000000 00:00 0
b64c3000-b64c4000 ---p 00000000 00:00 0
b64c4000-b6ec4000 rw-p 00000000 00:00 0
b6ec4000-b6ec5000 ---p 00000000 00:00 0
b6ec5000-b78cc000 rw-p 00000000 00:00 0
b78db000-b78df000 rw-p 00000000 00:00 0
bf9b6000-bf9cb000 rw-p 00000000 00:00 0 [stack]
Thanks in advance!
|