Third post's the charm
So, when it doesn't crash at startup, I can use
custom connect to connect to a server to play. I use pickup's server browser instead of arma's master list, which also tells me the arma address of the servers. While this is a bit inconvenient it still means I get to use 0.4. When I do this the client doesn't crash at all; I played on several different servers for a long time with no problems.
This is ok for now but if we can find out why my 0.4 client won't ever connect to the master list then that would be great. It also seems to crash every time I go to the
subcultures menu, yet
bookmarks and
custom connect are fine...so strange.
I've managed to get some useful debugging information from gdb. I selected "online multiplayer" and it crashed. Here is a backtrace:
Code: Select all
(gdb) run
Starting program: /usr/local/bin/armagetronad
Command CAMERA_GLANCE_BACK unknown.
Command CAMERA_GLANCE_BACK_FROMSPEED unknown.
Command CAMERA_GLANCE_PITCH unknown.
Command CAMERA_GLANCE_RISE unknown.
Command CAMERA_GLANCE_RISE_FROMSPEED unknown.
^[[B^[[B^[[A
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 1012671]
0x043bc419 in omalloc (sz=23, zero_fill=0, f=0x0) at /usr/src/lib/libc/stdlib/malloc.c:975
975 /usr/src/lib/libc/stdlib/malloc.c: No such file or directory.
in /usr/src/lib/libc/stdlib/malloc.c
(gdb) bt
#0 0x043bc419 in omalloc (sz=23, zero_fill=0, f=0x0) at /usr/src/lib/libc/stdlib/malloc.c:975
#1 0x043bd37a in malloc (size=23) at /usr/src/lib/libc/stdlib/malloc.c:1173
#2 0x043a63f2 in strdup (str=0x81807c87 "cable.virginmedia.net.") at /usr/src/lib/libc/string/strdup.c:45
#3 0x043a376c in asr_ctx_add_searchdomain (ac=0x7c556e80, domain=Variable "domain" is not available.
) at /usr/src/lib/libc/asr/asr.c:549
#4 0x043a41ab in asr_ctx_from_string (ac=0x7c556e80, str=Variable "str" is not available.
) at /usr/src/lib/libc/asr/asr.c:680
#5 0x043a4421 in asr_check_reload (asr=0x88fd5ee0) at /usr/src/lib/libc/asr/asr.c:713
#6 0x043a452b in asr_resolver (conf=0x24317f14 "/etc/resolv.conf") at /usr/src/lib/libc/asr/asr.c:128
#7 0x043a465c in asr_use_resolver (arg=0x0) at /usr/src/lib/libc/asr/asr.c:355
#8 0x043a1d20 in res_init () at /usr/src/lib/libc/asr/res_init.c:44
#9 0x04381342 in getaddrinfo (hostname=0x88fd598c "lightron.org", servname=0x0, hints=0x81809600, res=0x8180964c) at /usr/src/lib/libc/asr/getaddrinfo.c:35
#10 0x194a6b10 in nDNSResolver::Resolve () from /usr/local/bin/armagetronad
#11 0x194a4784 in boost::thread::run<tMemberFunctionRunnerTemplate<nDNSResolver> > () from /usr/local/bin/armagetronad
#12 0x05e6280e in _rthread_start (v=0x7de34400) at /usr/src/lib/librthread/rthread.c:145
#13 0x04337c46 in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:95
(gdb)