public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Linuxthreads fails tests with current glibc 2.2 version
@ 1999-12-19  3:29 Andreas Jaeger
  1999-12-19  5:10 ` Andreas Jaeger
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Jaeger @ 1999-12-19  3:29 UTC (permalink / raw)
  To: GNU libc hacker

Just a short notice:
The linuxthreads test ex1, ex2, ex3, ex4, ex5 and ex6 fail for me in
on i686-linux.

No time to investigate why,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linuxthreads fails tests with current glibc 2.2 version
  1999-12-19  3:29 Linuxthreads fails tests with current glibc 2.2 version Andreas Jaeger
@ 1999-12-19  5:10 ` Andreas Jaeger
  1999-12-19 10:24   ` Ulrich Drepper
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Jaeger @ 1999-12-19  5:10 UTC (permalink / raw)
  To: GNU libc hacker

>>>>> I wrote:

 > Just a short notice:
 > The linuxthreads test ex1, ex2, ex3, ex4, ex5 and ex6 fail for me in
 > on i686-linux.
and also rt/tst-aio* and elf/resolvfail fail (all programs use
linuxthreads).


configured with: 

/cvs/libc/configure --prefix=/usr/src/test/glibc-2.2 \
--enable-add-ons --disable-profile --without-cvs --enable-kernel=2.2.0 \
--with-headers=/usr/src/linux-2.3.34-2/include

on i686-linux, running Linux 2.2.13 but with headers from 2.3.34pre2,
gcc 2.95.2.  If I compile with headers from 2.2.13 everything seems to
work.

Here's an output from gdb on elf/resolvfail:
Program received signal SIGSEGV, Segmentation fault.
0x400de728 in __new_getrlimit (resource=RLIMIT_STACK, rlimits=0xbffff654)
    at ../sysdeps/unix/sysv/linux/i386/getrlimit.c:48
48            result = INLINE_SYSCALL (ugetrlimit, 2, resource, rlimits);
(gdb) bt
#0  0x400de728 in __new_getrlimit (resource=RLIMIT_STACK, rlimits=0xbffff654)
    at ../sysdeps/unix/sysv/linux/i386/getrlimit.c:48
#1  0x40027649 in pthread_initialize () at pthread.c:304
#2  0x4002b03a in __do_global_ctors_aux ()
   from /usr/src/build-glibc/19991219-linux-2.3.34-2/linuxthreads/libpthread.so.0
#3  0x4002454e in ?? ()
   from /usr/src/build-glibc/19991219-linux-2.3.34-2/linuxthreads/libpthread.so.0

Could somebody doublecheck the recent linuxthreads and getrlimit
changes, please?

I'm currently lost - and won't have time to check this myself today or
tomorrow,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linuxthreads fails tests with current glibc 2.2 version
  1999-12-19  5:10 ` Andreas Jaeger
@ 1999-12-19 10:24   ` Ulrich Drepper
  1999-12-19 10:40     ` Andreas Jaeger
  0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Drepper @ 1999-12-19 10:24 UTC (permalink / raw)
  To: GNU libc hacker

Andreas Jaeger <aj@suse.de> writes:

>  > Just a short notice:
>  > The linuxthreads test ex1, ex2, ex3, ex4, ex5 and ex6 fail for me in
>  > on i686-linux.
> and also rt/tst-aio* and elf/resolvfail fail (all programs use
> linuxthreads).

Neither fails for me.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linuxthreads fails tests with current glibc 2.2 version
  1999-12-19 10:24   ` Ulrich Drepper
@ 1999-12-19 10:40     ` Andreas Jaeger
  1999-12-19 11:11       ` Ulrich Drepper
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Jaeger @ 1999-12-19 10:40 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: GNU libc hacker

>>>>> Ulrich Drepper writes:

Uli> Andreas Jaeger <aj@suse.de> writes:
>> > Just a short notice:
>> > The linuxthreads test ex1, ex2, ex3, ex4, ex5 and ex6 fail for me in
>> > on i686-linux.
>> and also rt/tst-aio* and elf/resolvfail fail (all programs use
>> linuxthreads).

Uli> Neither fails for me.

They only fail with kernel headers from 2.3.33 or 2.3.34pre2 and an
installed 2.2.13 kernel.

It works with headers from 2.2.13.

This might be a bug in my kernel. 

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linuxthreads fails tests with current glibc 2.2 version
  1999-12-19 10:40     ` Andreas Jaeger
@ 1999-12-19 11:11       ` Ulrich Drepper
  0 siblings, 0 replies; 5+ messages in thread
From: Ulrich Drepper @ 1999-12-19 11:11 UTC (permalink / raw)
  To: GNU libc hacker

Andreas Jaeger <aj@suse.de> writes:

> They only fail with kernel headers from 2.3.33 or 2.3.34pre2 and an
> installed 2.2.13 kernel.

OK, I'm running 2.3.33.  But it sounds rather like a problem in the
rlimit stuff.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-12-19 11:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-19  3:29 Linuxthreads fails tests with current glibc 2.2 version Andreas Jaeger
1999-12-19  5:10 ` Andreas Jaeger
1999-12-19 10:24   ` Ulrich Drepper
1999-12-19 10:40     ` Andreas Jaeger
1999-12-19 11:11       ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).