SIGSEGV on Arch Linux

Discussion about building and installing Elmer
Post Reply
CrocoDuck
Posts: 52
Joined: 12 May 2016, 13:15
Antispam: Yes

SIGSEGV on Arch Linux

Post by CrocoDuck » 25 Apr 2020, 14:55

Hi, I installed Elmer on Arch Linux through this AUR Package. You can see how the software is built by referring to the build() function here. The software builds and install nicely, but it will not run simulations. Every time I try to solve a system, I get this:

Code: Select all

ELMER SOLVER (v 8.4) STARTED AT: 2020/04/25 12:37:40

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7fedb2be8d6f in ???
#1  0x7fedb0df7eb7 in ???
#2  0x7fedb11b960b in ???
#3  0x7fedb330d4f1 in ???
#4  0x7fedb3471660 in ???
#5  0x5606ddf3c40f in ???
#6  0x5606ddf3c13e in ???
#7  0x7fedb2bd4022 in ???
#8  0x5606ddf3c17d in ???
#9  0xffffffffffffffff in ???
Any idea why this could be happening?

jeromiglopez
Posts: 7
Joined: 07 Mar 2020, 02:25
Antispam: Yes
Location: Mayagüez, Puerto Rico

Re: SIGSEGV on Arch Linux

Post by jeromiglopez » 25 Jun 2020, 07:23

I get the same error on Mac. Could be a memory allocation problem. Can you upload your Terminal output on Pastebin and share it here?

kevinarden
Posts: 641
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: SIGSEGV on Arch Linux

Post by kevinarden » 25 Jun 2020, 23:45

I have received this error due to referencing a none existiNg body in the sif file. There is a VM of Elmer on the elmerfem.org site. You could try it in the VM just to make sure the model setup is correct.

kevinarden
Posts: 641
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: SIGSEGV on Arch Linux

Post by kevinarden » 25 Jun 2020, 23:49

You could turn off some of the dwith parameters like mpi etc to see if it makes a difference

CrocoDuck
Posts: 52
Joined: 12 May 2016, 13:15
Antispam: Yes

Re: SIGSEGV on Arch Linux

Post by CrocoDuck » 27 Jun 2020, 12:10

Hi, thanks for your inputs. I can confirm that my studies run on the VM, and that is how I will run them for the a while. I will be back to this thread when I look back into this.

Thanks!

Post Reply