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

Re: [Libguestfs] febootstrap F12 ppc coreutils PREIN




--- On Fri, 6/18/10, Richard W.M. Jones <rjones redhat com> wrote:

> From: Richard W.M. Jones <rjones redhat com>
> Subject: Re: febootstrap F12 ppc coreutils PREIN
> To: "Dwayne Fontenot <dwayne fontenot att net>" <dwayne fontenot att net>, libguestfs redhat com
> Date: Friday, June 18, 2010, 1:53 PM
> On Fri, Jun 18, 2010 at 11:09:10AM
> -0700, Dwayne Fontenot <dwayne fontenot att net>
> wrote:
> > 
> 
> > open("/usr/lib/locale/locale-archive",
> O_RDONLY|O_LARGEFILE) = 3
> > fstat64(3, {st_mode=S_IFREG|0644, st_size=80626448,
> ...}) = 0
> > mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) =
> 0x30041000
> > mmap2(NULL, 245760, PROT_READ, MAP_PRIVATE, 3, 0x2330)
> = 0x30241000
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
> 
> Yes, that's really interesting.  I didn't suspect that
> locale-archive
> would be a non-portable binary file.  I wonder if
> there's some
> environment variable to make it use a different file?
> 
> CC-ing to libguestfs mailing list.
> 
> Rich.
> 
> -- 
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> New in Fedora 11: Fedora Windows cross-compiler. Compile
> Windows
> programs, test, and build Windows installers. Over 70
> libraries supprt'd
> http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
> 

(Richard sorry you will get this twice - I forgot to "reply all" the first time).

Unfortunately I think I have misled you. I tried again adding
-ELANG=C to the strace line, and still got a segfault, even though
strace does not show bash accessing locale-archive:

strace -ELANG=C -ELD_LIBRARY_PATH=/home/packages/febootstrap/roots/minimal/usr/lib64:/home/packages/febootstrap/roots/minimal/usr/lib:/home/packages/febootstrap/roots/minimal/lib64:/home/packages/febootstrap/roots/minimal/lib ./minimal/bin/bash
...
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30025000
mprotect(0xff79000, 16384, PROT_READ)   = 0
mprotect(0xffb0000, 4096, PROT_READ)    = 0
mprotect(0x3003f000, 4096, PROT_READ)   = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault




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