mayingzhen / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

Crash when using NVTT from multiple threads #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Problem reported at the forums:

http://developer.nvidia.com/forums/index.php?showtopic=2882

Original issue reported on code.google.com by cast...@gmail.com on 21 Mar 2009 at 7:47

GoogleCodeExporter commented 8 years ago
I'll try to write a repro case.

Original comment by cast...@gmail.com on 21 Mar 2009 at 7:47

GoogleCodeExporter commented 8 years ago
Problem found.
The crash occurs because of the reference to the static String s_null
Bunch of addRef/release on this static string occuring in multiple thread 
eventually 
lead to destruction because it is not thread-safe.

Original comment by ewi...@gmail.com on 23 Mar 2009 at 3:01

GoogleCodeExporter commented 8 years ago
Ouch, that's embarrassing. I'll try to fix that asap.

Original comment by cast...@gmail.com on 23 Mar 2009 at 3:53

GoogleCodeExporter commented 8 years ago
This is now fixed in trunk. I'll do some test and integrate it back to the 2.0 
branch.

Original comment by cast...@gmail.com on 12 Apr 2009 at 3:13

GoogleCodeExporter commented 8 years ago
As of changelist r926, this is now integrated in the 2.0 branch and will be 
part of
the upcoming 2.0.7 release.

Original comment by cast...@gmail.com on 13 Jun 2009 at 1:57