ITK-SNAP 4.0.0 causes C++ Runtime Library Assertion Error for .nrrd files on Windows 10

103 views
Skip to first unread message

kyle drover

unread,
Sep 5, 2022, 9:08:06 PM9/5/22
to itksnap-users
Hi, 

I've had ITK-SNAP 3.8.0 for a couple of years.

Tried the 4.0.0 version and I'm getting the follwoing error every time I load a NRRD file.  You can spam the ignore button and get through but I don't know what downstream effects this has. 

I've screenshoted my vs build tools and all vs packages. 


itk_SNAp 4.0 error.PNG
vs_Build_tools.PNG
C++_packages.PNG

Paul Yushkevich

unread,
Sep 6, 2022, 5:43:23 AM9/6/22
to itksna...@googlegroups.com
Hi Kyle,

Thanks for reporting, we are trying to work out some bugs in the 4.0 version, so this is helpful! Would you mind trying the build called vtk9qt6 (or the git branch with the same name if you are compiling) and letting me know if the same errors occur?

Thanks!
Paul

--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/itksnap-users/8bf7f370-9afb-4f5e-85eb-6bd2e6c75814n%40googlegroups.com.

kyle drover

unread,
Sep 9, 2022, 1:08:11 AM9/9/22
to itksna...@googlegroups.com
Hi Paul,

The same error occurs with the vtk9qt6 build.

Also does ITK-SNAP make a tempdir every time an image is loaded?

I'm loading files from an external hard drive and it seems to make a .cxx file on the drive but the tk dir is deleted?

Jilei Hao

unread,
Sep 12, 2022, 10:07:12 AM9/12/22
to itksna...@googlegroups.com
Hi Kyle,

Can you provide a sample image for troubleshooting? 

For the temp file, we don't have any logic in the snap code. Not sure if it could be created by the itk reader? 

Best,
Jilei


kyle drover

unread,
Sep 13, 2022, 3:52:52 AM9/13/22
to itksna...@googlegroups.com
Hi Jilei, 

I've shared some  sample images via google drive. 

Kind Regards, 
Kyle

Jilei Hao

unread,
Sep 14, 2022, 10:37:26 PM9/14/22
to itksna...@googlegroups.com
Hi Kyle,

I did a couple of tests and the issue occurs in debug builds. I'll work on a fix.

Are you also building snap in debug mode? Can you try to build it in release mode to see if the issue still exists?

Best,
Jilei

Reply all
Reply to author
Forward
0 new messages