[Issue 3237] Access Violation during reference counting

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 14 22:49:39 PDT 2009


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com>  2009-08-14 22:49:38 PDT ---
The cause of the crash is there is a dependency in the code on the order in
which the gc runs the destructors on collected objects. Dependency on this
order is not valid D code.

Generally, one cannot refer to other objects on the GC heap when inside a
destructor for a GC object.

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

More information about the Digitalmars-d-bugs mailing list