Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

thread '<unnamed>' panicked at 'cannot access stderr during shutdown', src\libcore\option.rs:1188:5 #144

Closed
petsuter opened this issue Sep 27, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@petsuter
Copy link

Using texture-synthesis-0.8.0-x86_64-pc-windows-msvc.zip and the provided example images:

C:\texture-synthesis-0.8.0-x86_64-pc-windows-msvc>texture-synthesis.exe --inpaint 1_tile.jpg --out-size 400 --tiling -o out.bmp generate 1.jpg
[00:00:01] ###########################------------- 66%
 stage   6 #############--------------------------- 32%
thread '<unnamed>' panicked at 'cannot access stderr during shutdown', src\libcore\option.rs:1188:5

Sometimes it works, sometimes it doesn't.

@petsuter petsuter added the bug Something isn't working label Sep 27, 2020
@biosmanager
Copy link

I have the same problem, in some cases it finishes but often it crashes with this error.

@lpil
Copy link
Contributor

lpil commented Dec 1, 2020

Thanks for the info @biosmanager . Are you also on Windows?

@biosmanager
Copy link

Thanks for the info @biosmanager . Are you also on Windows?

Yes.

@Jake-Shadle
Copy link
Member

rust-lang/rust#29488 seems like it is likely the same issue you are seeing, but I think there is most likely a different a root cause, as you can see from the output the image generation is not actually finished, so we should not be in shutdown, so having a backtrace would be very helpful to point to what exactly is happening.

If you can install Rust and then clone this repo and do

set RUST_BACKTRACE=1
cd <directory you cloned to>
cargo run --release -- --inpaint imgs/1_tile.jpg --out-size 400 --tiling -o out.bmp generate imgs/1.jpg

that would help us figure out what is going on.

@Solido
Copy link

Solido commented Feb 10, 2021

Generation never fail when running from cargo.
Replaced the provided release with a fresh build and it is OK
So I guess you only need to push a new .exe for windows user
Thanks !

@Jake-Shadle
Copy link
Member

Jake-Shadle commented Mar 26, 2021

This should be resolved now in the 0.8.2 release, but please reopen if this is not the case. 🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants