Bug #1133

psbasemap -T crashes

Added by Andreas 4 months ago. Updated 3 months ago.

Status:ClosedStart date:2017-07-16
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected version:5.x-svn Platform:

Description

Giving a psbasemap command with missing -T arguments causes crash (first line is command given):

psbasemap -T
ERROR: Caught signal number 11 (Segmentation fault) at
/usr/local/lib/x86_64-linux-gnu/libgmt.so.6(gmt_getrose+0xabd)[0x7f826eef294d]
[0x101a4c44f]
Stack backtrace:
/usr/local/lib/x86_64-linux-gnu/libgmt.so.6(sig_handler+0x261)[0x7f826ee13ec1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f826ebd0330]
/usr/local/lib/x86_64-linux-gnu/libgmt.so.6(gmt_getrose+0xabd)[0x7f826eef294d]
/usr/local/lib/x86_64-linux-gnu/libgmt.so.6(GMT_psbasemap+0x1df)[0x7f826f0aa5af]
/usr/local/lib/x86_64-linux-gnu/libgmt.so.6(GMT_Call_Module+0x12d)[0x7f826ee2631d]
psbasemap(main+0x1d8)[0x400db8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f826e811f45]
psbasemap[0x4015b5]

Both on Windows [Version 5.4.2 (r18455)] and Linux (Version 6.0.0_r18571)

Associated revisions

Revision 18590
Added by Joaquim 4 months ago

Fix issue #1133

History

#1 Updated by Joaquim 4 months ago

  • Status changed from New to Resolved

Fixed thanks. Can't understand why our static analyzers + compiler warnings catch some but not all errors of this type.

#2 Updated by Paul 3 months ago

  • Status changed from Resolved to Closed

Closed as fixed.

Also available in: Atom PDF