Thread overview
[Issue 322] New: Spawning threads which allocate and free memory leads to pause error on collect
Sep 03, 2006
d-bugmail
Sep 03, 2006
d-bugmail
Sep 03, 2006
d-bugmail
Sep 03, 2006
d-bugmail
Oct 27, 2007
d-bugmail
Nov 04, 2007
d-bugmail
September 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=322

           Summary: Spawning threads which allocate and free memory leads to
                    pause error on collect
           Product: D
           Version: unspecified
          Platform: PC
               URL: http://pastebin.ca/159818
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: default_357-line@yahoo.de


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 .


-- 

September 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=322





------- Comment #1 from thomas-dloop@kuehne.cn  2006-09-03 11:12 -------
Created an attachment (id=24)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=24&action=view)
test source from pastebin


-- 

September 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=322





------- Comment #2 from default_357-line@yahoo.de  2006-09-03 11:17 -------
mikolalysenko from #d on freenode made a greatly reduced testcase on http://paste.dprogramming.com/dpokg2hr.php . Same error. Gratitude to him.


-- 

September 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=322





------- Comment #3 from default_357-line@yahoo.de  2006-09-03 11:19 -------
mikolalysenko has reproduced the problem on linux. Seems to be a generic problem with phobos.


-- 

October 27, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=322


braddr@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #4 from braddr@puremagic.com  2007-10-27 11:52 -------
Please see the patch attached to bug 318.  It should fix this bug as well.


-- 

November 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=322


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #5 from bugzilla@digitalmars.com  2007-11-03 21:41 -------
Fixed dmd 1.023 and 2.007


--