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

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



Your message dated Sat, 11 Dec 2004 18:28:36 +0200
with message-id <20041211162835.GA9693@uittosatama.fi>
and subject line Bug#223394: libc6: NPTL causes segfaults
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Dec 2003 02:04:54 +0000
>From nchip@nchip.kos.to Mon Dec 08 20:04:53 2003
Return-path: <nchip@nchip.kos.to>
Received: from xdsl-177-5.nblnetworks.fi (watergate.kos.to) [217.30.177.5] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ATRnI-0001RS-00; Mon, 08 Dec 2003 14:15:48 -0600
Received: from [2002:d91e:b105:2:204:75ff:fe7a:6d34] (helo=kgb.cia)
	by watergate.kos.to with esmtp (Exim 4.24)
	id 1ATRnG-0002fT-MJ; Mon, 08 Dec 2003 22:15:46 +0200
Received: from nchip by kgb.cia with local (Exim 3.36 #1 (Debian))
	id 1ATRnG-0000UT-00; Mon, 08 Dec 2003 22:15:46 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Riku Voipio <riku.voipio@iki.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: NPTL causes segfaults on forking(?) apps with 2.6.0-test11 with
 exec_shield
X-Mailer: reportbug 2.36
Date: Mon, 08 Dec 2003 22:15:46 +0200
Message-Id: <E1ATRnG-0000UT-00@kgb.cia>
Sender: Riku Voipio <nchip@nchip.kos.to>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_70,HAS_PACKAGE 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

Package: libc6
Version: 2.3.2.ds1-10
Severity: normal


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.

Without exec-shield:

# echo 0 > /proc/sys/kernel/exec-shield
# bash
$ ls
changelog.Debian.gz  copyright
$ exit

With: 
# echo 2 > /proc/sys/kernel/exec-shield
# bash
$ ls
changelog.Debian.gz  copyright
Segmentation fault   # <- this segfault happens in bash, not ls
#

Without NPTL

# echo 2 > /proc/sys/kernel/exec-shield
# LD_ASSUME_KERNEL=2.4.1 bash
$ ls
changelog.Debian.gz  copyright
$

Running gdb is kinda tricky,because it segfaults too.
By starting gdb before enabling exec-shield:

Program received signal SIGSEGV, Segmentation fault.
0x08076f5f in kill_pid ()
(gdb) bt
#0  0x08076f5f in kill_pid ()
#1  0x0806876a in execute_command_internal ()
#2  0x08068105 in execute_command ()
#3  0x0805cbb0 in reader_loop ()
#4  0x0805ac85 in main ()

execute_command_internal beats my c parsing skills, so I don't really
understand what is happening.

Same effects with and without libc6-i686. Cpu is Athlon XP stepping 2


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux kgb 2.6.0-test11 #1 Mon Dec 8 18:52:33 EET 2003 i686
Locale: LANG=C, LC_CTYPE=fi_FI@euro

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information


---------------------------------------
Received: (at 223394-done) by bugs.debian.org; 11 Dec 2004 16:28:41 +0000
>From nchip@uittosatama.fi Sat Dec 11 08:28:41 2004
Return-path: <nchip@uittosatama.fi>
Received: from uittosatama.fi [217.30.179.138] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CdA6q-0000TE-00; Sat, 11 Dec 2004 08:28:41 -0800
Received: by uittosatama.fi (Postfix, from userid 573)
	id 3760FEE8080; Sat, 11 Dec 2004 18:28:36 +0200 (EET)
Date: Sat, 11 Dec 2004 18:28:36 +0200
From: Riku Voipio <riku.voipio@iki.fi>
To: 223394-done@bugs.debian.org
Subject: Re: Bug#223394: libc6: NPTL causes segfaults
Message-ID: <20041211162835.GA9693@uittosatama.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-message-flag: Warning: message not sent with a DRM-Certified client
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 223394-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Hi

Using linux 2.6.9 and exec-shield-nx-2.6.9-A2 patch, there seems
to be no problems with nptl vs exec-shield. Now I just need xserver
fixed, but that's another story and package (#240809 and xfree)



Reply to: