I have a reports server install, where the reports work fine when accessed from the portal.
But there is this huge report that we want to run on a nightly basis, and are trying to run it thro' rwrun. When I run the rwrun.sh script, which sets the ORACLE environment and supposed to kick off the rwrun executable, it throws a memory fault.
There are no core files produced on any file system or any other messages.
Since it is Linux I did an strace on rwrun.sh and found the following.
Any help in addressing this would be appreciated.
This is the bottom portion of the strace output:
map2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000
read(6, "/dev/mapper/VolGroup00-LogVol01 "..., 4096) = 3539
close(6) = 0
munmap(0xb7f3d000, 4096) = 0
open("/proc/stat", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000
read(6, "cpu 4775827 113554 1784786 6817"..., 1024) = 1024
read(6, " 1\nprocs_blocked 0\n", 1024) = 19
read(6, "", 1024) = 0
close(6) = 0
munmap(0xb7f3d000, 4096) = 0
open("/etc/mtab", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=3539, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000
read(6, "/dev/mapper/VolGroup00-LogVol01 "..., 4096) = 3539
close(6) = 0
munmap(0xb7f3d000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000
read(6, "MemTotal: 8308516 kB\nMemFre"..., 1024) = 670
close(6) = 0
munmap(0xb7f3d000, 4096) = 0
gettimeofday({1286283896, 364174}, NULL) = 0
lstat64("/s01", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/s01/app", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
lstat64("/s01/app/oraportal", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/s01/app/oraportal/jdk", {st_mode=S_IFDIR|0705, st_size=4096, ...}) = 0
lstat64("/s01/app/oraportal/jdk/jre", {st_mode=S_IFDIR|0705, st_size=4096, ...}) = 0
lstat64("/s01/app/oraportal/jdk/jre/lib", {st_mode=S_IFDIR|0705, st_size=4096, ...}) = 0
lstat64("/s01/app/oraportal/jdk/jre/lib/i386", {st_mode=S_IFDIR|0705, st_size=4096, ...}) = 0
lstat64("/s01/app/oraportal/jdk/jre/lib/i386/server", {st_mode=S_IFDIR|0705, st_size=4096, ...}) = 0
lstat64("/s01/app/oraportal/jdk/jre/lib/i386/server/libjvm.so", {st_mode=S_IFREG|0705, st_size=7684438, ...}) = 0
open(".hotspotrc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/s01/app/oraportal/jdk/jre/lib/endorsed", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 13 entries */, 4096) = 432
getdents64(6, /* 0 entries */, 4096) = 0
close(6) = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSEGV, {0x553ae8, ~[RTMIN RT_1], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x786f890}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x553ae8, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x786f890}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x553ae8, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO|SA_NOCLDSTOP, 0x786f890}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {0x553ae8, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x786f890}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, {0x553ae8, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x786f890}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x553ae8, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x786f890}, {SIG_DFL}, 8) = 0
old_getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=2147483647}) = 0
open("/proc/self/stat", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000
read(6, "2916 (rwrun) R 2915 2906 27184 3"..., 1024) = 185
read(6, "", 1024) = 0
close(6) = 0
munmap(0xb7f3d000, 4096) = 0
open("/proc/sys/vm/heap-stack-gap", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGUSR2, {0x5523ac, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x786f890}, NULL, 8) = 0
old_getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
mmap2(0xbfe0e000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xbfe0e000
mprotect(0xbfe0e000, 12288, PROT_NONE) = 0
mmap2(0xbfe04000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xbfe04000
sigaltstack({ss_sp=0xbfe04000, ss_flags=0, ss_size=40960}, NULL) = 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT QUIT USR2 TERM CHLD], NULL, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
[EDITED by LF: disabled smislies in this message]
[Updated on: Thu, 07 October 2010 16:07] by Moderator Report message to a moderator
|