[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RPM is misbehaving again.




In deed, all this happened while the CD was unmounted (actually - haven't
tried it when its mounted - I will as soon as I get physical with the box
again), but I dont see how it could be related to the rpm segfaulting
problem.

Oded

On Wed, 31 Oct 2001, levo wrote:

> From: levo <lev.o@sapiens.com>
> To: Oded Arbel <odeda-linux-il@betalfa.org.il>
> Cc: Linux-IL Mailing list <linux-il@cs.huji.ac.il>
> Date: Wed, 31 Oct 2001 02:32:39 +0200
> X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.8-26mdk i586)
> Subject: Re: RPM is misbehaving again.
>
> Hi !
>
> I also saw this on my intallation  ML8.1  - just because CDROM is not
> mounted, a lot of commands produce
> segmentation fault.
>
>
>
> Oded Arbel wrote:
>
> > Hi list.
> >
> > I got the "rpm segmentation fault" problem again. I remember discussing
> > this in the list (was it my problem, the last time, or somebody else ? I
> > can't seem to recall) but searching both mail archives produced zero
> > results. similar results I got from goolge : nil.
> > The most frequent response to a segfault is to rebuild the RPM database -
> > done that : three times.
> >
> > so what happens - I try to do something other the queries (those work ok),
> > and rpm segfaults right after it finishes with the scripts. running strace
> > I get the following output (at the end of it all) :
> > <paste>
> > open("/etc/resolv.conf", O_RDONLY)      = 14
> > fstat64(14, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
> > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> > 0) = 0x404ce000
> > read(14, "search lan.betalfa.org.il \nnames"..., 4096) = 50
> > read(14, "", 4096)                      = 0
> > close(14)                               = 0
> > munmap(0x404ce000, 4096)                = 0
> > socket(PF_UNIX, SOCK_STREAM, 0)         = 14
> > connect(14, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1
> > ENOENT (No such file or directory)
> > close(14)                               = 0
> > open("/etc/nsswitch.conf", O_RDONLY)    = 14
> > fstat64(14, {st_mode=S_IFREG|0644, st_size=1788, ...}) = 0
> > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> > 0) = 0x404ce000
> > read(14, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1788
> > read(14, "", 4096)                      = 0
> > close(14)                               = 0
> > munmap(0x404ce000, 4096)                = 0
> > --- SIGSEGV (Segmentation fault) ---
> > +++ killed by SIGSEGV +++
> > </paste>
> >
> > it always segfaults at the same place - when munmaping the nsswitch.conf.
> > also - looking at the strace output I see that rpm is trying to load a
> > library called libdes425.so.3 from a directory under /home/florin (which,
> > of course, I don't have on this computer) - someone forgot a hardcoded
> > path somewhere ? weird.
> >
> > one more thing that may (a very weak may) be related, since its nsswitch
> > that trashes rpm: I'm using ldap authentication through nsswitch and
> > pam_stack. might this has anything to do with it ?
> >
> > Oded
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
>
>


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il