seniorjoinu/ic-stable-memory

Unable to reinit StableMemoryAllocator - Get this error when upgrading wasm

Closed this issue · 1 comments

image

Here's a minimal reproduction
https://github.com/saikatdas0790/stable_memory_allocator_bug_illustration

Please note I'm on stable rust release. Not sure if that's related

image

Steps to Reproduce error

  • dfx start
  • dfx deploy --no-wallet
  • Make a minimal change
  • dfx deploy --no-wallet

Let me know if there are any other details I can provide

Hey.

Great bug report! Thanks.
I've made the fix and released a new v0.2.2 version. I also checked this new version against your repo - it works.
Please, give it another try and let me know if everything is okay. Feel free to reopen this issue or start a new one!

Thanks again!