[X2Go-Dev] Bug#641: Bug#641: x2goagent crash in XFreeFontPath

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Fri May 15 15:08:24 CEST 2015


Hi Orion,

On  So 12 Okt 2014 16:27:21 CEST, Orion Poplawski wrote:

> Package: nx-libs
> Version: 3.5.0.27
>
> Core was generated by `/usr/lib64/nx/../x2go/bin/x2goagent  
> -extension XFIXES -nolisten tcp -nolisten t'.
> Program terminated with signal SIGABRT, Aborted.
> #0  0x00007f1be42d9877 in raise () from /lib64/libc.so.6
> Missing separate debuginfos, use: debuginfo-install  
> glibc-2.18-16.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64  
> libXau-1.0.8-2.fc20.x86_64 libXcursor-devel-1.1.14-2.fc20.x86_64  
> libXfixes-5.0.1-2.fc20.x86_64 libXrender-0.9.8-2.fc20.x86_64  
> libgcc-4.8.3-7.fc20.x86_64 libjpeg-turbo-1.3.1-2.fc20.x86_64  
> libpng-1.6.6-3.fc20.x86_64 libstdc++-4.8.3-7.fc20.x86_64  
> libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-2.fc20.x86_64  
> sssd-client-1.11.7-2.fc20.x86_64 xz-libs-5.1.2-12alpha.fc20.x86_64  
> zlib-1.2.8-3.fc20.x86_64
> (gdb) bt
> #0  0x00007f1be42d9877 in raise () from /lib64/libc.so.6
> #1  0x00007f1be42daf68 in abort () from /lib64/libc.so.6
> #2  0x00007f1be4319a54 in __libc_message () from /lib64/libc.so.6
> #3  0x00007f1be43203ac in malloc_consolidate () from /lib64/libc.so.6
> #4  0x00007f1be4320c66 in _int_free () from /lib64/libc.so.6
> #5  0x00007f1be6865d8d in XFreeFontPath (list=list at entry=0x57e3980)  
> at GetFPath.c:92
> #6  0x0000000000495789 in nxagentReconnectFailedFonts (p0=<optimized  
> out>) at Font.c:1353
> #7  0x00000000004b8670 in nxagentReconnectSession () at Reconnect.c:482
> #8  0x00000000004b8a3b in nxagentHandleConnectionChanges () at  
> Reconnect.c:827
> #9  0x00000000004b8c60 in nxagentHandleConnectionStates () at Reconnect.c:218
> #10 0x000000000049b905 in nxagentWakeupHandler (data=<optimized  
> out>, count=-1, mask=0xacb760 <LastSelectMask>) at Handlers.c:589
> #11 0x000000000046a33b in WakeupHandler (result=result at entry=-1,  
> pReadmask=pReadmask at entry=0xacb760 <LastSelectMask>) at dixutils.c:472
> #12 0x0000000000473ca2 in WaitForSomething  
> (pClientsReady=pClientsReady at entry=0x7fffb3d56250) at WaitFor.c:389
> #13 0x0000000000445c1a in Dispatch () at X/NXdispatch.c:619
> #14 0x0000000000429455 in main (argc=15, argv=0x7fffb3d56878,  
> envp=<optimized out>) at main.c:450
> (gdb) up 5
> #5  0x00007f1be6865d8d in XFreeFontPath (list=list at entry=0x57e3980)  
> at GetFPath.c:92
> 92                      Xfree ((char *)list);
> (gdb) print list
> $1 = (char **) 0x57e3980
> (gdb) print (char *)list
> $2 = 0x57e3980 "\020\263\201\006"
> (gdb) up
> #6  0x0000000000495789 in nxagentReconnectFailedFonts (p0=<optimized  
> out>) at Font.c:1353
> 1353          XFreeFontPath(fontPaths);
> (gdb) print fontPaths
> $3 = (char **) 0x57e3980
>

Can you reproduce this issue with nx-libs 3.6.x (please build it from source).

In nx-libs we lately dropped nx-X11/lib/font completely and now build  
against the libXfont.so from X.Org. As the issue causing function is a  
libXfont function, I presume this issue to be solved in nx-libs 3.6.x.

Any feedback is highly appreciated.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150515/fec83c05/attachment.pgp>


More information about the x2go-dev mailing list