RPM Community Forums

Mailing List Message of <rpm-devel>

internal dependency generator segfaults on any file

From: Bernhard Rosenkraenzer <bero@arklinux.org>
Date: Sat 13 Oct 2007 - 15:40:04 CEST
Message-Id: <200710131540.04286.bero@arklinux.org>
Setting %_use_internal_dependency_generator to anything but 0 causes a 
segfault (with a totally unreadable gdb backtrace :/ ) here.

strace -f rpm -ba any.spec ends in

open("/usr/lib/rpm/magic.mgc", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1041280, ...}) = 0
mmap2(NULL, 1041280, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb7afb000
close(3)                                = 0
munmap(0xb7afb000, 1041280)             = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 22787 detached


Before I spend lots of time tracing this, is anyone else running into this, 
and maybe even fixed it?

Thanks
bero
Received on Sat Oct 13 15:44:57 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.