# ParaView segfault

**URL:** https://discourse.paraview.org/t/paraview-segfault/14135
**Category:** ParaView Support
**Created:** [March 12, 2024, 10:49am UTC](https://discourse.paraview.org/t/paraview-segfault/14135 "2024-03-12T10:49:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Jungpin](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@Jungpin](https://discourse.paraview.org/u/Jungpin)
#### Post date: [March 12, 2024, 10:49am UTC](https://discourse.paraview.org/t/paraview-segfault/14135/1 "2024-03-12T10:49:28Z")

</div>

Hi, Sir / Madam;  
I had a “segmentation fault” when running paraview after installed the latest openfoam11 in ubuntu 22.04 environment. But I am not sure whether my situation are the same as aforesaid ones or not. Here I upload the screen image for this errors messages for reference. I don’t know how to fix these now! Thank you for any advice!

 ![paraviewSegmentaitonFault](https://discourse.paraview.org/uploads/default/original/2X/e/ea2a41d5d6cf651ecd2bed9cb9e236fde8a8308b.jpeg)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 12, 2024, 11:07am UTC](https://discourse.paraview.org/t/paraview-segfault/14135/2 "2024-03-12T11:07:20Z")

</div>

1. This looks like Ubuntu 22.04 under WSL2 on Windows11, is that correct ?
2. You are running paraview from a Windows binary installation folder ? Which command are you actually using ?
3. You mention OpenFOAM, are you using paraFOAM here ?

---

<div class="post-metadata">

### Author: ![Jungpin](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@Jungpin](https://discourse.paraview.org/u/Jungpin)
#### Post date: [March 12, 2024, 1:53pm UTC](https://discourse.paraview.org/t/paraview-segfault/14135/3 "2024-03-12T13:53:06Z")

</div>

thank you for these questions. My answers are:

1. Yes! It is ubuntu 22.04 under WSL2 on Window11 (23H2)  

2. I actually run the paraview under my ubuntu working directory and this is something like the attached picture. I use “paraview” as the command and just ran it and came up with attached different message now.

3. No, I didn’t use “paraFOAM” as the command. I just following openfoam instruction to process the whole installation procedures. It said use “paraview” to run it (attached jpg)

appreciate your reading and responses!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 12, 2024, 1:58pm UTC](https://discourse.paraview.org/t/paraview-segfault/14135/4 "2024-03-12T13:58:23Z")

</div>

> [@Jungpin](#):
>
> Yes! It is ubuntu 22.04 under WSL2 on Window11 (23H2)

Not (officialy) supported, use ParaView windows binary release instead from [https://www.paraview.org/download/](https://www.paraview.org/download/)

> I just following openfoam instruction to process the whole installation procedures

Link ?

---

<div class="post-metadata">

### Author: ![Jungpin](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@Jungpin](https://discourse.paraview.org/u/Jungpin)
#### Post date: [March 12, 2024, 2:03pm UTC](https://discourse.paraview.org/t/paraview-segfault/14135/5 "2024-03-12T14:03:22Z")

</div>

link is here:

> **[OpenFOAM for Windows 10 | OpenFOAM](https://openfoam.org/download/windows/)**
>
> The packaged versions of OpenFOAM for Ubuntu can be installed directly on Windows 10 using the "Windows Subsystem for Linux"

I following the instruction and ran the XLaunch before ran the “paraview” and same error massage now!

 ![paraviewErrorMessage2](https://discourse.paraview.org/uploads/default/original/2X/c/c3f1f69c72af83b25be71a8c8a8a89f4eadfb2e6.jpeg)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 12, 2024, 2:06pm UTC](https://discourse.paraview.org/t/paraview-segfault/14135/6 "2024-03-12T14:06:36Z")

</div>

> I following the instruction and ran the XLaunch before ran the “paraview” and same error massage now!

Since this tutorial is written by OpenFOAM, I suggest to ask on their forum.

@olesenm : Any ideas why this tutorial suggest to use ParaView under WSL ?

---

<div class="post-metadata">

### Author: ![Jungpin](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@Jungpin](https://discourse.paraview.org/u/Jungpin)
#### Post date: [March 12, 2024, 2:12pm UTC](https://discourse.paraview.org/t/paraview-segfault/14135/7 "2024-03-12T14:12:05Z")

</div>

OK, I will do that. But, thank you anyway!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 12, 2024, 2:17pm UTC](https://discourse.paraview.org/t/paraview-segfault/14135/8 "2024-03-12T14:17:17Z")

</div>

Alternatively, use the Windows Binary Release from [paraview.org/download](http://paraview.org/download)

---

<div class="post-metadata">

### Author: ![Jungpin](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@Jungpin](https://discourse.paraview.org/u/Jungpin)
#### Post date: [March 26, 2024, 6:53am UTC](https://discourse.paraview.org/t/paraview-segfault/14135/9 "2024-03-26T06:53:05Z")

</div>

Hi, I got my problem solved. I can run the Paraview from Ubuntu terminal now (no more segmentation fault). What I did were following procedures : unregistered my original Ubuntu, re-install Ubuntu-20.04 from Powershell and follow the openFOAM installation procedure again. Now, running Paraview from Ubuntu terminal is OK. I leave this message in case someone got the same problem as I did. Hope this can help other’s question!  
Thank you!
