I have a piece of code looking like this :
TAxis *axis = 0; if (dynamic_cast(obj)) axis = (dynamic_cast
As it crashes only sometimes, i bet it's a threading issue. Check all references to 'obj':
grep -R 'obj.*=' .