Bugs item #442334, was opened at 2001-07-18 01:55
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=442334&group_id=3152

Category: Architecture: Thread Library
Group: aolserver3_4
Status: Open
Resolution: Invalid
Priority: 5
Submitted By: laurent riesterer (riesterer)
Assigned to: Nobody/Anonymous (nobody)
>Summary: running thread/test segfaults on linux

Initial Comment:
the 'make check' in the 'thread' directory produce a
segmentation fault when using glibc 2.2.2 with pthread
0.9.

----------------------------------------------------------------------

>Comment By: Dossy Shiobara (dossy)
Date: 2001-07-20 04:49

Message:
Logged In: YES
user_id=21885

I was able to duplicate this on a x86 Linux 2.4.6 with
glibc 2.2.3 and pthread 0.9.  Here's the relevant portion
of the gdb session:

[-main-][Fri Jul 20 07:44:37 2001]: threads joined
[New Thread 29003]
[New Thread 29004]
[Switching to Thread 29003]

Program received signal SIGSEGV, Segmentation fault.
0x804ff3b in GetKey () at pthread.cpp:943
943     }

(gdb) bt
#0  0x804ff3b in GetKey () at pthread.cpp:943
#1  0x804fc67 in NsGetThread () at pthread.cpp:762
#2  0x804c858 in Ns_CheckStack () at thread.c:300
#3  0x804a994 in RecursiveStackCheck (n=0) at test.c:119
#4  0x804a9a6 in RecursiveStackCheck (n=0) at test.c:120
#5  0x804a9a6 in RecursiveStackCheck (n=0) at test.c:120
...
#312 0x804a9a6 in RecursiveStackCheck (n=0) at test.c:120
#313 0x804a9a6 in RecursiveStackCheck (n=0) at test.c:120
#314 0x804a9dd in CheckStackThread (arg=0x0) at test.c:131
#315 0x804c7ce in NsThreadMain (arg=0x8052d70) at
thread.c:228
#316 0x40025fc5 in pthread_start_thread ()
from /lib/libpthread.so.0

Since I'm next to clueless with regard to the Linux pthread
implementation, perhaps someone else could shed some light
on what the problem is ...

-- Dossy


----------------------------------------------------------------------

Comment By: laurent riesterer (riesterer)
Date: 2001-07-19 22:47

Message:
Logged In: YES
user_id=273064

My platform is a Linux 2.4.3, using Pentium III 1 Ghz
processor with 512 Mo RAM.


----------------------------------------------------------------------

Comment By: Kris Rehberg (kriston)
Date: 2001-07-19 07:43

Message:
Logged In: YES
user_id=16427

Sounds like a problem in pthread.  We need to know what the
platform is as well.


----------------------------------------------------------------------

Comment By: laurent riesterer (riesterer)
Date: 2001-07-18 03:51

Message:
Logged In: YES
user_id=273064

After linking with a static libpthread 0.8, everything
works fine. The problem is probably in the libpthread ...

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=442334&group_id=3152

Reply via email to