fivdi / i2c-bus

I2C serial bus access with Node.js
MIT License
348 stars 57 forks source link

Aborting with `malloc(): invalid size (unsorted)` #100

Closed immjs closed 3 years ago

immjs commented 3 years ago

I am getting this error right after running my nodejs project:

malloc(): invalid size (unsorted)
Aborted

Any help is appreciated, thank you in advance!

fivdi commented 3 years ago

Please post a complete but short program that can be used to reproduce this problem.

fivdi commented 3 years ago

i2c-bus itself doesn't call malloc.

immjs commented 3 years ago

Resetting my RPI fixed it. But for the code, I could've just used the lcdi2c library and it would have crashed