[Openmcl-devel] 0.14.2-p1 segfaults on gentoo linux.

Pascal J.Bourguignon pjb at informatimago.com
Tue Oct 19 17:08:17 PDT 2004


$ uname -a
Linux naiad 2.6.5-gentoo-r1 #4 Tue Sep 7 12:20:52 CEST 2004 ppc 750FX PowerBook4,3 GNU/Linux
$ cat /proc/cpuinfo 
processor	: 0
cpu		: 750FX
temperature 	: 15-17 C (uncalibrated)
clock		: 900MHz
revision	: 2.3 (pvr 7000 0203)
bogomips	: 1785.85
machine		: PowerBook4,3
motherboard	: PowerBook4,3 MacRISC2 MacRISC Power Macintosh
detected as	: 257 (iBook 2 rev. 2)
pmac flags	: 0000000b
L2 cache	: 512K unified
memory		: 640MB
pmac-generation	: NewWorld
$ qpkg -I -v glibc
sys-libs/glibc-2.3.4.20040808-r1
$ cd /usr/local/languages
$ tar zxf /local/src/openmcl-linuxppc-all-0.14.2-p1.tar.gz 
$ tar zxf /local/src/openmcl-interfaces-040505.tar.gz 
$ export CCL_DEFAULT_DIRECTORY=/usr/local/languages/ccl 
$ strace $CCL_DEFAULT_DIRECTORY/ppccl 
execve("/usr/local/bin/openmcl", ["openmcl"], [/* 127 vars */]) = 0
brk(0)                                  = 0x100cf000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30018000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
open("/home/oracle/app/oracle/product/8.0.5/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/lib/tls", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/home/oracle/app/oracle/product/8.0.5/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/lib", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/home/oracle/app/oracle/product/8.0.5/jdbc/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/jdbc/lib/tls", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/home/oracle/app/oracle/product/8.0.5/jdbc/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/jdbc/lib", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/local/apps/rvplayer5.0/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/local/apps/rvplayer5.0/tls", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/local/apps/rvplayer5.0/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/local/apps/rvplayer5.0", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/usr/lib/Real/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/Real/tls", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/usr/lib/Real/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/Real", 0x7fffdbe0)     = -1 ENOENT (No such file or directory)
open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde/lib/tls", 0x7fffdbe0)  = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde/lib", 0x7fffdbe0)      = -1 ENOENT (No such file or directory)
open("/opt/kde2/bin/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde2/bin/tls", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/opt/kde2/bin/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde2/bin", 0x7fffdbe0)     = -1 ENOENT (No such file or directory)
open("/opt/gnome/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/gnome/lib/tls", 0x7fffdbe0) = -1 ENOENT (No such file or directory)
open("/opt/gnome/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/gnome/lib", 0x7fffdbe0)    = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0x7fffdbe0)          = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\37"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=72348, ...}) = 0
mmap(0xffde000, 70192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffde000
mprotect(0xffe1000, 57904, PROT_NONE)   = 0
mmap(0xffee000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xffee000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\307"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1352608, ...}) = 0
mmap(0xfe96000, 1276696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfe96000
mprotect(0xffbb000, 76568, PROT_NONE)   = 0
mmap(0xffc6000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x130000) = 0xffc6000
mmap(0xffcc000, 6936, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffcc000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30019000
mprotect(0xffc6000, 8192, PROT_READ)    = 0
mprotect(0xffee000, 4096, PROT_READ)    = 0
mprotect(0x30020000, 4096, PROT_READ)   = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\26\212\230\234", 4)           = 4
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=38392864, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30022000
close(3)                                = 0
brk(0)                                  = 0x100cf000
brk(0x100f0000)                         = 0x100f0000
getuid()                                = 1000
getgid()                                = 1000
geteuid()                               = 1000
getegid()                               = 1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1098229828
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=228, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30222000
read(3, "/dev/hda5 / ext3 rw,noatime 0 0\n"..., 4096) = 228
close(3)                                = 0
munmap(0x30222000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30222000
read(3, "MemTotal:       642844 kB\nMemFre"..., 1024) = 572
close(3)                                = 0
munmap(0x30222000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="naiad", ...}) = 0
stat64("/usr/local/languages", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
getpid()                                = 24136
getppid()                               = 24135
getpgrp()                               = 24135
rt_sigaction(SIGCHLD, {0x10036fe0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/usr/local/bin/openmcl", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TCGETS or TCGETS, 0x7fffe4e0)  = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/sh\n#\n# Change the definit"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
ugetrlimit(0x7, 0x7fffe538)             = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x10000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=1118, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/sh\n#\n# Change the definit"..., 1118) = 1118
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=21544, ...}) = 0
mmap(NULL, 21544, PROT_READ, MAP_SHARED, 3, 0) = 0x30222000
close(3)                                = 0
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\5"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=71416, ...}) = 0
mmap(0xfe74000, 69852, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfe74000
mprotect(0xfe76000, 61660, PROT_NONE)   = 0
mmap(0xfe84000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xfe84000
close(3)                                = 0
mprotect(0xfe84000, 4096, PROT_READ)    = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -64, [1054], SEEK_CUR)     = 0
fork()                                  = 24137
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 24137
waitpid(-1, 0x7fffd948, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [CHLD STOP TSTP IO])
rt_sigaction(SIGCHLD, {0x10036fe0, [], 0}, {0x10036fe0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "Linux\n", 128)                 = 6
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x10037ccc, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x10037ccc, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "\nCCL_DEFAULT_DIRECTORY=${DD} exe"..., 1118) = 64
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {0x10036fe0, [], 0}, 8) = 0
execve("/usr/local/languages/openmcl/ppccl", ["/usr/local/languages/openmcl/ppc"...], [/* 125 vars */]) = 0
brk(0)                                  = 0x2d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30018000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
open("/home/oracle/app/oracle/product/8.0.5/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/lib/tls", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/home/oracle/app/oracle/product/8.0.5/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/lib", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/home/oracle/app/oracle/product/8.0.5/jdbc/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/jdbc/lib/tls", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/home/oracle/app/oracle/product/8.0.5/jdbc/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/oracle/app/oracle/product/8.0.5/jdbc/lib", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/local/apps/rvplayer5.0/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/local/apps/rvplayer5.0/tls", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/local/apps/rvplayer5.0/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/local/apps/rvplayer5.0", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/usr/lib/Real/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/Real/tls", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/usr/lib/Real/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/Real", 0x7fffdbf0)     = -1 ENOENT (No such file or directory)
open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde/lib/tls", 0x7fffdbf0)  = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde/lib", 0x7fffdbf0)      = -1 ENOENT (No such file or directory)
open("/opt/kde2/bin/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde2/bin/tls", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/opt/kde2/bin/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde2/bin", 0x7fffdbf0)     = -1 ENOENT (No such file or directory)
open("/opt/gnome/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/gnome/lib/tls", 0x7fffdbf0) = -1 ENOENT (No such file or directory)
open("/opt/gnome/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/gnome/lib", 0x7fffdbf0)    = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0x7fffdbf0)          = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\37"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=72348, ...}) = 0
mmap(0xfffde000, 70192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x30022000
mprotect(0x30025000, 57904, PROT_NONE)  = 0
mmap(0x30032000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x30032000
close(3)                                = 0
open("/usr/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libm.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("tls/libm.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("libm.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\234"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=558912, ...}) = 0
mmap(0xfff6c000, 537916, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x30034000
mprotect(0x300a6000, 70972, PROT_NONE)  = 0
mmap(0x300b4000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x300b4000
close(3)                                = 0
open("/usr/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libpthread.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("libpthread.so.0", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0BD"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=108370, ...}) = 0
mmap(0xfff9c000, 342256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x300b8000
mprotect(0x300c7000, 280816, PROT_NONE) = 0
mmap(0x300c8000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x300c8000
mmap(0x300ca000, 268528, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x300ca000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\307"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1352608, ...}) = 0
mmap(0xffeb8000, 1276696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3010c000
mprotect(0x30231000, 76568, PROT_NONE)  = 0
mmap(0x3023c000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x130000) = 0x3023c000
mmap(0x30242000, 6936, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x30242000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30244000
mprotect(0x3023c000, 8192, PROT_READ)   = 0
mprotect(0x300c8000, 4096, PROT_READ)   = 0
mprotect(0x300b4000, 4096, PROT_READ)   = 0
mprotect(0x30032000, 4096, PROT_READ)   = 0
mprotect(0x30020000, 4096, PROT_READ)   = 0
getpid()                                = 24136
uname({sys="Linux", node="naiad", ...}) = 0
rt_sigaction(SIGRTMIN, {0x300c01a8, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x300c022c, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x300c033c, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7fffe5d0, 31, (nil), 0}) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\204\310\260\375", 4)          = 4
close(3)                                = 0
uname({sys="Linux", node="naiad", ...}) = 0
readlink("/proc/self/exe", "/usr/local/languages/openmcl-0.14.2-p1/ppccl", 4096) = 44
brk(0)                                  = 0x2d000
brk(0x4e000)                            = 0x4e000
getpid()                                = 24136
ugetrlimit(0x3, 0x7fffe818)             = 0
open("/usr/local/languages/openmcl-0.14.2-p1/ppccl", O_RDONLY) = 3
lseek(3, 0, SEEK_END)                   = 523463
lseek(3, 523447, SEEK_SET)              = 523447
read(3, "open@@GLIBC_2.1\0", 16)        = 16
close(3)                                = 0
mmap(0x31000000, 1073807360, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x31000000
mprotect(0x31000000, 1073741824, PROT_NONE) = 0
open("/usr/local/languages/openmcl-0.14.2-p1/PPCCL", O_RDONLY) = 3
lseek(3, 0, SEEK_END)                   = 6129384
lseek(3, 6129368, SEEK_SET)             = 6129368
read(3, "OpenMCLImage\377\242y\30", 16) = 16
lseek(3, -6129384, SEEK_CUR)            = 0
read(3, "OpenMCLImageFile@\241_l1\0\0\0001\0\0\0\0\0\0\3"..., 64) = 64
read(3, "\0\0\0\20\0\0\0\0\0\'Mh\0\'Mh\0\0\0\30\0\0\0\0\0\0\023"..., 48) = 48
lseek(3, 0, SEEK_CUR)                   = 112
lseek(3, 4096, SEEK_SET)                = 4096
mmap(0x31000000, 2575720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x31000000
lseek(3, 2579816, SEEK_SET)             = 2579816
lseek(3, 0, SEEK_CUR)                   = 2579816
lseek(3, 2580480, SEEK_SET)             = 2580480
mmap(0x1000, 4920, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x276000) = 0x1000
lseek(3, 2585400, SEEK_SET)             = 2585400
lseek(3, 0, SEEK_CUR)                   = 2585400
lseek(3, 2588672, SEEK_SET)             = 2588672
mprotect(0x35000000, 3604480, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x6f000000, 4, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x70000000, 12, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x6ef7f000, 0, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap(0x35000000, 3540696, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x278000) = 0x35000000
lseek(3, 6129368, SEEK_SET)             = 6129368
mprotect(0x6f000000, 318468, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x70000000, 318476, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x6ef7f000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap(0x35370000, 16777216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x35370000
rt_sigaction(SIGILL, {0x300c4968, ~[], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGTRAP, {0x300c4968, ~[], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x300c4968, ~[], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x300c4968, ~[], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x300c4968, ~[], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGPWR, {0x300c4968, ~[], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
mmap(NULL, 1122304, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_GROWSDOWN, -1, 0) = 0x30245000
mprotect(0x30245000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x30246000, 65536, PROT_READ|PROT_EXEC) = 0
mmap(NULL, 331776, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_GROWSDOWN, -1, 0) = 0x30357000
mprotect(0x30357000, 65536, PROT_READ|PROT_EXEC) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], [RTMIN], 8) = 0
rt_sigaction(SIGRT_9, {0x300c4968, ~[RT_9], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_10, {0x300c4968, ~[RT_9], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
getpid()                                = 24136
prctl(0xc, 0x3, 0, 0x30241f08, 0)       = 0
rt_sigaction(SIGINT, {0x300c4968, ~[], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
prctl(0xc, 0x3, 0, 0x30241f08, 0x21a0)  = 0
mprotect(0x35000000, 3543040, PROT_READ|PROT_EXEC) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
$gdb $CCL_DEFAULT_DIRECTORY/ppccl 
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/languages/openmcl-0.14.2-p1/ppccl 
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 24153)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 24153)]
0x31008278 in ?? ()
(gdb) bt
#0  0x31008278 in ?? ()
#1  0x310084e0 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(gdb) info reg
r0             0x0	0
r1             0x7fffe6b8	2147477176
r2             0x2d368	185192
r3             0x1f	31
r4             0x5a	90
r5             0x2	2
r6             0x8	8
r7             0x2015	8213
r8             0x2015	8213
r9             0xfffffff8	4294967288
r10            0xfffffff8	4294967288
r11            0x4	4
r12            0x303a6fb8	809136056
r13            0x30355fdc	808804316
r14            0x31246528	824468776
r15            0x350047de	889210846
r16            0x2026	8230
r17            0x35004656	889210454
r18            0x35004646	889210438
r19            0x0	0
r20            0x31008276	822116982
r21            0x0	0
r22            0x35061f56	889593686
r23            0x3533222e	892543534
r24            0x0	0
r25            0x0	0
r26            0x0	0
r27            0x0	0
r28            0x3506495e	889604446
r29            0x35004606	889210374
r30            0x3532b1e1	892514785
r31            0x3533222e	892543534
pc             0x31008278	822116984
ps             0xd032	53298
cr             0x48802422	1216357410
lr             0x310084e0	822117600
ctr            0x31008276	822116982
xer            0x0	0
fpscr          0x0	0
vscr           0x0	0
vrsave         0x0	0
(gdb) 

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Voting Democrat or Republican is like choosing a cabin in the Titanic.




More information about the Openmcl-devel mailing list