I've
fixed a 20 days ago an error like yours when switching to localization mode. You can update rtabmap to
latest version by building it from source instead of using the binaries. Note that 0.10.4 (including latest fixes and features) will be soon available as binaries in the next Indigo/Jade release.
cheers