Hello,
I have a problem with a simple geometry I have created for a detector. The fact is root crash when I try to delete the TGeoManager object or I try re-create it. Due to I have this geometry integrated in a Qt Application my program crash every time I try to load a new event.
The same problem can be seen if you run the little program which I attach in this post. It crash when you run the program the second time or simply do geom->Delete().
I have compared this piece of code with one which works (rootgeom.c) I can’t see any important difference. What is happening here?
[quote=“delaossa”]Hello,
I have a problem with a simple geometry I have created for a detector. The fact is root crash when I try to delete the TGeoManager object or I try re-create it. Due to I have this geometry integrated in a Qt Application my program crash every time I try to load a new event.
The same problem can be seen if you run the little program which I attach in this post. It crash when you run the program the second time or simply do geom->Delete().
I have compared this piece of code with one which works (rootgeom.c) I can’t see any important difference. What is happening here?