[FreeNX-kNX] Strange Error Message / Connection failure.

Brent Davidson brent at texascountrytitle.com
Tue Nov 6 20:43:30 UTC 2007


Every now and then a connection to my freeNX server will fail and I have 
the following info in my logs.  (I'm using Centos 5 with the nx and 
freeNX packages from the Centos Yum repositories.)
The problem is sporadic and doesn't happen with every connection. I'm 
running a rootless mode script that calls Wine and then a database 
application.  Not sure why but every time I exit from the app nx leaves 
a core dump in the logged in users home directory, but other than that 
everything appears to run correctly.  Any ideas? 

Session: Session terminated at 'Tue Oct 30 18:36:26 2007'.
*** glibc detected *** /usr/lib/NX/nxagent: corrupted double-linked 
list: 0x089dc868 ***
======= Backtrace: =========
/lib/libc.so.6[0x725d89]
/lib/libc.so.6(cfree+0x90)[0x7295b0]
/usr/lib/NX/lib/libX11.so.6(XFreeGC+0xaf)[0xaa1b9f]
/usr/lib/NX/nxagent[0x80b443c]
/usr/lib/NX/nxagent[0x807ad6f]
/usr/lib/NX/nxagent[0x8088027]
/usr/lib/NX/nxagent[0x808809f]
/usr/lib/NX/nxagent[0x81b5ac8]
/usr/lib/NX/nxagent[0x81b409c]
/usr/lib/NX/nxagent[0x817f9d9]
/usr/lib/NX/nxagent[0x817f6a1]
/usr/lib/NX/nxagent[0x807821b]
/usr/lib/NX/nxagent[0x80782e9]
/usr/lib/NX/nxagent[0x808ac45]
/lib/libc.so.6(__libc_start_main+0xdc)[0x6d5dec]
/usr/lib/NX/nxagent[0x804ef91]
======= Memory map: ========
00110000-0020a000 r-xp 00000000 fd:00 61048321   
/usr/lib/NX/lib/libXcomp.so.3.0.0
0020a000-0020e000 rwxp 000fa000 fd:00 61048321   
/usr/lib/NX/lib/libXcomp.so.3.0.0
0020e000-00212000 rwxp 0020e000 00:00 0
00212000-0021f000 r-xp 00000000 fd:00 61048323   
/usr/lib/NX/lib/libXcompext.so.3.0.0
0021f000-00220000 rwxp 0000c000 fd:00 61048323   
/usr/lib/NX/lib/libXcompext.so.3.0.0
00220000-00221000 rwxp 00220000 00:00 0
00221000-00229000 r-xp 00000000 fd:00 61048335   
/usr/lib/NX/lib/libXrender.so.1.2.2
00229000-0022a000 rwxp 00007000 fd:00 61048335   
/usr/lib/NX/lib/libXrender.so.1.2.2
0022a000-00235000 r-xp 00000000 fd:00 49774617   
/lib/libgcc_s-4.1.1-20070105.so.1
00235000-00236000 rwxp 0000a000 fd:00 49774617   
/lib/libgcc_s-4.1.1-20070105.so.1
00237000-0025c000 r-xp 00000000 fd:00 60233560   /usr/lib/libpng12.so.0.10.0
0025c000-0025d000 rwxp 00024000 fd:00 60233560   /usr/lib/libpng12.so.0.10.0
0025f000-0033f000 r-xp 00000000 fd:00 60235612   /usr/lib/libstdc++.so.6.0.8
0033f000-00342000 r-xp 000e0000 fd:00 60235612   /usr/lib/libstdc++.so.6.0.8
00342000-00344000 rwxp 000e3000 fd:00 60235612   /usr/lib/libstdc++.so.6.0.8
00344000-0034a000 rwxp 00344000 00:00 0
0069e000-006b7000 r-xp 00000000 fd:00 49776067   /lib/ld-2.5.so
006b7000-006b8000 r-xp 00018000 fd:00 49776067   /lib/ld-2.5.so
006b8000-006b9000 rwxp 00019000 fd:00 49776067   /lib/ld-2.5.so
006c0000-007f7000 r-xp 00000000 fd:00 49776068   /lib/libc-2.5.so
007f7000-007f9000 r-xp 00137000 fd:00 49776068   /lib/libc-2.5.so
007f9000-007fa000 rwxp 00139000 fd:00 49776068   /lib/libc-2.5.so
007fa000-007fd000 rwxp 007fa000 00:00 0
007ff000-00824000 r-xp 00000000 fd:00 49776075   /lib/libm-2.5.so
00824000-00825000 r-xp 00024000 fd:00 49776075   /lib/libm-2.5.so
00825000-00826000 rwxp 00025000 fd:00 49776075   /lib/libm-2.5.so
00828000-0082a000 r-xp 00000000 fd:00 49776069   /lib/libdl-2.5.so
0082a000-0082b000 r-xp 00001000 fd:00 49776069   /lib/libdl-2.5.so
0082b000-0082c000 rwxp 00002000 fd:00 49776069   /lib/libdl-2.5.so
00847000-00859000 r-xp 00000000 fd:00 106397881  /usr/lib/libz.so.1.2.3
00859000-0085a000 rwxp 00011000 fd:00 106397881  /usr/lib/libz.so.1.2.3
0092b000-00933000 r-xp 00000000 fd:00 61048340   
/usr/lib/NX/lib/libXcompshad.so.3.0.0
00933000-00934000 rwxp 00008000 fd:00 61048340   
/usr/lib/NX/lib/libXcompshad.so.3.0.0
00a85000-00b5e000 r-xp 00000000 fd:00 61048314   
/usr/lib/NX/lib/libX11.so.6.2
00b5e000-00b61000 rwxp 000d8000 fd:00 61048314   
/usr/lib/NX/lib/libX11.so.6.2
00b61000-00b62000 rwxp 00b61000 00:00 0
00bb5000-00bb7000 r-xp 00000000 fd:00 60235497   
/usr/lib/libXdamage.so.1.0.0
00bb7000-00bb8000 rwxp 00001000 fd:00 60235497   
/usr/lib/libXdamage.so.1.0.0
00bc3000-00be4000 r-xp 00000000 fd:00 106397909  /usr/lib/libjpeg.so.62.0.0
00be4000-00be5000 rwxp 00020000 fd:00 106397909  /usr/lib/libjpeg.so.62.0.0
00c40000-00c44000 r-xp 00000000 fd:00 60234822   /usr/lib/libXfixes.so.3.1.0
00c44000-00c45000 rwxp 00003000 fd:00 60234822   /usr/lib/libXfixes.so.3.1.0
00c47000-00c4a000 r-xp 00000000 fd:00 60234455   /usr/lib/libXrandr.so.2.0.0
00c4a000-00c4b000 rwxp 00002000 fd:00 60234455   /usr/lib/libXrandr.so.2.0.0
00c4d000-00c4f000 r-xp 00000000 fd:00 60241386   
/usr/lib/libXcomposite.so.1.0.0
00c4f000-00c50000 rwxp 00001000 fd:00 60241386   
/usr/lib/libXcomposite.so.1.0.0
00c57000-00c5c000 r-xp 00000000 fd:00 60242235   /usr/lib/libXtst.so.6.1.0
00c5c000-00c5d000 rwxp 00004000 fd:00 60242235   /usr/lib/libXtst.so.6.1.0
00c5f000-00c68000 r-xp 00000000 fd:00 60234841   
/usr/lib/libXcursor.so.1.0.2
00c68000-00c69000 rwxp 00008000 fd:00 60234841   
/usr/lib/libXcursor.so.1.0.2
00c85000-00c95000 r-xp 00000000 fd:00 60235783   /usr/lib/libXpm.so.4.11.0
00c95000-00c96000 rwxp 00010000 fd:00 60235783   /usr/lib/libXpm.so.4.11.0
00cd9000-00ce8000 r-xp 00000000 fd:00 61048333   
/usr/lib/NX/lib/libXext.so.6.4
00ce8000-00ce9000 rwxp 0000e000 fd:00 61048333   
/usr/lib/NX/lib/libXext.so.6.4
00d57000-00dd4000 r-xp 00000000 fd:00 60233446   
/usr/lib/libfreetype.so.6.3.10
00dd4000-00dd7000 rwxp 0007d000 fd:00 60233446   
/usr/lib/libfreetype.so.6.3.10
00f98000-00f99000 r-xp 00f98000 00:00 0          [vdso]
08048000-08438000 r-xp 00000000 fd:00 61048345   /usr/lib/NX/nxagent
08438000-0845d000 rw-p 003ef000 fd:00 61048345   /usr/lib/NX/nxagent
0845d000-08488000 rw-p 0845d000 00:00 0
08651000-08edc000 rw-p 08651000 00:00 0
b6a00000-b6a21000 rw-p b6a00000 00:00 0
b6a21000-b6b00000 ---p b6a21000 00:00 0
b6b3d000-b7e94000 rw-p b6b3d000 00:00 0
b7f18000-b7f1d000 rw-p b7f18000 00:00 0
b7f37000-b7f38000 rw-p b7f37000 00:00 0
bfe17000-bfe2c000 rw-p bfe17000 00:00 0          [stack]
NX> 1006 Session status: closed
NX> 1006 Session status: closed
server_nxnode_echo: NX> 596 Session startup failed.
NX> 596 Session startup failed.
server_nxnode_echo: NX> 1004 Error: NX Agent exited with exit status 1. 
To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and inv
estigate 
"/home/admin/.nx/F-C-nxserver-1000-BF54AAF008516946B23C3B275D8BFAEE/session". 
You might also want to try: ssh -X myserver;
/usr/bin/nxnode --agent to test the basic functionality. Session log 
follows:
session_close BF54AAF008516946B23C3B275D8BFAEE
server_nxnode_echo: NX> 1006 Session status: closed
NX> 1001 Bye.
server_nxnode_echo: NX> 1001 Bye.

Thanks,
Brent Davidson



More information about the FreeNX-kNX mailing list