Subject: kern/12455: linux exec change breaks word perfect
To: None <gnats-bugs@gnats.netbsd.org>
From: Mark Davies <mark@MCS.VUW.AC.NZ>
List: netbsd-bugs
Date: 03/23/2001 15:40:24
>Number: 12455
>Category: kern
>Synopsis: linux exec change breaks word perfect
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 22 19:41:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Mark Davies
>Release: Mar 13 2001
>Organization:
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
>Environment:
System: NetBSD city-art.mcs.vuw.ac.nz 1.5S NetBSD 1.5S (MCS_WORKSTATION) #0: Tue Mar 13 11:09:12 NZDT 2001 mark@turakirae.mcs.vuw.ac.nz:/src/work/src/sys/arch/i386/compile/MCS_WORKSTATION i386
Architecture: i386
Machine: i386
>Description:
The linux word perfect 8 fails to convert microsoft word documents
to its internal format when running on a 1.5S system however it does
work on 1.5I.
ktracing the xwp process gives the following at the start of the filter
process to convert the file.
[...]
15712 fxwpf CALL stat(0x480ebd6c,0xbfbfd2a0)
15712 fxwpf NAMI "/emul/linux/tmp/fxtmp15712aaa"
15712 fxwpf NAMI "/tmp/fxtmp15712aaa"
15712 fxwpf RET stat -1 errno -2 No such file or directory
15712 fxwpf CALL time(0xbfbfbe38)
15712 fxwpf RET time 985314399/0x3abab45f
15712 fxwpf CALL fork
15713 fxwpf EMUL "linux"
15712 fxwpf RET fork 15713/0x3d61
15712 fxwpf CALL wait4(0xffffffff,0x80517e4,0,0)
15713 fxwpf RET fork 0
15713 fxwpf CALL execve(0x804ff7c,0xbfbfd2d4,0x8053858)
15713 fxwpf NAMI "/emul/linux/usr/local/lib/wp8/shbin10/cv_mscom"
15713 fxwpf NAMI "/usr/local/lib/wp8/shbin10/cv_mscom"
15713 fxwpf RET execve -1 errno -8 Exec format error
15713 fxwpf CALL exit(0xe)
15712 fxwpf RET wait4 15713/0x3d61
15712 fxwpf CALL unlink(0x8053910)
15712 fxwpf NAMI "/emul/linux/tmp/fxtmp15712aaa"
15712 fxwpf NAMI "/tmp/fxtmp15712aaa"
15712 fxwpf RET unlink -1 errno -2 No such file or directory
15712 fxwpf CALL open(0x805077c,0,0x1b6)
15712 fxwpf NAMI "/emul/linux/tmp/fxtmp15712aaa.fx#"
15712 fxwpf NAMI "/tmp/fxtmp15712aaa.fx#"
15712 fxwpf RET open -1 errno -2 No such file or directory
15712 fxwpf CALL time(0xbfbfbe38)
15712 fxwpf RET time 985314399/0x3abab45f
[...]
The interesting thing (I think) is the exec of
/usr/local/lib/wp8/shbin10/cv_mscom that fails.
On a 1.5I system the exec works.
file reports cv_mscom as:
/usr/local/lib/wp8/shbin10/cv_mscom: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
>How-To-Repeat:
Try running .../wp8/shbin10/cv_mscom from a linux wp8 distribution
>Fix:
No idea.
>Release-Note:
>Audit-Trail:
>Unformatted: