Subj : Re: AppCore updates and performance enhancements added... To : comp.programming.threads From : Chris Thomasson Date : Tue May 10 2005 03:32 pm I found and fixed the last bug in AppCore wrt SMR and the node cache. AppCore should now be basically bug free, I am currently verifying that. You should probably re-download. Again, the bug is very subtle hard to trip. It had to do with the way the lock-free single-producer/consumer queue allocated its very first dummy node. The broken code simple did not set the fp_dtor member of the dummy node to null. Stupid me!!! Here is how you would reproduce it: 1. create a new queue object 2. enqueue/dequeue an object with Thread A 3. pop the bad node from the cache in Thread A 4. collect the bad node into Thread A SMR cache 5. join and/or scan Thread A SMR cache 6. SMR scanner can sometimes crash when it iterates over the bad node by calling a corrupted deferred callback function pointer, if it does goto step 7 7. BOOM! :(... Sorry! .