rohit-px2/nvui

terminate called after throwing an instance of 'msgpack::v1::insufficient_bytes'

Closed this issue · 6 comments

Hi I am suddenly having a strange issue whenever I try open nvui

terminate called after throwing an instance of 'msgpack::v1::insufficient_bytes'
  what():  insufficient bytes
fish: Job 2, 'nvui' terminated by signal SIGABRT (Abort)

The strange thing is, this only happens if I dont load a session on startup (actually the loading is done by a plugin). So in a new directory, nvui can't launch, but if I launch nvim and then save a session, then I can open by nvui

Actually It might not be the session but it might be the lack of any buffers open? because nvui somefile works. Although I should have a dashboard open so I don't know

#42 should fix this.

terminate called after throwing an instance of 'msgpack::v1::type_error'
  what():  std::bad_cast

I still get this error on the latest release, in a very similar situation

Actually know that basically always happens, whether I open a file/have a session etc

Could you try running nvui with --ext_hlstate=false and see if that works? I think your problem may be similar to #49

@IndianBoy42 release v0.1.3 should fix this issue, let me know if you are still having issues