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

Bug#223394: libc6: NPTL causes segfaults on forking(?) apps with 2.6.0-test11 with exec_shield



On Sat, Jul 17, 2004 at 10:01:35AM +0900, GOTO Masanori wrote:
> At Mon, 08 Dec 2003 22:15:46 +0200,
> Riku Voipio wrote:
> > Testing vanilla 2.6.0-test11 and
> > http://people.redhat.com/mingo/exec-shield/

> > I'm using bash and ls as an example, but the same symptoms
> > appear in wide range of apps: apt-get with apt-listchanges,
> > init+bootlogd, xterm+bash etc.
 
> Is this bug reappeared with the latest kernel 2.6.7 and so on?  Please
> confirm it.  

Currently, trying 2.6.7 and latest exec-shield patch, I can't boot the
system. Init dies with the following error:

Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion
 `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
kernel panic: Attempted to kill init!

> It may be kernel bug.

Could be. However, fedora ships with exec-shield applied and on, so
it doesn't seem likely. This bug (being either kernel or libc) is
very easy reproduce, just get latest vanilla kernel, apply mingos
exec-shield patch and attempt to boot it.

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=127146
seems to be the same bug, the suggested vdso=0 boot option changes 
the ld.so error to a segmentation fault of init.

Versions:

libc6: 2.3.2.ds1-13
sysvinit: 2.86-1



-- 
Riku Voipio            | riku.voipio at iki.fi         |
kirkkonummentie 33     |    +358 44 5000343          --+--
02140 Espoo            |                               |
dark> A bad analogy is like leaky screwdriver          |



Reply to: