unlimitedbacon/stl-thumb

stl-thumb uses 100% CPU, hangs forever on Windows 7

Closed this issue · 5 comments

daid commented

As reported on google+, stl-thumb hangs forever on my laptop.

Drivers are up-to-date and normal OpenGL support works.

C:\Program Files\stl-thumb>stl-thumb.exe -vv c:\Models\Box_150.stl c:\Models\Box
_150.png
INFO - STL File: c:\Models\Box_150.stl
INFO - Thumbnail File: c:\Models\Box_150.png

INFO - Bounds:
INFO - X: 0, 150
Y: 0, 150
Z: 0, 150

INFO - Center:  Point3 [75.0, 75.0, 75.0]
INFO - Triangles processed:     12

glium has triggered an OpenGL error during initialization. Please report this er
ror: https://github.com/tomaka/glium/issues
INFO - GL Version:   Version(Gl, 3, 1)
INFO - GL Version:   3.1.0 - Build 9.17.10.3223
INFO - GLSL Version: Version(Gl, 1, 4)
INFO - Vendor:       Intel
INFO - Renderer      Intel(R) HD Graphics 3000
INFO - Free GPU Mem: None

INFO - Scale:   0.013333334

After this output, the process does not exit and uses 100% CPU.

Same here, but with Windows 10.

C:\Program Files\stl-thumb>stl-thumb.exe -vv "c:\Users\Juanjo\Desktop\Piezas 3D\_RaspiB_EnclosureOctopi_Bottom.stl" "c:\Users\Juanjo
\Desktop\Piezas 3D"
INFO - STL File: c:\Users\Juanjo\Desktop\Piezas 3D\_RaspiB_EnclosureOctopi_Bottom.stl
INFO - Thumbnail File: c:\Users\Juanjo\Desktop\Piezas 3D

INFO - Bounds:
INFO - X: 2.1235132, 89.991425
Y: -100, -41.25408
Z: 0, 10.8

INFO - Center:  Point3 [46.05747, -70.627045, 5.4]
INFO - Triangles processed:     1262

glium has triggered an OpenGL error during initialization. Please report this error: https://github.com/tomaka/glium/issues
INFO - GL Version:   Version(Gl, 3, 1)
INFO - GL Version:   3.1.0 - Build 9.17.10.4459
INFO - GLSL Version: Version(Gl, 1, 4)
INFO - Vendor:       Intel
INFO - Renderer      Intel(R) HD Graphics 2000
INFO - Free GPU Mem: None

INFO - Scale:   0.022761438

Thanks guys. It looks like this is an issue with Glium, the OpenGL wrapper library I'm using.

It's not my fault

I'll file a bug upstream.

I just put out a new release with some bug fixes and updated libraries. I don't expect it to fix this problem, but could one of you try it anyways and see if anything different happens? It also reports some additional info, so could you please post the terminal output as before?

@unlimitedbacon No changes here:

C:\Program Files\stl-thumb>stl-thumb.exe -vv "c:\Users\Juanjo\Desktop\Piezas 3D\_RaspiB_EnclosureOctopi_Bottom.stl" "c:\Users\Juanjo
INFO - STL File: c:\Users\Juanjo\Desktop\Piezas 3D\_RaspiB_EnclosureOctopi_Bottom.stl
INFO - Thumbnail File: c:\Users\Juanjo

INFO - Bounds:
INFO - X: 2.1235132, 89.991425
Y: -100, -41.25408
Z: 0, 10.8

INFO - Center:  Point3 [46.05747, -70.627045, 5.4]
INFO - Triangles processed:     1262

glium has triggered an OpenGL error during initialization. Please report this error: https://github.com/tomaka/glium/issues
INFO - GL Version:   Version(Gl, 3, 1)
INFO - GL Version:   3.1.0 - Build 9.17.10.4459
INFO - GLSL Version: Version(Gl, 1, 4)
INFO - Vendor:       Intel
INFO - Renderer      Intel(R) HD Graphics 2000
INFO - Free GPU Mem: None
INFO - Depth Bits:   Some(24)

INFO - Scale:   0.022761438

Closing. Please reopen if this is still happening with v0.5.0.