PlasmaPower / phash-image

phash for images
MIT License
55 stars 6 forks source link

Travis debugging [DON'T MERGE] #28

Closed PlasmaPower closed 7 years ago

PlasmaPower commented 7 years ago

Runs node through gdb for segfault debugging. See also #25.

PlasmaPower commented 7 years ago

Aha! The bug only occurs when run through istanbul 0.4.5 (the newest version). I'll try to bisect it now.

PlasmaPower commented 7 years ago

Actually, it would appear that in older versions of istanbul the bug didn't have time to appear (it's reliant on V8's garbage collector). However, to some degree it can still be replicated. Istanbul probably just gives the node process more time/need to clean up (resulting in the failed free).