> I tried to run your example, t1.cs, with MS Visual Studio 2008, and
> encountered an error. Stripping the code off I detected that the error
> happens in the destructor.

I found what causes the bug. Looks like a system call to DllMain due
to the reason DLL_THREAD_DETACH or DLL_PROCESS_DETACH (in which case
glpk frees its environment and deallocates all memory blocks) *precedes*
a call to the destructor.

Probably a windows-specific function DllMain must be removed from the
glpk codebase.



_______________________________________________
Bug-glpk mailing list
Bug-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to