On Oct 13, 2007, at 9:40 AM, Bernhard Rosenkraenzer wrote:
> 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?
>
Send me a reproducer, I will send you a fix.
Are you using internal or external file magic?
73 de Jeff
Received on Sat Oct 13 17:00:25 2007