DragonFly BSD
DragonFly bugs List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #2376] (Closed) determine real cause of ldd crash

From: John Marino via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Aug 2012 07:49:47 -0700

Issue #2376 has been updated by John Marino.

Status changed from New to Closed

RTLD was at fault after all.  The full object structure wasn't guaranteed to be fully allocated when it started digesting ELF notes.

FreeBSD hit the bug too (svn 239019)
Fixed here: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4db7b2663090f11386e806c421560a4d0923a7fb
Bug #2376: determine real cause of ldd crash

Author: John Marino
Status: Closed
Priority: Normal
Target version: 

Problem: ldd core dumps in specific cases within RTLD

To reproduce:
> cd /usr/pkgsrc/audio/arts
> bmake install
> ldd /usr/pkg/bin/artswrapper

It dumps within rtld reading digest notes.  That's because the obj pointer has a null value even though it was just created (signal 11).

Trying to step through with gdb will result in a "signal 5", stopping at ldd.c line 205, right after a fork.

I need some help determining if the problem is ldd.c or something in the kernel.  I don't think rtld is really at fault here, although I'm not confident about the TLS/resident part.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

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