Bug #991

gmtconvert -A (paste) SEGV if some of the input tables has headers while others don't.

Added by Paul 8 months ago. Updated 8 months ago.

Status:ClosedStart date:2016-10-29
Priority:NormalDue date:
Assignee:Paul% Done:

100%

Category:-
Target version:Candidate for next bugfix release
Affected version:5.x-svn Platform:

Description

head -2 drift_SA.txt off.txt
==> drift_SA.txt <==
#lon    lat    time
197.26    -14.7969    2

==> off.txt <==
2    -0.2
4    -0.4
gmt convert -A drift_SA.txt off.txt
ERROR: Caught signal number 11 (Segmentation fault) at
0   libXgmt.5.dylib                     0x00000001058bf193 gmt_alloc_dataset + 883

Problem is that there are no checks if some headers are missing (and thus should be skipped).

History

#1 Updated by Paul 8 months ago

  • Status changed from New to Resolved
  • Assignee set to Paul
  • % Done changed from 0 to 100

Fixed in r17273.

#2 Updated by Paul 8 months ago

  • Status changed from Resolved to Closed

Closed as fixed.

Also available in: Atom PDF