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

Bug #811377 reported by Aloisio Almeida Jr
276
This bug affects 36 people
Affects Status Importance Assigned to Milestone
prelink (Debian)
Fix Released
Unknown
prelink (Ubuntu)
Confirmed
Medium
Unassigned

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
ProcEnviron:
 SHELL=/bin/sh
 PATH=(custom, no user)
Signal: 6
SourcePackage: prelink
StacktraceTop:
 raise () from /lib/x86_64-linux-gnu/libc.so.6
 abort () from /lib/x86_64-linux-gnu/libc.so.6
 __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
 ?? ()
 ?? ()
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)
UserGroups:

Revision history for this message
Aloisio Almeida Jr (aloisiojr) wrote :
Revision history for this message
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.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 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
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
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)
visibility: private → public
Revision history for this message
Ryan Kitty (gothickitty93) wrote :

It's about damn time this bug is public.

tags: added: precise
Changed in prelink (Debian):
status: Unknown → New
Revision history for this message
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>

http://people.redhat.com/jakub/prelink

svn://sourceware.org/svn/prelink/trunk

Revision history for this message
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.

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

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

Revision history for this message
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.