Segmentation fault when try run rpm to install init.d scripts

Jeff Johnson n3npq at mac.com
Mon Dec 8 15:03:29 UTC 2008


On Dec 7, 2008, at 8:26 PM, bpathakis at comcast.net wrote:
... snip ...

>
> stat64("/boot", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
> statfs64("/sys/kernel/security", 84, {f_type=0x73636673,  
> f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0,  
> f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
> stat64("/sys/kernel/security", {st_mode=S_IFDIR|0755,  
> st_size=0, ...}) = 0
> open("/proc/mounts", O_RDONLY)          = 5
> fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,  
> -1, 0) = 0xb7af5000
> read(5, "rootfs / rootfs rw 0 0\nudev /dev"..., 1024) = 425
> stat64("/sys/kernel/security", {st_mode=S_IFDIR|0755,  
> st_size=0, ...}) = 0
> close(5)                                = 0
> munmap(0xb7af5000, 4096)                = 0
> stat64("/sys/kernel/security", {st_mode=S_IFDIR|0755,  
> st_size=0, ...}) = 0
> statfs64("/media/sles1", 84,  <unfinished ...>
> +++ killed by SIGSEGV +++

This code is being executed in RPM to compute disk space usage  
accounting.

For diagnosis purposes, try adding --ignoresize to disable disk  
accounting.
If --ignoresize also avoids the segfault, then look carefully at what
you have mounted.

That's abt all that I can guess at. FYI, -vv is useful for debugging  
rpm too.

73 de Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4664 bytes
Desc: not available
Url : http://lists.rpm.org/pipermail/rpm-list/attachments/20081208/8fd472e5/attachment.bin 


More information about the Rpm-list mailing list