Opened 19 years ago

Closed 19 years ago

Last modified 19 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 by bird, 19 years ago

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 by bird, 19 years ago

Description: modified (diff)

comment:3 by bird, 19 years ago

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

comment:4 by bird, 19 years ago

Description: modified (diff)

comment:5 by bird, 19 years ago

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.