Hi all,
I’ve been following the ITK-Wasm tutorials and would like to start using ITK-Wasm in some browser-based applications I’m building. As a first step, I’m attempting to compile and run the median filtering code from Pipeline Inputs/Outputs tutorial in a web browser. My code for this can be found here: GitHub - kgoettler/itk-wasm-example: ITK-Wasm Example Project.
Unfortunately I’m stuck trying to get the pipeline to complete successfully. The pipeline, when invoked, always crashes due to a segmentation fault. I’ve attached the full stacktrace in an image below (if the full text would be more helpful, please let me know!)
I can see the segfault is occuring at this line in itkWasmImageToImageFilter.hxx but am unsure why it’s happening. I can’t tell where bufferedRegion is supposed to be set and/or what it’s supposed to be set to.
Curious if anyone can point me in the right direction here? If I can get this working, I’d be happy to contribute some documentation or expand the tutorial docs to include this use case.
Thanks in advance!
(I’m running Chrome 129.0.6668.101, building on a MBP w/ M2 Pro)