Segmentation Fault (Core Dumped)

How to use openEMS. Discussion on examples, tutorials etc

Moderator: thorsten

Post Reply
Lee
Posts: 1
Joined: Sun 18 Oct 2020, 12:52

Segmentation Fault (Core Dumped)

Post by Lee » Tue 20 Oct 2020, 23:12

I've just installed openEMS and I am trying to run some of the examples but keep getting a Segmentation Fault.
I am running Ubuntu 20.04 and Octave 5.2.0 in addition to:
----------------------------------------------------------------------
| openEMS 64bit -- version v0.0.35
| (C) 2010-2016 Thorsten Liebig <thorsten.liebig@gmx.de> GPL license
----------------------------------------------------------------------
Used external libraries:
CSXCAD -- Version: v0.6.2
hdf5 -- Version: 1.10.4
compiled against: HDF5 library version: 1.10.4
tinyxml -- compiled against: 2.6.2
fparser
boost -- compiled against: 1_71
vtk -- Version: 7.1.1
compiled against: 7.1.1


When I try to run Parallel_Plate_Waveguide.m (~/opt/openEMS/share/openEMS/matlab/Tutorials), everything runs ok up to the line:

RunOpenEMS('tmp','tmp.xml','');

This is where I get a Segmentation Fault along with the following kernel dump:

[12369.266859] openEMS[42979]: segfault at 16 ip 0000000000000016 sp 00007ffca3f4ab40 error 14 in openEMS[5565a3731000+2000]
[12369.266864] Code: Bad RIP value.
[12408.853436] openEMS[43022]: segfault at 16 ip 0000000000000016 sp 00007ffd0156fae0 error 14 in openEMS[55a2663de000+2000]
[12408.853440] Code: Bad RIP value.
[12601.718866] openEMS[43163]: segfault at 16 ip 0000000000000016 sp 00007fffff2fe6c0 error 14 in openEMS[56015c44c000+2000]
[12601.718870] Code: Bad RIP value.
[12671.748457] openEMS[43211]: segfault at 16 ip 0000000000000016 sp 00007fffd0efe1d0 error 14 in openEMS[55b720357000+2000]
[12671.748468] Code: Bad RIP value.


I also get Segmentation Fault on any other Tutorial or examples.

Any help is appreciated.
Thanks
Lee

thorsten
Posts: 1438
Joined: Mon 27 Jun 2011, 12:26

Re: Segmentation Fault (Core Dumped)

Post by thorsten » Wed 21 Oct 2020, 08:19

Please install the latest version from github.

br
Thorsten

Post Reply