|
List Info
Thread: Signal 12 on simple ldd / Linux
|
|
| Signal 12 on simple ldd / Linux |
  United States |
2007-09-27 12:00:42 |
Hi,
FreeBSD 5.3-RELEASE-p10 (Yea, I know, there are reasons)
/proc and /linprocfs are mounted onto a point under an NFS
mount point
(This shouldn't matter since the fs is local still, no?)
When trying to ldd a binary, I get a signal 12. When I
truss
it, the last bits I get are :
82825:
linux_open("/usr/lib/tls/libm.so.6",0x0,0500524730
0) ERR#2 'No such file
or directory'
82825:
linux_open("/usr/lib/libm.so.6",0x0,05005247300)
ERR#2 'No such file or d
irectory'
82825:
linux_open("/lib/obsolete/linuxthreads/tls/libm.so.6&qu
ot;,0x0,05005247300) ER
R#2 'No such file or directory'
82825:
linux_open("/lib/obsolete/linuxthreads/libm.so.6",
0x0,05005247300) = 3 (0
x3)
82825: read(0x3,0xbfbfe478,0x200) = 512
(0x200)
82825: linux_fstat64(0x3,0xbfbfe3a8,0x28153fc4) = 0 (0x0)
82825: linux_mmap(0xbfbfe27c) = 673394688
(0x28233000)
82825: linux_mmap(0xbfbfe218) = 673398784
(0x28234000)
82825: linux_mmap(0xbfbfe218) = 673546240
(0x28258000)
82825: close(3) = 0 (0x0)
82825:
linux_open("/lib/tls/libpthread.so.0",0x0,02775776
1404) ERR#2 'No such fi
le or directory'
82825:
linux_open("/lib/libpthread.so.0",0x0,027757761404
) = 3 (0x3)
82825: read(0x3,0xbfbfe45c,0x200) = 512
(0x200)
82825: close(3) = 0 (0x0)
82825:
linux_open("/usr/lib/tls/libpthread.so.0",0x0,0277
57761404) ERR#2 'No suc
h file or directory'
82825:
linux_open("/usr/lib/libpthread.so.0",0x0,02775776
1404) ERR#2 'No such fi
le or directory'
82825:
linux_open("/lib/obsolete/linuxthreads/tls/libpthread.s
o.0",0x0,027757761
404) ERR#2 'No such file or directory'
82825:
linux_open("/lib/obsolete/linuxthreads/libpthread.so.0&
quot;,0x0,027757761404)
= 3 (0x3)
82825: read(0x3,0xbfbfe45c,0x200) = 512
(0x200)
82825: linux_fstat64(0x3,0xbfbfe38c,0x28153fc4) = 0 (0x0)
82825: linux_mmap(0xbfbfe1fc) = 673554432
(0x2825a000)
82825: linux_mmap(0xbfbfe1fc) = 673615872
(0x28269000)
82825: linux_mmap(0xbfbfe1fc) = 673624064
(0x2826b000)
82825: close(3) = 0 (0x0)
82825:
linux_open("/lib/tls/libc.so.6",0x0,05010632410)
ERR#2 'No such file or d
irectory'
82825:
linux_open("/lib/libc.so.6",0x0,05010632410) = 3
(0x3)
82825: read(0x3,0xbfbfe440,0x200) = 512
(0x200)
82825: close(3) = 0 (0x0)
82825:
linux_open("/usr/lib/tls/libc.so.6",0x0,0501063241
0) ERR#2 'No such file
or directory'
82825:
linux_open("/usr/lib/libc.so.6",0x0,05010632410)
ERR#2 'No such file or d
irectory'
82825:
linux_open("/lib/obsolete/linuxthreads/tls/libc.so.6&qu
ot;,0x0,05010632410) ER
R#2 'No such file or directory'
82825:
linux_open("/lib/obsolete/linuxthreads/libc.so.6",
0x0,05010632410) = 3 (0
x3)
82825: read(0x3,0xbfbfe440,0x200) = 512
(0x200)
82825: linux_fstat64(0x3,0xbfbfe370,0x28153fc4) = 0 (0x0)
82825: linux_mmap(0xbfbfe1e0) = 673894400
(0x282ad000)
82825: linux_mmap(0xbfbfe1e0) = 675045376
(0x283c6000)
82825: linux_mmap(0xbfbfe1e0) = 675061760
(0x283ca000)
82825: close(3) = 0 (0x0)
82825:
linux_open("/lib/libgcc_s.so.1",0x0,027757762100)
= 3 (0x3)
82825: read(0x3,0xbfbfe3a0,0x200) = 512
(0x200)
82825: linux_fstat64(0x3,0xbfbfe2d0,0x28153fc4) = 0 (0x0)
82825: linux_mmap(0xbfbfe1a0) = 675069952
(0x283cc000)
82825: linux_mmap(0xbfbfe1a0) = 675106816
(0x283d5000)
82825: close(3) = 0 (0x0)
82825: linux_mmap(0xbfbfe78c) = 675110912
(0x283d6000)
82825: linux_mmap(0xbfbfe82c) = 675115008
(0x283d7000)
82825: #243() ERR#78
'Function not implemente
d'
SIGNAL 12 (SIGSYS)
SIGNAL 12 (SIGSYS)
Process stopped because of: 16
process exit, rval = 140
Bad system call
(Full log available if needed)
Whats causing this?
Thanks, Tuc
_______________________________________________
freebsd-emulation freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribe freebsd.org"
|
|
| Re: Signal 12 on simple ldd / Linux |
  United States |
2007-09-27 12:16:52 |
> 82825:
linux_open("/lib/libgcc_s.so.1",0x0,027757762100)
= 3 (0x3)
> 82825: read(0x3,0xbfbfe3a0,0x200) = 512
(0x200)
> 82825: linux_fstat64(0x3,0xbfbfe2d0,0x28153fc4) = 0
(0x0)
> 82825: linux_mmap(0xbfbfe1a0) =
675069952 (0x283cc000)
> 82825: linux_mmap(0xbfbfe1a0) =
675106816 (0x283d5000)
> 82825: close(3) = 0
(0x0)
> 82825: linux_mmap(0xbfbfe78c) =
675110912 (0x283d6000)
> 82825: linux_mmap(0xbfbfe82c) =
675115008 (0x283d7000)
> 82825: #243() ERR#78
'Function not implemente
> d'
> SIGNAL 12 (SIGSYS)
> SIGNAL 12 (SIGSYS)
> Process stopped because of: 16
> process exit, rval = 140
> Bad system call
>
On a working system, I get :
19038:
linux_open("/lib/libgcc_s.so.1",0x0,027757762100)
= 3 (0x3)^M
19038: read(0x3,0xbfbfe3a0,0x200) = 512
(0x200)^M
19038: linux_fstat64(0x3,0xbfbfe2d0,0x28153fc4) = 0
(0x0)^M
19038: linux_mmap(0xbfbfe1a0) = 675074048
(0x283cd000)^M
19038: linux_mmap(0xbfbfe1a0) = 675110912
(0x283d6000)^M
19038: close(3) = 0
(0x0)^M
19038: linux_mmap(0xbfbfe78c) = 675115008
(0x283d7000)^M
19038: linux_mmap(0xbfbfe82c) = 675119104
(0x283d8000)^M
19038: #243() ERR#78
'Function not implemente
d'^M
19038: linux_modify_ldt(0x1,0xbfbfe8ac,0x10) = 0
(0x0)^M
19038: mprotect(0x283c7000,8192,(0x1)PROT_READ) = 0
(0x0)^M
19038: mprotect(0x2826a000,4096,(0x1)PROT_READ) = 0
(0x0)^M
19038: mprotect(0x28259000,4096,(0x1)PROT_READ) = 0
(0x0)^M
19038: mprotect(0x28153000,4096,(0x1)PROT_READ) = 0
(0x0)^M
19038: munmap(0x28155000,0x2c9b) = 0
(0x0)^M
19038: linux_getrlimit(0x3,0xbfbfe99c) = 0
(0x0)^M
19038: linux_setrlimit(0x3,0xbfbfe99c) = 0
(0x0)^M
19038: linux_getpid() = 19038
(0x4a5e)^M
(etc)
Was it the "#243" that killed it, or
"linux_modify_ldt"?
Thanks, Tuc
_______________________________________________
freebsd-emulation freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribe freebsd.org"
|
|
| Re: Signal 12 on simple ldd / Linux |
  Czech Republic |
2007-09-27 12:30:22 |
On Thu, Sep 27, 2007 at 01:00:42PM -0400, Tuc at T-B-O-H.NET
wrote:
> Hi,
>
> FreeBSD 5.3-RELEASE-p10 (Yea, I know, there are
reasons)
> /proc and /linprocfs are mounted onto a point under an
NFS mount point
> (This shouldn't matter since the fs is local still,
no?)
>
> When trying to ldd a binary, I get a signal 12. When I
truss
> it, the last bits I get are :
>
> 82825: linux_mmap(0xbfbfe82c) =
675115008 (0x283d7000)
> 82825: #243() ERR#78
'Function not implemente
> d'
> SIGNAL 12 (SIGSYS)
> SIGNAL 12 (SIGSYS)
> Process stopped because of: 16
> process exit, rval = 140
> Bad system call
syscall 243 is set_thread_area.. TLS stuff. It was
implemented in 7-current.
_______________________________________________
freebsd-emulation freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribe freebsd.org"
|
|
[1-3]
|
|