prelink.bin assert failure: prelink.bin: ../../src/conflict.c:763: prelink_build_conflicts: Assertion `j < ndeps' failed.

Bug #811377 reported by Aloisio Almeida Jr on 2011-07-16
This bug affects 36 people
Affects Status Importance Assigned to Milestone
prelink (Debian)
Fix Released
prelink (Ubuntu)

Bug Description

After upgrade my system today (Jul 16th) I got this error report. It happened just after the login. The lightdm and users-admin apps also reported errors.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: prelink 0.0.20090925-1
ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
Uname: Linux 3.0.0-5-generic x86_64
Architecture: amd64
AssertionMessage: prelink.bin: ../../src/conflict.c:763: prelink_build_conflicts: Assertion `j < ndeps' failed.
Date: Sat Jul 9 00:02:48 2011
ExecutablePath: /usr/sbin/prelink.bin
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
ProcCmdline: /usr/sbin/prelink.bin -a -mR -T
 PATH=(custom, no user)
Signal: 6
SourcePackage: prelink
 raise () from /lib/x86_64-linux-gnu/
 abort () from /lib/x86_64-linux-gnu/
 __assert_fail () from /lib/x86_64-linux-gnu/
 ?? ()
 ?? ()
Title: prelink.bin assert failure: prelink.bin: ../../src/conflict.c:763: prelink_build_conflicts: Assertion `j < ndeps' failed.
UpgradeStatus: Upgraded to oneiric on 2011-07-16 (0 days ago)

Aloisio Almeida Jr (aloisiojr) wrote :
Aloisio Almeida Jr (aloisiojr) wrote :

Just saw that the stack is not that helpful. I'm open to help you guys on any extra information.

 raise (sig=4413) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 abort () at abort.c:90
 __assert_fail (assertion=0x435954 "j < ndeps", file=<value optimized out>, line=763, function=<value optimized out>) at assert.c:71
 ?? ()
 ?? ()

Changed in prelink (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Changed in prelink (Ubuntu):
status: New → Confirmed
tags: added: bugpattern-needed
Steve Beattie (sbeattie) on 2012-02-24
visibility: private → public
Ryan Kitty (gothickitty93) wrote :

It's about damn time this bug is public.

tags: added: precise
Changed in prelink (Debian):
status: Unknown → New
Igor Borski (ibtemp) wrote :

I've added sort of a patch in debian bug, but no C user nor package maintainer so you can get it as is :) .
The problem the package is orphaned in Debian so nobody really looking into it.

Think the best way is to contact upstream Jakub Jelinek <email address hidden>


Ryan Kitty (gothickitty93) wrote :

I just tested prelinking on Quantal, and it seems to have performed correctly. I did not get any errors in the terminal.

Ryan Kitty (gothickitty93) wrote :

I should also add that on Quantal, I tested with the provided .deb package in the repos.

Igor Borski (ibtemp) wrote :

Depends on packages installed. One from Quantal package crashed on me just fine now.
It would seem it cannot handle some linking setups.

If I am guessing right some files list its own executable as a dependency and prelink doesn't like it.
If someone with ELF knowledge would look at my logging patch and output maybe bug can be tracked down.

Changed in prelink (Debian):
status: New → Fix Released
To post a comment you must log in.