[Issue 3237] Access Violation during reference counting

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3237

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|2.032   |D2

--


[Issue 3237] Access Violation during reference counting

2009-08-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3237





--- Comment #1 from Bartosz Milewski bart...@relisoft.com  2009-08-08 
12:31:46 PDT ---
Created an attachment (id=439)
 -- (http://d.puremagic.com/issues/attachment.cgi?id=439)
test case for access violatin while reference counting

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


[Issue 3237] Access Violation during reference counting

2009-08-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3237


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com




--- Comment #2 from Walter Bright bugzi...@digitalmars.com  2009-08-08 
13:23:38 PDT ---
compile with -gc and run under windbg, the windows debugger.

Shows that it crashes because _cnt is null in the first line of release().

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


[Issue 3237] Access Violation during reference counting

2009-08-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3237





--- Comment #4 from Bartosz Milewski bart...@relisoft.com  2009-08-08 
15:20:08 PDT ---
I simplified the example. It turns out that the destructor of a class object
Counter is called. I have no idea what mechanism may call the destructor other
than GC. A new file attached.

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