logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
*** glibc detected *** ./nwserver: corrupted double [SOLVED]

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
cely



Joined: 10 Jan 2009
Posts: 5

PostPosted: Sat Jan 10, 2009 9:43    Post subject: *** glibc detected *** ./nwserver: corrupted double [SOLVED] Reply with quote

Hello,

We're trying to move our PW from windows to linux (ubuntu 8.04 64-bit), but have run into a particularly nasty problem. Logging in and out of the server works once or twice then the server segfaults or crashes with this message upon a log in or out:

Code:

*** glibc detected *** ./nwserver: corrupted double-linked list: 0x1381a0e0 ***
======= Backtrace: =========
/lib32/libc.so.6[0xf7e47cb9]
/lib32/libc.so.6[0xf7e49a6d]
/lib32/libc.so.6(__libc_malloc+0x8d)[0xf7e4b83d]
./nwserver[0x830cbed]
./nwserver[0x830cd30]
./nwserver[0x8261e64]
./nwserver[0x826200e]
./nwserver[0x80cc8eb]
./nwserver[0x8095fd0]
./nwserver[0x80a0530]
./nwserver(strftime+0x1063)[0x804bbe7]
/lib32/libc.so.6(__libc_start_main+0xe0)[0xf7df3450]
./nwserver(read+0x4d)[0x804b191]
======= Memory map: ========
08048000-0805d000 r-xp 00000000 08:01 655434                             /usr/local/games/nwn/nwserver
0805d000-0805e000 rwxp 00015000 08:01 655434                             /usr/local/games/nwn/nwserver
0805e000-08068000 r-xp 00016000 08:01 655434                             /usr/local/games/nwn/nwserver
08068000-08069000 rwxp 00020000 08:01 655434                             /usr/local/games/nwn/nwserver
08069000-08073000 r-xp 00021000 08:01 655434                             /usr/local/games/nwn/nwserver
08073000-08075000 rwxp 0002b000 08:01 655434                             /usr/local/games/nwn/nwserver
08075000-080ad000 r-xp 0002d000 08:01 655434                             /usr/local/games/nwn/nwserver
080ad000-080ae000 rwxp 00065000 08:01 655434                             /usr/local/games/nwn/nwserver
080ae000-0810a000 r-xp 00066000 08:01 655434                             /usr/local/games/nwn/nwserver
0810a000-0810b000 rwxp 000c2000 08:01 655434                             /usr/local/games/nwn/nwserver
0810b000-0810d000 r-xp 000c3000 08:01 655434                             /usr/local/games/nwn/nwserver
0810d000-0810e000 rwxp 000c5000 08:01 655434                             /usr/local/games/nwn/nwserver
0810e000-08115000 r-xp 000c6000 08:01 655434                             /usr/local/games/nwn/nwserver
08115000-08117000 rwxp 000cd000 08:01 655434                             /usr/local/games/nwn/nwserver
08117000-08118000 r-xp 000cf000 08:01 655434                             /usr/local/games/nwn/nwserver
08118000-08119000 rwxp 000d0000 08:01 655434                             /usr/local/games/nwn/nwserver
08119000-0812a000 r-xp 000d1000 08:01 655434                             /usr/local/games/nwn/nwserver
0812a000-0812c000 rwxp 000e2000 08:01 655434                             /usr/local/games/nwn/nwserver
0812c000-0819b000 r-xp 000e4000 08:01 655434                             /usr/local/games/nwn/nwserver
0819b000-0819c000 rwxp 00153000 08:01 655434                             /usr/local/games/nwn/nwserver
0819c000-081f4000 r-xp 00154000 08:01 655434                             /usr/local/games/nwn/nwserver
081f4000-081f5000 rwxp 001ac000 08:01 655434                             /usr/local/games/nwn/nwserver
081f5000-0823c000 r-xp 001ad000 08:01 655434                             /usr/local/games/nwn/nwserver
0823c000-0823e000 rwxp 001f4000 08:01 655434                             /usr/local/games/nwn/nwserver
0823e000-082d9000 r-xp 001f6000 08:01 655434                             /usr/local/games/nwn/nwserver
082d9000-082da000 rwxp 00291000 08:01 655434                             /usr/local/games/nwn/nwserver
082da000-0832f000 r-xp 00292000 08:01 655434                             /usr/local/games/nwn/nwserver
0832f000-083d0000 rwxp 002e6000 08:01 655434                             /usr/local/games/nwn/nwserver
083d0000-1399c000 rwxp 083d0000 00:00 0                                  [heap]
f5300000-f5321000 rwxp f5300000 00:00 0
f5321000-f5400000 ---p f5321000 00:00 0
f5436000-f5437000 ---p f5436000 00:00 0
f5437000-f5e78000 rwxp f5437000 00:00 0
f6073000-f61fb000 rwxp f6073000 00:00 0
f61fc000-f63cc000 rwxp f61fc000 00:00 0
f63cc000-f63db000 r-xp 00000000 08:01 1622046                            /lib32/libresolv-2.7.so
f63db000-f63dd000 rwxp 0000f000 08:01 1622046                            /lib32/libresolv-2.7.so
f63dd000-f63df000 rwxp f63dd000 00:00 0
f63e8000-f63e9000 ---p f63e8000 00:00 0
f63e9000-f7009000 rwxp f63e9000 00:00 0
f7009000-f700a000 ---p f7009000 00:00 0
f700a000-f780a000 rwxp f700a000 00:00 0
f780a000-f781c000 r-xp 00000000 08:01 3178506                            /usr/local/games/nwn/nwnx_events.so
f781c000-f781d000 rwxp 00011000 08:01 3178506                            /usr/local/games/nwn/nwnx_events.so
f781d000-f7826000 r-xp 00000000 08:01 1622040                            /lib32/libnss_files-2.7.so
f7826000-f7828000 rwxp 00008000 08:01 1622040                            /lib32/libnss_files-2.7.so
f7828000-f7829000 rwxp f7828000 00:00 0
f7829000-f782d000 r-xp 00000000 08:01 1622039                            /lib32/libnss_dns-2.7.so
f782d000-f782f000 rwxp 00003000 08:01 1622039                            /lib32/libnss_dns-2.7.so
f782f000-f7933000 rwxp f782f000 00:00 0
f7933000-f797e000 r-xp 00000000 08:01 651161                             /usr/local/games/nwn/nwnx_odbc.so
f797e000-f7a60000 rwxp 0004a000 08:01 651161                             /usr/local/games/nwn/nwnx_odbc.so
f7a60000-f7a61000 rwxp f7a60000 00:00 0
f7a61000-f7a63000 r-xp 00000000 08:01 811151                             /usr/local/games/nwn/nwnx_resetplugin.so
f7a63000-f7a64000 rwxp 00001000 08:01 811151                             /usr/local/games/nwn/nwnx_resetplugin.so
f7a64000-f7aa3000 r-xp 00000000 08:01 10270                              /usr/lib/locale/en_US.utf8/LC_CTYPE
f7aa3000-f7aa4000 r-xp 00000000 08:01 10271                              /usr/lib/locale/en_US.utf8/LC_NUMERIC
f7aa4000-f7aa5000 r-xp 00000000 08:01 10272                              /usr/lib/locale/en_US.utf8/LC_TIME
f7aa5000-f7b86000 r-xp 00000000 08:01 10273                              /usr/lib/locale/en_US.utf8/LC_COLLATE
f7b86000-f7b87000 r-xp 00000000 08:01 10274                              /usr/lib/locale/en_US.utf8/LC_MONETARY
f7b87000-f7b88000 r-xp 00000000 08:01 10276                              /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
f7b88000-f7b89000 r-xp 00000000 08:01 10277                              /usr/lib/locale/en_US.utf8/LC_PAPER
f7b89000-f7b8a000 r-xp 00000000 08:01 10278                              /usr/lib/locale/en_US.utf8/LC_NAME
f7b8a000-f7b8b000 r-xp 00000000 08:01 10279                              /usr/lib/locale/en_US.utf8/LC_ADDRESS
f7b8b000-f7bed000 r-xp 00000000 08:01 3178502                            /usr/local/games/nwn/LetoScript.so
f7bed000-f7bee000 r-xp 00062000 08:01 3178502                            /usr/local/games/nwn/LetoScript.so
f7bee000-f7bf2000 r-xp f7bee000 00:00 0
f7bf2000-f7bfb000 rwxp 00062000 08:01 3178502                            /usr/local/games/nwn/LetoScript.so
f7bfb000-f7bfc000 rwxp f7bfb000 00:00 0
f7bfc000-f7c06000 r-xp 00000000 08:01 3178500                            /usr/local/games/nwn/nwnx_functions.so
f7c06000-f7c07000 rwxp 00009000 08:01 3178500                            /usr/local/games/nwn/nwnx_functions.so
f7c07000-f7cef000 r-xp 00000000 08:01 778691                             /usr/lib32/libstdc++.so.6.0.9
f7cef000-f7cf2000 r-xp 000e8000 08:01 778691                             /usr/lib32/libstdc++.so.6.0.9
f7cf2000-f7cf4000 rwxp 000eb000 08:01 778691                             /usr/lib32/libstdc++.so.6.0.9
f7cf4000-f7cfa000 rwxp f7cf4000 00:00 0
f7cfa000-f7cfb000 r-xp 00000000 08:01 10280                              /usr/lib/locale/en_US.utf8/LC_TELEPHONE
f7cfb000-f7cfc000 r-xp 00000000 08:01 10281                              /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
f7cfc000-f7cfd000 r-xp 00000000 08:01 10282                              /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
f7cfd000-f7cff000 rwxp f7cfd000 00:00 0
f7cff000-f7d01000 r-xp 00000000 08:01 3178503                            /usr/local/games/nwn/nwnx_leto.so
f7d01000-f7d02000 rwxp 00001000 08:01 3178503                            /usr/local/games/nwn/nwnx_leto.so
f7d02000-f7d03000 rwxp f7d02000 00:00 0
f7d03000-f7d11000 r-xp 00000000 08:01 2211844                            /usr/local/games/nwn/nwnx_hashset.so
f7d11000-f7d12000 rwxp 0000d000 08:01 2211844                            /usr/local/games/nwn/nwnx_hashset.so
f7d12000-f7d14000 rwxp f7d12000 00:00 0
f7d14000-f7d1e000 r-xp 00000000 08:01 778681                             /usr/lib32/libgcc_s.so.1
f7d1e000-f7d1f000 rwxp 0000a000 08:01 778681                             /usr/lib32/libgcc_s.so.1
f7d1f000-f7dcf000 r-xp 00000000 08:01 779007                             /usr/lib32/libstdc++.so.5.0.7
f7dcf000-f7dd4000 rwxp 000af000 08:01 779007                             /usr/lib32/libstdc++.so.5.0.7
f7dd4000-f7dd9000 rwxp f7dd4000 00:00 0
f7dd9000-f7ddb000 r-xp 00000000 08:01 1622034                            /lib32/libdl-2.7.so
f7ddb000-f7ddd000 rwxp 00001000 08:01 1622034                            /lib32/libdl-2.7.so
f7ddd000-f7f26000 r-xp 00000000 08:01 1622031                            /lib32/libc-2.7.so
f7f26000-f7f27000 r-xp 00149000 08:01 1622031                            /lib32/libc-2.7.so
f7f27000-f7f29000 rwxp 0014a000 08:01 1622031                            /lib32/libc-2.7.so
f7f29000-f7f2c000 rwxp f7f29000 00:00 0
f7f2c000-f7f40000 r-xp 00000000 08:01 1622045                            /lib32/libpthread-2.7.so
f7f40000-f7f42000 rwxp 00013000 08:01 1622045                            /lib32/libpthread-2.7.so
f7f42000-f7f45000 rwxp f7f42000 00:00 0
f7f45000-f7f68000 r-xp 00000000 08:01 1622035                            /lib32/libm-2.7.so
f7f68000-f7f6a000 rwxp 00023000 08:01 1622035                            /lib32/libm-2.7.so
f7f6a000-f7f6d000 r-xp 00000000 08:01 655435                             /usr/local/games/nwn/nwnx_nocharlist.so
f7f6d000-f7f6e000 r-xp 00002000 08:01 655435                             /usr/local/games/nwn/nwnx_nocharlist.so
f7f6e000-f7f6f000 rwxp 00003000 08:01 655435                             /usr/local/games/nwn/nwnx_nocharlist.so
f7f6f000-f7f73000 rwxp f7f6f000 00:00 0
f7f73000-f7f86000 r-xp 00000000 08:01 655442                             /usr/local/games/nwn/nwnx2.so
f7f86000-f7f87000 rwxp 00012000 08:01 655442                             /usr/local/games/nwn/nwnx2.so
f7f87000-f7f8a000 rwxp f7f87000 00:00 0
f7f8a000-f7fa7000 r-xp 00000000 08:01 1622028                            /lib32/ld-2.7.so
f7fa7000-f7fa9000 rwxp 0001c000 08:01 1622028                            /lib32/ld-2.7.so
ffb54000-ffb69000 rw-p 7ffffffea000 00:00 0                              [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0                                  [vdso]
Aborted


Last edited by cely on Tue Jan 13, 2009 9:13; edited 1 time in total
Back to top
View user's profile Send private message
cely



Joined: 10 Jan 2009
Posts: 5

PostPosted: Sat Jan 10, 2009 10:30    Post subject: Reply with quote

core dump backtrace output from gdb as requested:

Code:

(gdb) core-file core.13935
warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at ffffe0b4
(no debugging symbols found)
Program terminated with signal 11, Segmentation fault.
[New process 13935]
[New process 13940]
[New process 13937]
[New process 13936]
#0  0xf7dad9d6 in ?? ()
(gdb) bt
#0  0xf7dad9d6 in ?? ()
#1  0xf7dafa6d in ?? ()
#2  0xf7db183d in ?? ()
#3  0xf78b8386 in ?? ()
#4  0xf78b998a in ?? ()
#5  0xf78cb9b8 in ?? ()
#6  0xf78cd31f in ?? ()
#7  0xf78cd4fc in ?? ()
#8  0xf78b30e6 in ?? ()
#9  0xf78af7ca in ?? ()
#10 0xf78ad8b6 in ?? ()
#11 0xf78ad809 in ?? ()
#12 0xf7ee3436 in ?? ()
#13 0xf7ee3f1a in ?? ()
#14 0x082041ec in ?? ()
#15 0x08231a7e in ?? ()
#16 0x0826042e in ?? ()
#17 0x082627d7 in ?? ()
#18 0x082621d3 in ?? ()
#19 0x081b43ae in ?? ()
#20 0x08096004 in ?? ()
#21 0x080a0530 in ?? ()
#22 0x0804bbe7 in ?? ()
#23 0xf7d59450 in ?? ()
#24 0x0804b191 in ?? ()
(gdb)
Back to top
View user's profile Send private message
acaos



Joined: 08 May 2007
Posts: 153

PostPosted: Sun Jan 11, 2009 1:54    Post subject: Reply with quote

I've never had a great deal of luck running nwserver under 64-bit Linux. Is it at all possible for you to try running it under 32-bit?

Acaos
Back to top
View user's profile Send private message
Lokey



Joined: 02 Jan 2005
Posts: 158

PostPosted: Mon Jan 12, 2009 7:29    Post subject: Reply with quote

I'm getting the same problem in my thrown together for testing purposes 32bit. (PCLinux 2k8 indifferently updated, same nwnx compiles, slight differences in shell script and nwnx settings.)

Will throw together a test mod and see if problem can be duplicated.
_________________
Neversummer PW NWNx powered mayhem Wink
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Mon Jan 12, 2009 11:49    Post subject: Reply with quote

It crashed somewhere in the MySQL library while making a query.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Lokey



Joined: 02 Jan 2005
Posts: 158

PostPosted: Tue Jan 13, 2009 0:14    Post subject: Reply with quote

Ok, I'll go through the enter/exit scripting particularly the mysql queries (our practices aren't horrible, but a lot of stuff has accreted into those scripts over the years).

And look into crashing with a much smaller module too.
_________________
Neversummer PW NWNx powered mayhem Wink
Back to top
View user's profile Send private message
cely



Joined: 10 Jan 2009
Posts: 5

PostPosted: Tue Jan 13, 2009 9:12    Post subject: Reply with quote

This has been resolved. I had compiled my own nwnx_hashset.so and that appears to have been the culprit. I copied the nwnx_hashset.so from FunkySwerve's SIMTools v3.0 package and ever since then I have not been able to crash the server.

Virusman, I apologize for having wasted your time Embarassed
Back to top
View user's profile Send private message
Lokey



Joined: 02 Jan 2005
Posts: 158

PostPosted: Wed Jan 14, 2009 6:27    Post subject: Reply with quote

acaos wrote:
I've never had a great deal of luck running nwserver under 64-bit Linux. Is it at all possible for you to try running it under 32-bit?

Acaos

Could you expound a bit more about the snags you ran into?
_________________
Neversummer PW NWNx powered mayhem Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group