lkwq007 / stablediffusion-infinity

Outpainting with Stable Diffusion on an infinite canvas
Apache License 2.0
3.82k stars 300 forks source link

[Bug] double free or corruption (out); munmap_chunk(): invalid pointer #172

Closed lkwq007 closed 1 year ago

lkwq007 commented 1 year ago

Run with Colab

Compiling and loading c extensions from "/content/stablediffusion-infinity/PyPatchMatch".
rm -rf build/obj libpatchmatch.so
mkdir: created directory 'build/obj'
mkdir: created directory 'build/obj/csrc/'
[dep] csrc/pyinterface.cpp ...
[dep] csrc/masked_image.cpp ...
[dep] csrc/inpaint.cpp ...
[dep] csrc/nnf.cpp ...
[CC] csrc/nnf.cpp ...
[CC] csrc/inpaint.cpp ...
[CC] csrc/masked_image.cpp ...
[CC] csrc/pyinterface.cpp ...
[link] libpatchmatch.so ...
double free or corruption (out)
double free or corruption (out)
munmap_chunk(): invalid pointer

Originally posted by @OMNISCIENTRAFI in https://github.com/lkwq007/stablediffusion-infinity/issues/170#issuecomment-1396833120

lkwq007 commented 1 year ago

It seems that there might be something wrong with taichi on the new Colab runtime. The error can be reproduce by import taichi.

Can be fixed by uninstalling taichi.