Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] folding segv



I was trying to run the folding@example.com client (v3.24), but it segfaults
when trying to connect to the assignment server.
tcpdump shows no traffic at all, so it dies even before any network
activity would take place.

Arguments: -verbosity 9
[13:17:25] - Ask before connecting: No
[13:17:25] - User name: BOTi (Team 13160)
[13:17:25] - User ID not found locally
[13:17:25] + Requesting User ID from server
[13:17:25] - Getting ID from AS:
[13:17:25] Connecting to http://assign.stanford.edu:8080/
Segmentation fault

The strace output is attached.

If at least they'd provide the source to compile the thing.
execve("./FAH3Console-Linux.exe", ["./FAH3Console-Linux.exe"], [/* 37 vars */]) = 0
personality(PER_LINUX)                  = 0
geteuid()                               = 501
getuid()                                = 501
getegid()                               = 501
getgid()                                = 501
getrlimit(RLIMIT_STACK, {rlim_cur=2147483647, rlim_max=2147483647}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=2147483647}) = 0
getpid()                                = 1973
uname({sys="Linux", node="mephisto", ...}) = 0
rt_sigaction(SIGRTMIN, {0x80a2118, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x80a2048, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x80a2184, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
brk(0)                                  = 0x82da26c
brk(0x82da29c)                          = 0x82da29c
brk(0x82db000)                          = 0x82db000
getpid()                                = 1973
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 11), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000
ioctl(1, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
write(1, "\n", 1)                       = 1
write(1, "Note: Please read the license ag"..., 162) = 162
stat("FAHlog.txt", {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0
open("FAHlog.txt", O_RDWR|O_APPEND|O_CREAT, 0666) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40001000
fstat(3, {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "\n\n--- Opening Log file [January "..., 2996) = 2996
gettimeofday({1042204811, 980361}, NULL) = 0
write(1, "\n\n", 2)                     = 2
write(1, "--- Opening Log file [January 10"..., 45) = 45
write(3, "\n\n--- Opening Log file [January "..., 47) = 47
write(1, "\n# Linux Console Edition #######"..., 81) = 81
write(3, "\n# Linux Console Edition #######"..., 81) = 81
write(1, "################################"..., 80) = 80
write(3, "################################"..., 80) = 80
write(1, "\n", 1)                       = 1
write(3, "\n", 1)                       = 1
write(1, "                       Folding@example.com"..., 56) = 56
write(3, "                       Folding@example.com"..., 56) = 56
write(1, "\n", 1)                       = 1
write(3, "\n", 1)                       = 1
write(1, "                       http://fo"..., 57) = 57
write(3, "                       http://fo"..., 57) = 57
write(1, "                     email:help@"..., 59) = 59
write(3, "                     email:help@"..., 59) = 59
write(1, "\n", 1)                       = 1
write(3, "\n", 1)                       = 1
write(1, "################################"..., 80) = 80
write(3, "################################"..., 80) = 80
write(1, "################################"..., 80) = 80
write(3, "################################"..., 80) = 80
write(1, "\n", 1)                       = 1
write(3, "\n", 1)                       = 1
write(1, "\n\n", 2)                     = 2
write(3, "\n\n", 2)                     = 2
open("client.cfg", O_RDONLY)            = 5
flock(5, LOCK_SH|LOCK_NB)               = 0
fstat(5, {st_mode=S_IFREG|0750, st_size=90, ...}) = 0
lseek(5, 0, SEEK_CUR)                   = 0
fstat(5, {st_mode=S_IFREG|0750, st_size=90, ...}) = 0
read(5, "[settings]\nusername=BOTi\nteam=13"..., 90) = 90
lseek(5, 0, SEEK_CUR)                   = 90
flock(5, LOCK_UN)                       = 0
close(5)                                = 0
gettimeofday({1042204812, 46508}, NULL) = 0
write(1, "[13:20:12] - Ask before connecti"..., 39) = 39
write(3, "[13:20:12] - Ask before connecti"..., 39) = 39
gettimeofday({1042204812, 46800}, NULL) = 0
write(3, "[13:20:12] - User name: BOTi", 28) = 28
write(1, "[13:20:12] - User name: BOTi (Te"..., 42) = 42
write(3, " (Team 13160)\n", 14)         = 14
open("machinedependent.dat", O_RDONLY)  = -1 ENOENT (No such file or directory)
gettimeofday({1042204812, 47231}, NULL) = 0
write(1, "[13:20:12] - User ID not found l"..., 39) = 39
write(3, "[13:20:12] - User ID not found l"..., 39) = 39
gettimeofday({1042204812, 47672}, NULL) = 0
write(1, "[13:20:12] + Requesting User ID "..., 44) = 44
write(3, "[13:20:12] + Requesting User ID "..., 44) = 44
time(NULL)                              = 1042204812
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
gettimeofday({1042204812, 48121}, NULL) = 0
getpid()                                = 1973
open("/etc/resolv.conf", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40002000
read(5, "nameserver 202.238.95.24\nnameser"..., 4096) = 50
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x40002000, 4096)                = 0
uname({sys="Linux", node="mephisto", ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 5
connect(5, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(5)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40002000
read(5, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x40002000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=75349, ...}) = 0
old_mmap(NULL, 75349, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40002000
close(5)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=32456, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0X\35\0\000"..., 4096) = 4096
old_mmap(NULL, 35836, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x40015000
mprotect(0x4001d000, 3068, PROT_NONE)   = 0
old_mmap(0x4001d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x7000) = 0x4001d000
close(5)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=1109068, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\311Z\1"..., 4096) = 4096
brk(0x82dc000)                          = 0x82dc000
old_mmap(NULL, 1125956, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4001e000
mprotect(0x40127000, 40516, PROT_NONE)  = 0
old_mmap(0x40127000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x108000) = 0x40127000
old_mmap(0x4012d000, 15940, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012d000
close(5)                                = 0
open("/lib/ld-linux.so.2", O_RDONLY)    = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=83504, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\v\0"..., 4096) = 4096
old_mmap(NULL, 71424, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x40131000
mprotect(0x40142000, 1792, PROT_NONE)   = 0
old_mmap(0x40142000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x11000) = 0x40142000
close(5)                                = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links