You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run on the code on CUDA 11.2 with GCC 9.4 on Ubuntu OS.
The program can make the right reconstruction result. In src/examples/testEPIE.cpp, after write the result to disk "phaser->writeResultsToDisk; ", the program delete the pointer of class IPhaser "delete phaser; ", then the program got the "Segmentation fault".
I try to figure its location, but have no idea. Maybe the CUDA version make the problem. Would you please help me to figure it out?
The text was updated successfully, but these errors were encountered:
I found that after the final iteration of conjugate gradient, the code at CudaSmartPtr.cpp line 55 'if (--m_ptr->m_refCount == 0) delete m_ptr; ' causes this Segmentation fault.
I think that the program deletes the 'm_ptr' at the final iteration, then after writing the result to disk ,the program deletes the 'm_ptr' once again at the file 'IPhaser.cpp' line 66 'if(m_diffractions) delete m_diffractions; '. This deleting operation calls the CudaSmartPtr.cpp line 55 of deleting 'm_ptr' .
I run on the code on CUDA 11.2 with GCC 9.4 on Ubuntu OS.
The program can make the right reconstruction result. In src/examples/testEPIE.cpp, after write the result to disk "phaser->writeResultsToDisk; ", the program delete the pointer of class IPhaser "delete phaser; ", then the program got the "Segmentation fault".
I try to figure its location, but have no idea. Maybe the CUDA version make the problem. Would you please help me to figure it out?
The text was updated successfully, but these errors were encountered: