OCCT Visualizer Widget Crash with Opencascade V7.8.0 In Debian

Hey,

I would like to use the sample https://github.com/gkv311/occt-samples-qopenglwidget with QT Version 5.15.10 and opencascade 7.8.0. It was working as expected with the OCCT Version 7.6.0. While i was upgrading opencascade, I encountered a Segmentation Fault in the Init line of the code below. It works as expected in Windows.

if (!aGlCtx->Init (myIsCoreProfile))
{
Message::SendFail() << "Error: OpenGl_Context is unable to wrap OpenGL context";
QMessageBox::critical (0, "Failure", "OpenGl_Context is unable to wrap OpenGL context");
QApplication::exit (1);
return;
}

System Info:

Linux dev 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
Debian on Virtual Machine.

Thanks in Advance.

Dmitrii Pasukhin's picture

Hi, could you create a new ticket with Crash status? Report Issue - MantisBT (opencascade.org)

Best regards, Dmitrii.

Mehmet Soyer's picture