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

SIGSEV on open of /emul/linux/lib/libnss_files.so.2



After having a rather exhaustive search of the archives and Google turn up 
practically nothing, I'm hoping someone here can help me figure out a very 
specific Linux emulation question. I'm trying to run the Folding@Home client 
under Linux emulation (I'd asked about this in a more general way a couple 
of days back and got no responses -- I think I was too open-ended then), and 
it invariably coredumps when trying to access the web to download a new core 
binary. While doing my search, I discovered the amazingly invaluable ktrace 
utility, and have pinpointed what I believe to be the cause of the coredump: 

22999 FAH3Console-Linu CALL  open(1208875670,0,-817902964)
22999 FAH3Console-Linu NAMI  "/emul/linux/lib/libnss_files.so.2"
22999 FAH3Console-Linu NAMI  "/emul/linux"
22999 FAH3Console-Linu NAMI  "/emul/linux/lib/libnss_files.so.2"
22999 FAH3Console-Linu RET   open 7
22999 FAH3Console-Linu CALL  fstat(7,-817903660)
22999 FAH3Console-Linu RET   fstat 0
22999 FAH3Console-Linu PSIG  SIGSEGV SIG_DFL code 2 addr=0xcf3fb824 trapno=2
22999 FAH3Console-Linu PSIG  SIGSEGV SIG_DFL code 0 addr=0x0 trapno=0
22999 FAH3Console-Linu NAMI  "FAH3Console-Linu.core"
11743 FAH3Console-Linu PSIG  SIGSYS caught handler=0x80a2048 mask=0x6ffef6ef
11743 FAH3Console-Linu RET   poll -1 errno 4 Interrupted system call
11743 FAH3Console-Linu CALL  sigreturn(137227512)
11743 FAH3Console-Linu RET   sigreturn JUSTRETURN
11743 FAH3Console-Linu CALL  getppid
11743 FAH3Console-Linu RET   getppid 29591/0x7397
11743 FAH3Console-Linu CALL  wait4(-1,137227636,-2147483647,0)
11743 FAH3Console-Linu RET   wait4 22999/0x59d7
11743 FAH3Console-Linu CALL  kill(8982,11)
 8982 FAH3Console-Linu PSIG  SIGSEGV SIG_DFL code 2 addr=0x0 trapno=0
 8982 FAH3Console-Linu NAMI  "FAH3Console-Linu.core"
11743 FAH3Console-Linu RET   kill 0
11743 FAH3Console-Linu CALL  kill(29591,11)
29591 FAH3Console-Linu PSIG  SIGSEGV SIG_DFL code 2 addr=0x0 trapno=0
29591 FAH3Console-Linu NAMI  "FAH3Console-Linu.core"
11743 FAH3Console-Linu RET   kill 0
11743 FAH3Console-Linu CALL  exit(0) 

It appears that /emul/linux/lib/libnss_files.so.2 is the root of the 
coredump problem. Sadly, I can't really find much of anything about what 
this library does, or how I might be able to track down the problem. 

Does anyone know anything about why this library might cause a coredump? 
Like I said, it's trying to open this as it goes out to the web to download 
something. I'll be happy to provide more details if they'd be relevant. 

Thanks,
Alex Kirk