View Issue Details

IDProjectCategoryView StatusLast Update
0004105OpenFOAMBugpublic2024-06-30 13:03
ReporterChronoNinja Assigned Tochris  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformLinux on Window 11 WSL2OSUbuntuOS Version22.04
Product Version11 
Summary0004105: paraFoam
DescriptionWhen launching paraFoam for pitzDailySteady test case, the visualization window does not open, and the following error message appears:

Loguru caught a signal: SIGSEGV
Stack trace:
53 0x5578559ff3f5 paraview(+0xd3f5) [0x5578559ff3f5]
52 0x7f0b33412e40 __libc_start_main + 128
51 0x7f0b33412d90 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f0b33412d90]
50 0x5578559fd623 paraview(+0xb623) [0x5578559fd623]
49 0x7f0b33291ea8 pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow*, QObject*) + 2312
48 0x7f0b33200e32 pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject*) + 322
47 0x7f0b331ff8c7 pqAlwaysConnectedBehavior::serverCheck() + 199
46 0x7f0b325d9726 pqObjectBuilder::createServer(pqServerResource const&, int, vtkNetworkAccessManager::ConnectionResult&) + 342
45 0x7f0b316f0416 vtkSMSession::ConnectToSelf() + 38
44 0x7f0b314b696b vtkProcessModule::RegisterSession(vtkSession*) + 603
43 0x7f0b3110aa3f vtkObject::InvokeEvent(unsigned long, void*) + 991
42 0x7f0b3105050d vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) + 29
41 0x7f0b31801754 /usr/lib/x86_64-linux-gnu/libvtkGUISupportQt-pv5.10.so.1(+0x37754) [0x7f0b31801754]
40 0x7f0b31b897c8 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2f17c8) [0x7f0b31b897c8]
39 0x7f0b325664f6 pqServerManagerObserver::connectionCreated(long long) + 70
38 0x7f0b31b897c8 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2f17c8) [0x7f0b31b897c8]
37 0x7f0b32616e31 pqServerManagerModel::onConnectionCreated(long long) + 657
36 0x7f0b32564ac6 pqServerManagerModel::serverAdded(pqServer*) + 70
35 0x7f0b31b897c8 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2f17c8) [0x7f0b31b897c8]
34 0x7f0b3325d306 pqDefaultViewBehavior::onServerCreation(pqServer*) + 86
33 0x7f0b3161c609 vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation*, unsigned int) + 377
32 0x7f0b3161c31a vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) + 58
31 0x7f0b2f58ffad vtkPVRenderingCapabilitiesInformation::CopyFromObject(vtkObject*) + 13
30 0x7f0b2f58ff6a vtkPVRenderingCapabilitiesInformation::GetLocalCapabilities() + 266
29 0x7f0b2decc53b vtkOpenGLRenderWindow::SupportsOpenGL() + 283
28 0x7f0b2df5e537 vtkXOpenGLRenderWindow::WindowInitialize() + 23
27 0x7f0b2df6740a vtkXOpenGLRenderWindow::CreateAWindow() + 266
26 0x7f0b2df62361 vtkXOpenGLRenderWindow::GetDesiredVisualInfo() + 241
25 0x7f0b2839a79b glXChooseFBConfig + 91
24 0x7f0ab829a0f8 /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x320f8) [0x7f0ab829a0f8]
23 0x7f0ab8299746 /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x31746) [0x7f0ab8299746]
22 0x7f0ab829dfd0 /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x35fd0) [0x7f0ab829dfd0]
21 0x7f0ab8298143 /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x30143) [0x7f0ab8298143]
20 0x7f0a98d0d266 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xbf266) [0x7f0a98d0d266]
19 0x7f0a98d03ef0 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xb5ef0) [0x7f0a98d03ef0]
18 0x7f0a9935a5e7 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x70c5e7) [0x7f0a9935a5e7]
17 0x7f0a9935a6a6 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x70c6a6) [0x7f0a9935a6a6]
16 0x7f0a98d035f0 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xb55f0) [0x7f0a98d035f0]
15 0x7f0a997fa85a /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xbac85a) [0x7f0a997fa85a]
14 0x7f0a997fa5ac /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xbac5ac) [0x7f0a997fa5ac]
13 0x7f0a997fb9ef /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xbad9ef) [0x7f0a997fb9ef]
12 0x7f0a988b9963 /usr/lib/wsl/lib/libd3d12core.so(+0x318963) [0x7f0a988b9963]
11 0x7f0a98900e40 /usr/lib/wsl/lib/libd3d12core.so(+0x35fe40) [0x7f0a98900e40]
10 0x7f0a988ff489 /usr/lib/wsl/lib/libd3d12core.so(+0x35e489) [0x7f0a988ff489]
9 0x7f0a988fe880 /usr/lib/wsl/lib/libd3d12core.so(+0x35d880) [0x7f0a988fe880]
8 0x7f0a988feb2c /usr/lib/wsl/lib/libd3d12core.so(+0x35db2c) [0x7f0a988feb2c]
7 0x7f0a989cf6a8 /usr/lib/wsl/lib/libd3d12core.so(+0x42e6a8) [0x7f0a989cf6a8]
6 0x7f0a989e3781 /usr/lib/wsl/lib/libd3d12core.so(+0x442781) [0x7f0a989e3781]
5 0x7f0a9b400e17 OpenAdapter12 + 167
4 0x7f0a9b400f15 /usr/lib/wsl/drivers/iigd_dch.inf_amd64_4ae66f8a827f1834/libigd12umd64.so(+0xf15) [0x7f0a9b400f15]
3 0x7f0a88840d21 /usr/lib/wsl/drivers/iigd_dch.inf_amd64_4ae66f8a827f1834/libigd12um64kbl.so(+0x40d21) [0x7f0a88840d21]
2 0x7f0a8886435f /usr/lib/wsl/drivers/iigd_dch.inf_amd64_4ae66f8a827f1834/libigd12um64kbl.so(+0x6435f) [0x7f0a8886435f]
1 0x7f0a88865054 /usr/lib/wsl/drivers/iigd_dch.inf_amd64_4ae66f8a827f1834/libigd12um64kbl.so(+0x65054) [0x7f0a88865054]
0 0x7f0b3342b520 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f0b3342b520]
( 4.622s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault
Steps To Reproducecd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressibleFluid/pitzDailySteady .
cd pitzDailySteady
blockMesh
foamRun
paraFoam
Additional InformationKey infos:
- Ubuntu is installed on WSL2, Windows 11 Home
- WSL2 setup and OpenFOAM 11 installation follows https://openfoam.org/download/windows/
- OpenFOAM 11 initial configuration and "Get Started" follow https://openfoam.org/download/11-ubuntu/#user-configuration
TagsNo tags attached.

Activities

chris

2024-06-28 13:38

manager   ~0013286

In the instructions:
https://openfoam.org/download/windows/

There is a prominent notice:
Note: If graphical applications fail on WSL, report it to Microsoft’s WSL project on GitHub. In particular, if ParaView fails, do not report the issue to its producer Kitware, as they do not officially support ParaView on WSL. For any problems with the instructions below, go to the OpenFOAM Issue Tracking system.

Have you reported the issue to Microsoft’s WSL project on GitHub? If so, could you provide a link to the report.
To help understand the limitations of WSL2, could you please provide details of the graphics hardware on your computer.

ChronoNinja

2024-06-29 14:27

reporter   ~0013287

Hi Chris, thank you for your prompt response. I managed to find a solution by using the following command:

export LIBGL_ALWAYS_SOFTWARE=1

as per the following link: https://github.com/microsoft/WSL/issues/3730

My laptop has Intel UHD Graphics as the integrated graphic processor.

chris

2024-06-30 13:03

manager   ~0013288

That is great news that you have found a workaround which allows you to run ParaView of WSL2 with your graphics hardware.
Many thanks for reporting the workaround, which has been added to a new "Known Issues and Fixes" section of the instructions:
https://openfoam.org/download/windows/#issues

Issue History

Date Modified Username Field Change
2024-06-28 10:53 ChronoNinja New Issue
2024-06-28 13:38 chris Note Added: 0013286
2024-06-29 14:27 ChronoNinja Note Added: 0013287
2024-06-30 13:03 chris Assigned To => chris
2024-06-30 13:03 chris Status new => closed
2024-06-30 13:03 chris Resolution open => fixed
2024-06-30 13:03 chris Note Added: 0013288