Bishop, Peter G wrote:
Hi,
we have a C++ application for a client and we're trying to upgrade to the
latest version supplied by the vendor. They say it installs beautifully on
Lintel or Windoze, but when we run the install script on zLinux it seg faults.
They aren't really a zSeries-aware vendor, but have supplied the source for us
to build our own zSeries version. They claim no changes have been made since
the last version installed successfully that might cause this behaviour,
something I'm prepared to admit for now as they have a working non-mainframe
version in the public arena.
As near as I can tell, this "strace" output seems to be the show the error
happens:
---start extract of output from strace of the install process
...snipped lots of earlier stuff...
write(1, "rm -f sdb/australia/aust*\n", 26) = 26
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
fork() = 10057
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 10057
--- SIGCHLD (Child exited) ---
sigreturn() = ? (mask now [])
write(1, "bin/buildsdb sdb/australia/aust "..., 243) = 243
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
fork() = 10058
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], 0, NULL) = 10058
What trace options are you using? I'm accustomed to seeing PIDs in the
output, particularly handy when you're fork()ing around as here.
Here's the minimum I use:
strace -f -o /tmp/trace false
which gives this trace:
[EMAIL PROTECTED] ~]$ cat /tmp/trace
11163 execve("/bin/false", ["false"], [/* 38 vars */]) = 0
11163 uname({sys="Linux", node="bilby", ...}) = 0
11163 brk(0) = 0x8c45000
etc.
There are other options handy on occasion, and maybe on this. "man
strace" for the gruesome details.
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390