SUMMARY: rpm memory fault

From: Robert Schueler (schueler@emt.iis.fhg.de)
Date: Fri Apr 11 2003 - 07:58:39 EDT


Many Thanks to Dr Thomas.Blinn for his immediate answer.

It was my aim to find a solution without reinstall the whole box. So I
installed truss, a utility to trace system calls, to find out after
which call the memory fault appear. I have attached an extract of the
output from truss at end of this mail.
One of the last system calls was a statfs("/home",...). I don't know
exactly what it did, but my autofs-daemon manage automatically mounting
of user-directories under /home.

So I stopped autofs-process and tried the rpm-install-procedure again.
Marvelously the rpm run faultless and installed my desired rpm-packages
as well.
The error is reproduceable every time I start the machine with
autofs-daemon.

In the documentation "Network Administration: Services"[1] is a section
about "Automatically Mounting a Remote File System"[2]. Other than
autofs there is also the use of automount described or vice versa :)

I change to automount with success and the rpm-tool also work as
expected.

[1]http://h30097.www3.hp.com/docs/pub_page/V51B_DOCS/ADM_DOCS.HTM
[2]http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/ARPPCBTE/NFSCHPXX.HTM

========================= truss.log =========================
Command: #/usr/local/bin/rpm -ivv /mnt/RPMS/alpha/zlib-1.1.4-5.alpha.rpm

getfsstat(0x00000000, 0, MNT_NOWAIT) = 6
getfsstat(0x0000000140119800, 17920, MNT_NOWAIT) = 6
stat("/", 0x000000011FFFB9B8) = 0
stat("/proc", 0x000000011FFFB9B8) = 0
stat("/mnt", 0x000000011FFFB9B8) = 0
stat("/usr", 0x000000011FFFB9B8) = 0
stat("/var", 0x000000011FFFB9B8) = 0
stat("/home", 0x000000011FFFB9B8) = 0
statfs("/", 0x000000011FFFAFA0, 5368785076) = 0
pathconf(0x000000011FFFB1A0, 14) = 255
stat("/", 0x000000011FFFBC30) = 0
statfs("/proc", 0x000000011FFFAFA0, 5368785076) = 0
pathconf(0x000000011FFFB1A0, 14) = 255
stat("/proc", 0x000000011FFFBC30) = 0
statfs("/mnt", 0x000000011FFFAFA0, 5368785076) = 0
pathconf(0x000000011FFFB1A0, 14) = 255
stat("/mnt", 0x000000011FFFBC30) = 0
statfs("/usr", 0x000000011FFFAFA0, 5368785076) = 0
pathconf(0x000000011FFFB1A0, 14) = 255
stat("/usr", 0x000000011FFFBC30) = 0
statfs("/var", 0x000000011FFFAFA0, 5368785076) = 0
pathconf(0x000000011FFFB1A0, 14) = 255
stat("/var", 0x000000011FFFBC30) = 0
statfs("/home", 0x000000011FFFAFA0, 5368785076) = 0
pathconf(0x000000011FFFB1A0, 14) = 60
    Incurred fault #32, FLTBOUNDS %pc = 0x00000001200D4060 addr =
0x000000011
FFFAF70
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000000000000
                                                Err#11 Error 11
occurred.
        *** process killed ***

========================= truss.log =========================

-- 
+                                  -                                +
| Robert Schueler                                                   |                    
| Fraunhofer IIS - Arbeitsgruppe EMT Ilmenau                        |
| mailto:schueler@emt.iis.fhg.de                                    | 
+                                  -                                +


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:15 EDT