linux-um archives
 help / color / mirror / Atom feed
From: Antoine Martin <antoine@nagafix.co.uk>
To: William Stearns <wstearns@pobox.com>
Cc: Vince Berk <vberk@ists.dartmouth.edu>,
	ML-uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] Thread (NPTL?) support, 2.6.20-rc5-git3, x86_64, reproducible segmentation fault and possible culprit
Date: Mon, 29 Jan 2007 09:23:53 +0000	[thread overview]
Message-ID: <45BDBD29.3040008@nagafix.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.64.0701281600140.3159@sparrow>

>> 	Vince Berk pointed out what appears to be a thread issue with uml. 
>> The "host" command, part of the bind-utils package, uses threads and crashes 
>> when asked to do anything more complex than show its help screen:
>>
>> -bash-3.1# rpm -q bind-libs bind-utils
>> bind-libs-9.3.3-0.1.rc3.fc6
>> bind-utils-9.3.3-0.1.rc3.fc6
>> -bash-3.1# host www.google.com.
>> Segmentation fault
I believe Jeff is debugging some of these issues.
Thanks for the test case though, couldn't be more simple!


>> 	The problem is completely reproducible; the root filesystem and 
>> kernel at http://ford.stearns.org/uml/ give a crash every time you actually 
>> try to look something up with "host".
>> 	Should I be talking to the glibc folks about this?
I don't think so, it is probably just a TLS issue in UML.

>  	As a side note, if I try to bypass thread support per the 
> instructions at http://dag.wieers.com/howto/compatibility/ , I get a 
> different error (following is with stock "host"):
> 
> -bash-3.1# LD_ASSUME_KERNEL=2.4.19 host www.google.com
> host: error while loading shared libraries: libnsl.so.1: cannot open 
> shared object file: No such file or directory
> 
> -bash-3.1# export LD_ASSUME_KERNEL=2.4.19
> -bash-3.1# strace -f host www.google.com.
> strace: error while loading shared libraries: libc.so.6: cannot open 
> shared object file: No such file or directory
I think that's because glibc 2.5 does not support kernel 2.4, it only 
supports nptl (unfortunately).

Antoine

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2007-01-29  9:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-28 20:10 [uml-devel] Thread (NPTL?) support, 2.6.20-rc5-git3, x86_64, reproducible segmentation fault and possible culprit William Stearns
2007-01-28 21:03 ` William Stearns
2007-01-29  9:23   ` Antoine Martin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45BDBD29.3040008@nagafix.co.uk \
    --to=antoine@nagafix.co.uk \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=vberk@ists.dartmouth.edu \
    --cc=wstearns@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox