![](https://secure.gravatar.com/avatar/abed124f9a8d5d3f75d58a7d6c2ac329.jpg?s=120&d=mm&r=g)
18 Oct
2012
18 Oct
'12
2:21 a.m.
Ok, let me look into this a bit tomorrow. The issue is free() which gets an invalid address from a shared_ptr for root_data in iotbx_pdb when it is time for the whole pdb hierarchy to disappear. My main issue is I am not sure how to go about debugging shared_ptrs nor what architecture dependent flags or other voodoo (if any) is specified by -pthread. I can do the usual thing of printing out addresses and comparing them by eye, but I was hoping that there might be a better and more efficient method of debugging shared_ptrs. --Jeff