Ticket #282 (new defect)

Opened 4 years ago

Unable to make 4.2.5 with shared libraries enabled.

Reported by: snider6982@… Owned by: robby
Priority: major Milestone:
Component: _default-component Keywords:
Cc: Version:
Racket Version: 4.2.5

Description

I successfully made and installed 4.2.5 without enabling shared libraries. But when I ran configure --enable-shared in the plt-4.2.5/src/build directory, then make, make returned with a SIGSEGV. I'm running Fedora 13-x86_64, with the latest Fedora gcc, 4.4.4-2.

From the strace output file, it looks like mzschemecgc segfaulted for --enable-shared. Here's the strace output from the last execve to the SIGSEGV:

32029 execve("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/lt-mzschemecgc", ["/home/gene/packages/plt-scheme/p"..., "-cqu", "../../../mzscheme/gc2/xform.ss", "--setup", ".", "--cpp", "gcc -E -I./.. -I../../../mzschem"..., "--keep-lines", "-o", "xsrc/precomp.h", "../../../mzscheme/gc2/precomp.c"], 53 vars */) = 0
32029 brk(0) = 0x95f000
32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc709b000
32029 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls/x86_64/libmzscheme-4.2.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 stat("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls/x86_64", 0x7fff9248f680) = -1 ENOENT (No such file or directory)
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls/libmzscheme-4.2.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 stat("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls", 0x7fff9248f680) = -1 ENOENT (No such file or directory)
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/x86_64/libmzscheme-4.2.5.so", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 stat("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/x86_64", 0x7fff9248f680) = -1 ENOENT (No such file or directory)
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libmzscheme-4.2.5.so", O_RDONLY) = 3
32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\302\2\0\0\0\0\0"..., 832) = 832
32029 fstat(3, {st_mode=S_IFREG|0755, st_size=7062281, ...}) = 0
32029 mmap(NULL, 4430760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1fc6c61000
32029 mprotect(0x7f1fc6e49000, 2097152, PROT_NONE) = 0
32029 mmap(0x7f1fc7049000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e8000) = 0x7f1fc7049000
32029 mmap(0x7f1fc7066000, 215976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1fc7066000
32029 close(3) = 0
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libmzgc-4.2.5.so", O_RDONLY) = 3
32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\271\0\0\0\0\0\0"..., 832) = 832
32029 fstat(3, {st_mode=S_IFREG|0755, st_size=482194, ...}) = 0
32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc6c60000
32029 mmap(NULL, 3182208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1fc6957000
32029 mprotect(0x7f1fc697b000, 2093056, PROT_NONE) = 0
32029 mmap(0x7f1fc6b7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x7f1fc6b7a000
32029 mmap(0x7f1fc6b7c000, 933504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1fc6b7c000
32029 close(3) = 0
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 open("/usr/lib/tls/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 stat("/usr/lib/tls/x86_64", 0x7fff9248f620) = -1 ENOENT (No such file or directory)
32029 open("/usr/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 stat("/usr/lib/tls", 0x7fff9248f620) = -1 ENOENT (No such file or directory)
32029 open("/usr/lib/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 stat("/usr/lib/x86_64", 0x7fff9248f620) = -1 ENOENT (No such file or directory)
32029 open("/usr/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 stat("/usr/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
32029 open("/etc/ld.so.cache", O_RDONLY) = 3
32029 fstat(3, {st_mode=S_IFREG|0644, st_size=95054, ...}) = 0
32029 mmap(NULL, 95054, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1fc693f000
32029 close(3) = 0
32029 open("/lib64/libdl.so.2", O_RDONLY) = 3
32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\364?\0\0\0"..., 832) = 832
32029 fstat(3, {st_mode=S_IFREG|0755, st_size=22536, ...}) = 0
32029 mmap(0x3ff4000000, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff4000000
32029 mprotect(0x3ff4002000, 2097152, PROT_NONE) = 0
32029 mmap(0x3ff4202000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3ff4202000
32029 close(3) = 0
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 open("/usr/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 open("/lib64/libm.so.6", O_RDONLY) = 3
32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360>@\364?\0\0\0"..., 832) = 832
32029 fstat(3, {st_mode=S_IFREG|0755, st_size=598928, ...}) = 0
32029 mmap(0x3ff4400000, 2633944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff4400000
32029 mprotect(0x3ff4483000, 2093056, PROT_NONE) = 0
32029 mmap(0x3ff4682000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x3ff4682000
32029 close(3) = 0
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 open("/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 open("/lib64/libpthread.so.0", O_RDONLY) = 3
32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\\\300\363?\0\0\0"..., 832) = 832
32029 fstat(3, {st_mode=S_IFREG|0755, st_size=146488, ...}) = 0
32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693e000
32029 mmap(0x3ff3c00000, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff3c00000
32029 mprotect(0x3ff3c18000, 2093056, PROT_NONE) = 0
32029 mmap(0x3ff3e17000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x3ff3e17000
32029 mmap(0x3ff3e19000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ff3e19000
32029 close(3) = 0
32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 open("/usr/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
32029 open("/lib64/libc.so.6", O_RDONLY) = 3
32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\356\201\363?\0\0\0"..., 832) = 832
32029 fstat(3, {st_mode=S_IFREG|0755, st_size=1877792, ...}) = 0
32029 mmap(0x3ff3800000, 3696808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff3800000
32029 mprotect(0x3ff397d000, 2097152, PROT_NONE) = 0
32029 mmap(0x3ff3b7d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17d000) = 0x3ff3b7d000
32029 mmap(0x3ff3b82000, 18600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ff3b82000
32029 close(3) = 0
32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693d000
32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693c000
32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693b000
32029 arch_prctl(ARCH_SET_FS, 0x7f1fc693c700) = 0
32029 mprotect(0x3ff3b7d000, 16384, PROT_READ) = 0
32029 mprotect(0x3ff3e17000, 4096, PROT_READ) = 0
32029 mprotect(0x3ff4682000, 4096, PROT_READ) = 0
32029 mprotect(0x3ff4202000, 4096, PROT_READ) = 0
32029 mprotect(0x3ff3620000, 4096, PROT_READ) = 0
32029 munmap(0x7f1fc693f000, 95054) = 0
32029 set_tid_address(0x7f1fc693c9d0) = 32029
32029 set_robust_list(0x7f1fc693c9e0, 0x18) = 0
32029 futex(0x7fff9248ff8c, FUTEX_WAKE_PRIVATE, 1) = 0
32029 futex(0x7fff9248ff8c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f1fc693c700) = -1 EAGAIN (Resource temporarily unavailable)
32029 rt_sigaction(SIGRTMIN, {0x3ff3c05b10, [], SA_RESTORER|SA_SIGINFO, 0x3ff3c0f960}, NULL, 8) = 0
32029 rt_sigaction(SIGRT_1, {0x3ff3c05ba0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3ff3c0f960}, NULL, 8) = 0
32029 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
32029 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
32029 brk(0) = 0x95f000
32029 brk(0x980000) = 0x980000
32029 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
32022 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 32029
32022 --- SIGCHLD (Child exited) @ 0 (0) ---
32022 rt_sigreturn(0xffffffff) = 32029
32022 write(2, "make[4]: ", 9) = 9
32022 write(2, "*** [xsrc/precomp.h] Segmentatio"..., 53) = 53
32022 write(2, "\n", 1) = 1
32022 stat("xsrc/precomp.h", 0x7fff3902fa70) = -1 ENOENT (No such file or directory)
32022 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
32022 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
32022 chdir("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/gc2") = 0
32022 write(1, "make[4]: Leaving directory `/hom"..., 93) = 93
32022 close(1) = 0

Note: See TracTickets for help on using tickets.