
Hi, we are running SuSE 10.1/x86_64 and SLES 10/x86_64 (same issue). We need a patched version of util-linux so I first tried to recompile the util-linux.src.rpm by simply rpm -ihv .../suse/src/util-linux-2.12r-35.src.rpm rpmbuild -ba SPECS/util-linux.spec This runs through and creates a new RPM. After installing it, /usr/bin/which segfaults when called with a parameter: backus /root/rpm# /usr/bin/which Usage: /usr/bin/which [options] [--] programname [...] Options: --version, -[vV] Print version and exit successfully. --help, Print this help and exit successfully. ... backus /root/rpm# /usr/bin/which nxloadconfig Segmentation fault strace shows this: backus /root/rpm# strace -f /usr/bin/which nxloadconfig execve("/usr/bin/which", ["/usr/bin/which", "nxloadconfig"], [/* 85 vars */]) = 0 brk(0) = 0x505000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af979b07000 uname({sys="Linux", node="backus", ...}) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=306211, ...}) = 0 mmap(NULL, 306211, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2af979b08000 close(3) = 0 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\0P\322\1\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1475924, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af979b53000 mmap(NULL, 2289896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2af979c09000 madvise(0x2af979c09000, 2289896, MADV_SEQUENTIAL|0x1) = 0 mprotect(0x2af979d2f000, 1048576, PROT_NONE) = 0 mmap(0x2af979e2f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x126000) = 0x2af979e2f000 mmap(0x2af979e34000, 16616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2af979e34000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af979e39000 arch_prctl(ARCH_SET_FS, 0x2af979e396d0) = 0 mprotect(0x2af979e2f000, 12288, PROT_READ) = 0 munmap(0x2af979b08000, 306211) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 7351 detached What's wrong here? I didn't change the spec file, so how can the recompiled package behave differently? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org