Skip to content

segmentation fault on 64-bit os with height above terrain equal to 0m #2

Description

@Rabijns

When using splat! on a 64-bit Linux version, I sometimes get a segmentation error. The error only seems to occur when I place the receiver at 0m above terrain. The same receiver placed at 0.1m does work perfectly.
The segmentation fault error is given just after the tool prints:
Site analysis report written to: "tx-site_report.txt"

example files

rx.qth
rx
51.7411627351
-1.1538047412
0m

tx.lrp
15.000 ; Earth Dielectric Constant (Relative permittivity) (15 = average ground)
0.005 ; Earth Conductivity (Siemens per meter) (0.005 = average ground)
301 ; Atmospheric Bending Constant (N-units) (301 typical uk value)
1275 ; Frequency in MHz
6 ; Radio Climate (6 = Maritime Temperate, over land (UK and west coasts of US & EU))
1 ; Polarization (0 = Horizontal, 1 = Vertical)
0.50 ; Fraction of situations (50% of locations)
0.90 ; Fraction of time (90% of the time)

tx.qth
tx
50.9
-4.6
26m

command used
splat -t /home/test/tx.qth -r /home/test/rx.qth -d /home/test/terrain -m 1.333 -metric -gpsav -f 1275 -H /home/test/output/link.png

software version
issues occurs ubuntu 14.04 LTS 64 bit with splat 1.4.0 and also on mint 15.2 64 bit with splat 1.4.0. It doe not happen on my mint 32 bit system (also with splat! 1.4.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions