line 55: 14898 Aborted

Bug #873831 reported by Ryan Kitty
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
prelink (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Crashed after fresh install of Oneiric. Similar issues were present during pre-release as well.

Terminal output:

gothickitty93@gothickitty93-MT6458:~$ sudo /etc/cron.daily/prelink
/etc/cron.daily/prelink: line 55: 14898 Aborted /usr/sbin/prelink -a $PRELINK_OPTS >> /var/log/prelink.log 2>&1

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: prelink 0.0.20090925-1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Thu Oct 13 23:09:42 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: prelink
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.default.prelink: 2011-10-13T23:03:50.614914

Revision history for this message
Ryan Kitty (gothickitty93) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in prelink (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

could you please attach the /var/log/prelink.log ? thanks

Revision history for this message
Ryan Kitty (gothickitty93) wrote :

prelink log.

Revision history for this message
Ryan Kitty (gothickitty93) wrote :

Hmm. looks like something with Thunderbird is screwing it up.

Revision history for this message
Ryan Kitty (gothickitty93) wrote :

Log with Thunderbird removed. (Still crashes)

Revision history for this message
Ryan Kitty (gothickitty93) wrote :

(Sorry) Bump.

Revision history for this message
Jason Heath (jheath8) wrote :

I hacked my way around this problem using "sudo prelink -amvR". I then took the failed to prelink files and blacklisted them in /etc/prelink.conf. The main file causing this bug is /usr/lib/klibc/bin. Once that file was blacklisted I received prelink.bin.assert failure /src/conflict.c:763. After blacklisting 5 subsequent files I was able to get prelink to finish a system prelink using /etc/cron.daily/prelink. I have attached a copy of my prelink.conf file. All files at the bottom of the list that are blacklisted cause a failure with prelinking. I hope this helps.

Prelink.conf

# This config file contains a list of directories both with binaries
# and libraries prelink should consider by default.
# If a directory name is prefixed with `-l ', the directory hierarchy
# will be walked as long as filesystem boundaries are not crossed.
# If a directory name is prefixed with `-h ', symbolic links in a
# directory hierarchy are followed.
# Directories or files with `-b ' prefix will be blacklisted.
-b *.la
-b *.png
-b *.py
-b *.pl
-b *.pm
-b *.sh
-b *.xml
-b *.xslt
-b *.a
-b *.js
-b /lib/modules
-b /usr/lib/locale
-l /usr/local/sbin
-l /sbin
-l /usr/sbin
-l /usr/local/bin
-l /bin
-l /usr/bin
-l /usr/X11R6/bin
-l /usr/games
-l /usr/local/lib
-l /lib
-l /usr/lib
-l /usr/X11R6/lib
-b /usr/lib/klibc/bin
-b /usr/lib/thunderbird-10.0.2/plugin-container
-b /usr/lib/nvidia-current/bin/nvidia-smi
-b /usr/lib/libreoffice
-b /usr/lib/ure/bin
-b /usr/bin/aptitude-curses

Revision history for this message
Jason Heath (jheath8) wrote :

I've tracked the libreoffice problem down to these two files so I didn't need to blacklist all of Libreoffice:

-b /usr/lib/libreoffice/basis3.4/program
-b /usr/lib/libreoffice/program

Revision history for this message
Gilles Tournier (gillestournier) wrote :

Fine...but not really a viable solution for using the prelinking tool the normal way.
May I also add that after 5 months from the notification, this bug is still "undecided" and "unassigned" !

Revision history for this message
Jason Heath (jheath8) wrote : Re: [Bug 873831] Re: line 55: 14898 Aborted

On 03/06/2012 08:57 AM, Gilles Tournier wrote:
> Fine...but not really a viable solution for using the prelinking tool the normal way.
> May I also add that after 5 months from the notification, this bug is still "undecided" and "unassigned" !
>
I was reading in the Debian forums that the prelink package maintainer
is AWOL and not responding to emails. So who knows what the fate of this
package will be. I know this is a hack but it gets the package running
for now.

Revision history for this message
Gilles Tournier (gillestournier) wrote :

Thank you Jason for this information. I also suspected that this package's development had "stalled"...
Our only hope now, is that perhaps this was only a bug introduced by 11.10 Oneiric...and that the coming release of 12.04 would have solved it. We will see...

Revision history for this message
Jason Heath (jheath8) wrote :

From what I've been able to find out Libreoffice uses wrapper scripts on launch that manually set LD_LIBRARY_PATH preventing prelink from finding the dependencies. I'm not certain if these other files are doing the same thing.

Revision history for this message
Jason Heath (jheath8) wrote :

It appears that /usr/lib/klibc/bin files aren't dynamic executable but are statically linked. Since prelink aids dynamic linking by linking in advance & relocating the executable, these files aren't compatible with prelinking.

Revision history for this message
Gilles Tournier (gillestournier) wrote :

You are right and this is quite a discovery!
Now the question is: what exactly are these statically linked executable doing there in /usr/lib/klibc/bin? To what purpose would they be used instead of the same basic unix executable inside /bin (which are all dynamically linked) ? Are they used at all?
Are these a new addition which appeared with 11.10?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.