[3dprinter-general] Bug#1022234: Cash in Prusa-Slicer

Chow Loong Jin hyperair at debian.org
Fri Dec 9 09:55:02 GMT 2022

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/3dprinter-general/attachments/20221209/d61a029f/attachment.sig>

More information about the 3dprinter-general mailing list