Got unusable memory address 0x400cd008 (and libtermcap)
Would there be in simple reason, why the binary works in RedHat, but not in
Debian ?
From the strace of running my program:
oldselect(5, [3 4], [], NULL, {0, 0}) = -1 EFAULT (Bad address)
gettimeofday({848498578, 216602}, NULL) = 0
oldselect(5, [3 4], [], NULL, {0, 0}) = -1 EFAULT (Bad address)
gettimeofday({848498578, 222522}, NULL) = 0
mmap(0, 258048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x400cd000
brk(0x813b000) = 0x813b000
brk(0x8119000) = 0x8119000
close(3) = 0
close(7) = 0
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 3958
wait4(-1, 0xbffff7a4, WNOHANG, NULL) = 0
sigreturn() = ? (mask now [])
close(4) = 0
close(9) = 0
write(2, "Got unusable memory address 0x40"..., 39Got unusable memory address
0x400cd008
) = 39
_exit(1)
End of strace.
I would guess, this has something to do with different ELF-binaries, but
anyone really knowing or guessing ?
An other thing, the libtermcap (which the program unfortunatelly depends), has
no libtermcap.so file, only those two files /lib/libtermcap.so.2 and
/lib/libtermcap.so.2.0.8 installed by termcap-compat.
Jouni Rynö Tel. (+358)-9-19294656
Finnish Meteorological Institute TLX 124436 EFKL FI
Geophysical Research TFAX (+358)-9-19294603
P.O.BOX 503 Internet: Jouni.Ryno@fmi.fi
FIN-00101 Helsinki X-400: /G=Jouni/S=Ryno
Finland /O=il/P=il/A=mailnet/C=fi/
WWW: http://www.geo.fmi.fi/ WWW: http://www.geo.fmi.fi/~ryno/
"It's just zeros and ones, it cannot be hard"
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: