The above mentioned mapper wants to use the current plane geometry of the slice navigation controller of the renderer. However, depending on how that geometry have been constructed, the SNC may or may not have a plane geometry. In our case, the GetCurrentPlaneGeometry() function returned NULL, and the application crashed.
I suggest to use the GetCurrentWorldGeometry2D function of the renderer, instead. This works fine here. I will send a patch through github.