Re: prelink segfault

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

 



On Sat, 11 Jul 2009 16:21:35 +0100
Steve Searle <steve@xxxxxxxxxxxxxxx> wrote:

> I am getting the following on one of my Fedora boxes.  Has anyone any
> ideas how to tackle it.  I have reinstalled prelink.
> 
> /etc/cron.daily/prelink:
> 
> /etc/cron.daily/prelink: line 47:   594 Segmentation
> fault      /usr/sbin/prelink -av $PRELINK_OPTS
> >> /var/log/prelink/prelink.log 2>&1
> 
> Steve
> 
F11 x86_64

I had never looked in detail at prelink operation before.  I looked at
the script in /etc/cron.daily and line 47 is after everything has been
resolved and it is running the prelink.

I then looked at /var/log/prelink/prelink.log and there were *lots* of
executables that couldn't be prelinked because libraries they used
couldn't be prelinked.  At the top of the file was the actual command
that was run (line 46 in the cron.daily script puts it in the log).
Look at the end to see if prelink wrote any pertinent information about
what it was doing when the seg fault happened.  It seems unlikely but
worth a shot.

Then I would suggest, as root, run 
strace (the command at the top of the log file)  | less    
When it hits the executable it is trying to prelink that causes the
segmentation fault, you will know which executable it is and the
library it is trying to link.  This will probably take a long time and
there will be lots of output as most prelinks will probably succeed.

That should enable you to open a bugzilla against prelink.  Or remove
the package with the executable that is causing the problem and try
again.  No error, you have your culprit.

At least this should enable you to take the next step in resolving the
issue.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux