DLL crash inside removethreadtableentry - where's the source code for that?

Walter Bright newshound2 at digitalmars.com
Sat May 11 00:38:49 PDT 2013


On 5/11/2013 12:10 AM, Trey Brisbane wrote:
> On Sunday, 17 February 2013 at 11:32:02 UTC, Ben Davis wrote:
>> On 17/02/2013 07:56, Rainer Schuetze wrote:
>>> _removethreadtableentry is a function in the DM C runtime library. It
>>> has the bug that it tries to free a data record that has never been
>>> allocated if the thread that loaded the DLL is terminated. This is the
>>> entry at index 1.
>>
>> That's a good start :)
>>
>> Can it be fixed? Who would be able to do it?
>>
>> Or is there some code I can put in my project that will successfully work
>> around the issue?
>>
>> I get the impression the source is available for money. I found this page
>> http://www.digitalmars.com/download/freecompiler.html which mentions complete
>> library source under a link to the shop. I *could* buy it and see if I can fix
>> it myself, but it seems a bit risky.
>>
>> By the way, thanks for Visual D :)
>
> Sorry to necro this thread, but I'm currently experiencing the exact same issue.
> Was this ever fixed? If not, was there a bug filed?

I thought this was already fixed. What's the date/size on your snn.lib? The 
latest is:

02/25/2013  06:19 PM           573,952 snn.lib


More information about the Digitalmars-d mailing list