Page 1 of 1

tomenet client 4.7.2 linux segfault

Posted: Wed Nov 21, 2018 12:02 pm
by r7st
When running `tomenet -c`, I get a segfault immediately after the "Welcome to the Official Tomenet v4.7.2 Europe server" message that is displayed after character selection. I am running Fedora 29.

bt from the test client:

Code: Select all

#0  0x00007fde33d77765 in XAllocColor () from /lib64/libX11.so.6
#1  0x000000000044b187 in Infoclr_Pixell (name=0x512208 <color_name+136> "#f4f4c2") at client/main-x11.c:788
#2  0x000000000044edd4 in set_palette (c=17 '\021', r=244 '\364', g=244 '\364', b=194 '\302') at client/main-x11.c:3236
#3  0x000000000045cf0d in Receive_palette () at client/nclient.c:4266
#4  0x0000000000452ddd in Net_packet () at client/nclient.c:1337
#5  0x0000000000452ee7 in Net_input () at client/nclient.c:1391
#6  0x0000000000448150 in Input_loop () at client/c-init.c:2960
#7  0x000000000044958d in client_init (argv1=0x0, skip=0 '\000') at client/c-init.c:3706
#8  0x000000000047f51d in main (argc=2, argv=0x7fff45280598) at client/client.c:1138

Re: tomenet client 4.7.2 linux segfault

Posted: Wed Nov 21, 2018 4:51 pm
by C. Blue
Thanks for reporting.
The reason is the new client option 'palette_animation', it seems the "-c" mode cannot handle it, oops.
A quick fix for now is to edit the file TomeNET/lib/user/options.prf and change the line
Y:palette_animation
to
X:palette_animation
After that you should be able to log in fine.

Re: tomenet client 4.7.2 linux segfault

Posted: Wed Nov 21, 2018 6:01 pm
by r7st
You're welcome. That works great. Thanks for the fix!