On Sat, Oct 29, 2022 at 01:51:51PM +0200, Thomas Viehmann wrote:
> Hi,
> 
> so the crash reported here seems to be due to the font not being initialized
> (it is passed as NULL in the traceback).
> If we initialize a frame before calling the CalcTextsize, this works - see
> the attached.
> It still prints errors "could not initialize glew" and the plater tab does
> not render, but I guess this is a first step towards something.
> 
> Best regards
> 
> Thomas

Thanks for the patch. Looks like it works, so I'll apply it -- it's
still better than segfaulting.

The plater tab rendering issue seems to be more of a glew/wxwidgets3.2
compilation config mismatch issue (glew is compiled without EGL support
and wxwidgets3.2 is compiled with EGL support, so glewInit() returns
GLEW_ERROR_NO_GLX_DISPLAY), see [1]. It'll be
fixed in the wxwidgets3.2 package itself and then prusa-slicer will be
rebuilt against it. Hopefully that ends our trouble with wxwidgets3.2.


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024147

-- 
Kind regards,
Loong Jin

Attachment: signature.asc
Description: PGP signature

Reply via email to