On Wed, 2006-08-02 at 12:44 +0100, Andrew Haley wrote: > Erwin Rol writes: > > This update also caused the following errors on x86_&4; > > > > Running Transaction > > Updating : java-1.4.2-gcj-compat ####################### [ 1/66] > > dirname: missing operand > > Try `dirname --help' for more information. > > mkdir: missing operand > > Try `mkdir --help' for more information. > > /usr/bin/rebuild-gcj-db: line 17: 20713 Segmentation fault /usr/bin/gcj-dbtool -n $dbLocation 64 > > xargs: /usr/bin/gcj-dbtool: terminated by signal 11 > > I use x86_64, and I've never seen this. Can you try running > gcj-dbtool in gdb? Also, please let us know which gcc and libgcj RPMs > you have installed. rpm -q libgcc libgcc-4.1.1-13 libgcc-4.1.1-13 rpm -q libgcj libgcj-4.1.1-13 libgcj-4.1.1-13 rpm -q glibc glibc-2.4.90-15 glibc-2.4.90-15 uname -a Linux xpc.home.erwinrol.com 2.6.17-1.2488.fc6 #1 SMP Mon Jul 31 21:09:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux [erwin@xpc de_bv]$ gdb /usr/bin/gcj-dbtool GNU gdb Red Hat Linux (6.5-3.fc6rh) Copyright (C) 2006 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 "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) r Starting program: /usr/bin/gcj-dbtool [Thread debugging using libthread_db enabled] [New Thread 46912496314704 (LWP 27871)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912496314704 (LWP 27871)] *__GI__dl_addr (address=0x606020, info=0x7fffe9437a00, mapp=0x0, symbolp=0x0) at dl-addr.c:90 90 if ((ELFW(ST_BIND) (symtab->st_info) == STB_GLOBAL (gdb) bt #0 *__GI__dl_addr (address=0x606020, info=0x7fffe9437a00, mapp=0x0, symbolp=0x0) at dl-addr.c:90 #1 0x000000349052350b in _Jv_RegisterLibForGc (p=0x0) at ../../../libjava/boehm.cc:672 #2 0x00000034905183bc in _Jv_RegisterClasses (classes=0x0) at ../../../libjava/java/lang/natClassLoader.cc:191 #3 0x000000000040271e in _init () #4 0x0000000000000001 in ?? () #5 0x0000000000404a20 in __libc_csu_init () #6 0x000000348d020a3e in __libc_start_main (main=0x402be0 <main>, argc=1, ubp_av=0x7fffe9437b88, init=0x4049f0 <__libc_csu_init>, fini=0x1870101a25e2000, rtld_fini=0x2aaaaaaab000, stack_end=0x7fffe9437b78) at libc-start.c:190 #7 0x0000000000402b49 in _start () [erwin@xpc de_bv]$ strace /usr/bin/gcj-dbtool execve("/usr/bin/gcj-dbtool", ["/usr/bin/gcj-dbtool"], [/* 38 vars */]) = 0 brk(0) = 0x8a1000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaaab000 uname({sys="Linux", node="xpc.home.erwinrol.com", ...}) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/x86_64/libgcj.so.7rh", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls/x86_64", 0x7fff31abf630) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libgcj.so.7rh", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/lib64/x86_64/libgcj.so.7rh", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/x86_64", 0x7fff31abf630) = -1 ENOENT (No such file or directory) open("/usr/lib64/libgcj.so.7rh", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220 N\220"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=42000832, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaaac000 mmap(0x348f000000, 44584072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x348f000000 mprotect(0x3490ff1000, 2093056, PROT_NONE) = 0 mmap(0x34911f0000, 8507392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ff0000) = 0x34911f0000 mmap(0x3491a0d000, 490632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3491a0d000 close(3) = 0 open("/usr/lib64/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=174792, ...}) = 0 mmap(NULL, 174792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaaad000 close(3) = 0 open("/lib64/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340f\300"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=136472, ...}) = 0 mmap(0x348ec00000, 2196304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x348ec00000 mprotect(0x348ec14000, 2093056, PROT_NONE) = 0 mmap(0x348ee13000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x348ee13000 mmap(0x348ee15000, 13136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x348ee15000 close(3) = 0 open("/usr/lib64/tls/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/librt.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000)\340"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=53472, ...}) = 0 mmap(0x349ae00000, 2132968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x349ae00000 mprotect(0x349ae07000, 2097152, PROT_NONE) = 0 mmap(0x349b007000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x349b007000 close(3) = 0 open("/usr/lib64/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\21\200"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=23512, ...}) = 0 mmap(0x348d800000, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x348d800000 mprotect(0x348d803000, 2093056, PROT_NONE) = 0 mmap(0x348da02000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x348da02000 close(3) = 0 open("/usr/lib64/tls/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libz.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\37\300"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=85928, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaad8000 mmap(0x348dc00000, 2178920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x348dc00000 mprotect(0x348dc14000, 2093056, PROT_NONE) = 0 mmap(0x348de13000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x348de13000 close(3) = 0 open("/usr/lib64/tls/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libgcc_s.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\37\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=58408, ...}) = 0 mmap(0x3492000000, 2151784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3492000000 mprotect(0x349200d000, 2097152, PROT_NONE) = 0 mmap(0x349220d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x349220d000 close(3) = 0 open("/usr/lib64/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\v\2"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1672528, ...}) = 0 mmap(0x348d000000, 3457208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x348d000000 mprotect(0x348d144000, 2093056, PROT_NONE) = 0 mmap(0x348d343000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143000) = 0x348d343000 mmap(0x348d348000, 16568, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x348d348000 close(3) = 0 open("/usr/lib64/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220N@\215"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=615128, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaad9000 mmap(0x348d400000, 2629848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x348d400000 mprotect(0x348d482000, 2093056, PROT_NONE) = 0 mmap(0x348d681000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x348d681000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaada000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaadb000 arch_prctl(ARCH_SET_FS, 0x2aaaaaada950) = 0 mprotect(0x348ee13000, 4096, PROT_READ) = 0 mprotect(0x349b007000, 4096, PROT_READ) = 0 mprotect(0x348da02000, 4096, PROT_READ) = 0 mprotect(0x348d343000, 16384, PROT_READ) = 0 mprotect(0x348d681000, 4096, PROT_READ) = 0 mprotect(0x348ce19000, 4096, PROT_READ) = 0 munmap(0x2aaaaaaad000, 174792) = 0 set_tid_address(0x2aaaaaada9e0) = 27902 syscall_273(0x2aaaaaada9f0, 0x18, 0x7fff31ac0248, 0, 0x2aaaaaada950, 0, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1) = 0 rt_sigaction(SIGRTMIN, {0x348ec06280, [], SA_RESTORER|SA_SIGINFO, 0x348ec0e550}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x348ec061d0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x348ec0e550}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7fff31abfea0, 35, (nil), 0}) = 0 brk(0) = 0x8a1000 brk(0x8c2000) = 0x8c2000 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=54668704, ...}) = 0 mmap(NULL, 54668704, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaadc000 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 27902 detached -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list