Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#109 closed defect (fixed)

libstdc++: infinite recursion during thread exit

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.2
Component: gcc Version: 0.6
Severity: normal Keywords: libstdc++ beginthread tls
Cc:

Description (last modified by bird)

A bug in the __gthread_key_dtor implementation caused it to call itself recusivly until it ran out of stack. The result was bad stack or some kind of access violation. It seems this happend whenever the libstdc++ library was used by a thread other than the primary one.

Change History (6)

comment:1 Changed 18 years ago by bird

Resolution: fixed
Status: newclosed

(In [2699]) Fixes #109. This also fixes a bug in the ghtread_once implementation where any racing thread didn't stop and wait.

comment:2 Changed 18 years ago by bird

Description: modified (diff)

comment:3 Changed 18 years ago by bird

(In [2700]) Applied the #109 fix to the trunk. (Testing references #109.)

comment:4 Changed 18 years ago by bird

Description: modified (diff)

comment:5 Changed 18 years ago by bird

Summary: libstdc++: infinte recursion during thread exitlibstdc++: infinite recursion during thread exit

the man of infinite typos.

Note: See TracTickets for help on using tickets.