Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2020-04-26 02:11:33

toothless
Member
Registered: 2020-04-26
Posts: 11

2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

Hello all,

OS:  Ubuntu 18.04 (physical installation)
GPU: Radeon RX 460

I am having an issue where I get "Segmentation Violations" errors when I try to run Salome-Meca 2019 and enter the mesh module, causing the program to crash.  I see that others have made similar posts, and I have tried some of their solutions (hopefully this compiled list will help others with these problems).  I HAVE gotten Salome-Meca 2018 to work using the libstdc++ trick below.

- Installed all prerequisites

code-aster.org/IMG/pdf/sm2019_ubuntu18_install.pdf

- Install OEM drivers for graphics card (Radeon RX460)

- Run installation using sudo (sudo ./salome_meca-2019.0.3-1-universal.run)

code-aster.org/forum2/viewtopic.php?id=24678

- I have NOT tried the solution suggested by cbourcier to install mesa-salome and point to those libraries, because it looks like Salome's server is down at the minute.  I did try this previously on a virtaul machine, and while it allowed the program to start, I could still not display a mesh in the AsterStudy, and the solver gave an error "It misses the mesh!", which I assume was related.

code-aster.org/forum2/viewtopic.php?id=23568#p60155

-  Comment out libstdc++ files using underscore (~/salome_meca/V2019.0.3_universal/prerequisites/debianForSalome/lib)
***This solution DID work for 2018, which I AM currently running***

code-aster.org/forum2/viewtopic.php?id=23487

- LD_PRELOAD command before ./salome

code-aster.org/forum2/viewtopic.php?id=23547

I have also attached the output from the terminal for 2018 when I do NOT comment out the libstdc++ files.  Maybe that contains some clues?

Any suggestions on what I can investigate next would be greatly appreciated.  Thank you!

-Mike

Last edited by toothless (2020-04-26 05:07:41)


Attachments:
salome_meca_2018.txt, Size: 1.46 KiB, Downloads: 236

Offline

#2 2020-04-27 14:36:59

ing.nicola
Member
Registered: 2017-12-11
Posts: 127

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

I personally believe that the error lies in the installation with sudo.
The libstdc++ must be commented if you are not in Debian.

Try to install without sudo in default directory.
Comments libstdc++  files.
Execute ./salome.
post the output on terminal.
Nothing else.

Last edited by ing.nicola (2020-04-27 14:40:07)

Offline

#3 2020-04-28 07:56:26

toothless
Member
Registered: 2020-04-26
Posts: 11

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

ing.nicola, thanks for the reply.

Here is the terminal output:

runSalome running on mission-control
Searching for a free port for naming service: 2810 - OK
Searching Naming Service  + found in 0.1 seconds
Searching /Kernel/Session in Naming Service  ++++Warning: this type (Study,objref) already exists, it will be ignored.
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
found in 2.0 seconds
Start SALOME, elapsed time :   2.3 seconds
****************************************************************
     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HexoticPLUGIN is improperly configured!
     Module HexoticPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GHS3DPLUGIN is improperly configured!
     Module GHS3DPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module BLSURFPLUGIN is improperly configured!
     Module BLSURFPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************

Offline

#4 2020-04-28 09:52:25

ing.nicola
Member
Registered: 2017-12-11
Posts: 127

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

once salome is opened, try to work. In terminal should appears new informations

Last edited by ing.nicola (2020-04-28 12:00:30)

Offline

#5 2020-07-11 11:00:34

ubaidulla
Member
Registered: 2020-07-10
Posts: 2

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

Even I am getting same error shown. But still I can open the application. Problem is that when I try to compute the mesh, mesh is not generating. On the terminal it displays the error :

Can't compile vertex shader.
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
Please help me to sortout this error.

Thank You
--Ubaidulla


toothless wrote:

ing.nicola, thanks for the reply.

Here is the terminal output:

runSalome running on mission-control
Searching for a free port for naming service: 2810 - OK
Searching Naming Service  + found in 0.1 seconds
Searching /Kernel/Session in Naming Service  ++++Warning: this type (Study,objref) already exists, it will be ignored.
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
found in 2.0 seconds
Start SALOME, elapsed time :   2.3 seconds
****************************************************************
     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module HexoticPLUGIN is improperly configured!
     Module HexoticPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GHS3DPLUGIN is improperly configured!
     Module GHS3DPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module BLSURFPLUGIN is improperly configured!
     Module BLSURFPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************

Offline

#6 2020-07-12 07:53:27

sameer21101970
Member
Registered: 2019-09-06
Posts: 353

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

ww.code-aster.org/spip.php?article1112.

refer page no. 2

follow above procedure to bypass graphic card.

Offline

#7 2020-07-16 06:05:06

ubaidulla
Member
Registered: 2020-07-10
Posts: 2

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

Thank you Sameer..
I followed all steps mentioned in page 2 and now I am not getting GLSL error. I am able to compute mesh without error. But I continue to get the warning mentioned above while launching ./salome. I am running on physical system  (ubuntu 18.04) but it does not have graphics card. Is this the reason to get such warning?

Thank you in advance.

Offline

#8 2020-07-16 07:20:04

sameer21101970
Member
Registered: 2019-09-06
Posts: 353

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

you hv to use ASTK for running solver. Go to Tools, PlugIn, Codeaster, Astk.

as from salome-meca - running solver may crash and takes much more time.

don't worry on your above plugin messages.

Last edited by sameer21101970 (2020-07-16 07:22:02)

Offline

#9 2021-05-22 04:26:57

sihaqqi
Member
Registered: 2018-05-11
Posts: 14

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

Article 1112 is for Salome Meca 2019. Can you please post a similar one for SM2020. I am having graphics card issue. I have tried numerous things but I cannot get SM2020 running.

Offline

#10 2021-05-22 12:56:10

sameer21101970
Member
Registered: 2019-09-06
Posts: 353

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

/home/scaaas/salome20/run.sh
paste attached run.sh at above shown path....
open run.sh...edit path(folder name of salome installation,,, in my computer it is salome20) in line 8 according to your sm2020 installation
then do,
cd  /home/scaaas/salome20
./run.sh
enter

it should work,,,keep active internet connection ON

restart computer open ./salome2 or double click on salome2 and execute in terminal

Last edited by sameer21101970 (2021-05-22 13:02:27)


Attachments:
run.sh, Size: 656 B, Downloads: 65

Offline

#11 2021-05-25 07:39:41

sameer21101970
Member
Registered: 2019-09-06
Posts: 353

Re: 2018 is working, Sigsev Fault on 2019 for Ubuntu 18.04

# Choice of the version to patch
SMECA_VERSION=2020.0.1_universal_universal
XTLIBS_URL=https://www.code-aster.org/FICHIERS/sm2019VM/sm19_ubuntu18_xtlibs.tgz
LAUNCHER_URL=https://www.code-aster.org/FICHIERS/sm2019VM/salome
cd $HOME/salome_meca/appli_V${SMECA_VERSION//-1-univ/_univ}
wget $XTLIBS_URL --no-check-certificate -O xtlibs.tgz
tar xvf xtlibs.tgz
mv salome salome_gpu
wget $LAUNCHER_URL --no-check-certificate -O salome_mesa && chmod ugo+x salome_mesa
ln -s salome_mesa salome2

above command run in new terminal.

Offline