322 – Spawning threads which allocate and free memory leads to pause error on collect

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 322 - Spawning threads which allocate and free memory leads to pause error on collect
Summary: Spawning threads which allocate and free memory leads to pause error on collect
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Windows
: P2 major
Assignee: Walter Bright
URL: http://pastebin.ca/159818
Keywords:
Depends on: 318
Blocks:
Show dependency tree / graph
Reported: 2006年09月03日 10:53 UTC by FeepingCreature
Modified: 2015年06月09日 05:14 UTC (History)
0 users

See Also:


Attachments
test source from pastebin (443 bytes, text/plain)
2006年09月03日 11:12 UTC, Thomas Kühne
Details
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description FeepingCreature 2006年09月03日 10:53:39 UTC
When running the testcase pasted in the URL on win32 (tested with gdc and dmd's current versions), an Error: Thread error: Cannot pause gets thrown. Changing and rebuilding phobos to throw a SIGTRAP on an error in pause() yields the following stack trace: http://pastebin.ca/159838 .
Comment 1 Thomas Kühne 2006年09月03日 11:12:48 UTC
Created attachment 24 [details] 
test source from pastebin
Comment 2 FeepingCreature 2006年09月03日 11:17:50 UTC
mikolalysenko from #d on freenode made a greatly reduced testcase on http://paste.dprogramming.com/dpokg2hr.php . Same error. Gratitude to him.
Comment 3 FeepingCreature 2006年09月03日 11:19:07 UTC
mikolalysenko has reproduced the problem on linux. Seems to be a generic problem with phobos.
Comment 4 Brad Roberts 2007年10月27日 11:52:57 UTC
Please see the patch attached to bug 318. It should fix this bug as well.
Comment 5 Walter Bright 2007年11月03日 21:41:25 UTC
Fixed dmd 1.023 and 2.007


AltStyle によって変換されたページ (->オリジナル) /