[GSAS-II] Seeking help tracking down a GSAS-II bug

Toby, Brian H. toby at anl.gov
Wed Jan 21 13:38:42 CST 2026


Hi everyone,

   A bug has been reported by two people where GSAS-II crashes, but this only seems to happen for a small subset of Windows users and only on Windows. Neither Bob nor I can reproduce it. It happens right after reading a powder dataset (in this case, the Garnet tutorial data and its accompanying instrument parameter files; (these files can be found are here: https://urldefense.us/v3/__https://advancedphotonsource.github.io/GSAS-II-tutorials/CWNeutron/data/__;!!G_uCfscf7eWS!ZlA_IAR2ZcbaW1uh-l1SCfrfb5a8L9n7NAkfMKt-yGgrf8OhaFc7Gdba1hYaNV_MQyjgO_Az4sMipj0$ <https://urldefense.us/v3/__https://gcc02.safelinks.protection.outlook.com/?url=https*3A*2F*2Fadvancedphotonsource.github.io*2FGSAS-II-tutorials*2FCWNeutron*2Fdata*2F&data=05*7C02*7Cgsas-ii*40aps.anl.gov*7C96164b3b95344d497f4708de5924af61*7C0cfca18525f749e38ae7704d5326e285*7C0*7C0*7C639046211245591584*7CUnknown*7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ*3D*3D*7C0*7C*7C*7C&sdata=bnUdzpQsx1ImE2epC*2F1fa1n9ETOZI7h*2FdST9D8j4G8g*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!G_uCfscf7eWS!ZlA_IAR2ZcbaW1uh-l1SCfrfb5a8L9n7NAkfMKt-yGgrf8OhaFc7Gdba1hYaNV_MQyjgO_AzSx_2P24$ >), and this has only been reported on Windows, see https://urldefense.us/v3/__https://github.com/AdvancedPhotonSource/GSAS-II/issues/282__;!!G_uCfscf7eWS!ZlA_IAR2ZcbaW1uh-l1SCfrfb5a8L9n7NAkfMKt-yGgrf8OhaFc7Gdba1hYaNV_MQyjgO_Az9S_tkCY$ <https://urldefense.us/v3/__https://gcc02.safelinks.protection.outlook.com/?url=https*3A*2F*2Fgithub.com*2FAdvancedPhotonSource*2FGSAS-II*2Fissues*2F282&data=05*7C02*7Cgsas-ii*40aps.anl.gov*7C96164b3b95344d497f4708de5924af61*7C0cfca18525f749e38ae7704d5326e285*7C0*7C0*7C639046211245617746*7CUnknown*7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ*3D*3D*7C0*7C*7C*7C&sdata=rA4LoA33V*2B6XpBxCqrkAnurv1xCiW*2BxmHezngdKOMNw*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!G_uCfscf7eWS!ZlA_IAR2ZcbaW1uh-l1SCfrfb5a8L9n7NAkfMKt-yGgrf8OhaFc7Gdba1hYaNV_MQyjgO_Az7x6s_Jw$ >. I have a guess as to where the GUI might be crashing, but I am unhappy about making changes without knowing if this will actually address the problem.

   I am seeking help from anyone who is able to reproduce this problem. I would add some changes to the code to document exactly where the crash is occurring, to confirm my hunch is correct and then I would create a test version where I try to address this. If you can help, please contact me directly.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/gsas-ii/attachments/20260121/26bd645c/attachment.html>


More information about the GSAS-II mailing list