Re: [dev] [9base] x86_64 rc segmentation fault

From: Anselm R Garbe <>
Date: Thu, 1 Apr 2010 22:12:13 +0100

On 1 April 2010 18:26, Yoshi Rokuko <> wrote:
> On Thu, Apr 01, 2010 at 02:51:52PM +0100, Anselm R Garbe wrote:
>> Can you tar up your 64bit build of 9base for me and provide me a link to it?
> sure here it is

I put your build into my /usr/local/plan9/bin and got a stacktrace
after running ls in rc:

(gdb) bt
#0 0x000000000040f99b in signotify (sig=32767) at notify.c:143
#1 0x0000000000410940 in p9wait () at wait.c:36
#2 0x000000000040d024 in Waitfor ()
#3 0x00000000004095a5 in Xsimple ()
#4 0x0000000000403928 in p9main ()
#5 0x000000000040f5a9 in main (argc=7051264, argv=0x1) at main.c:10

When I made your build clean and rebuild with my compiler I see no
crashes, same with hg tip.

anselm_AT_garbe:~$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-cld --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)

For your convenience I tared up two static builds of 9base, current
9base-hg and the 9base-4 provided by you, but cleaned and with my
compiler. Please check if that works for you. If so I suspect wether a
glibc issue or a compiler issue.

My libc6 versions are:

anselm_AT_garbe:~$ dpkg -l | grep libc
ii libc6 2.7-18lenny2 GNU C
Library: Shared libraries
ii libc6-dev 2.7-18lenny2 GNU C
Library: Development Libraries and Hea

Received on Thu Apr 01 2010 - 21:12:13 UTC

This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 21:24:03 UTC