camwebb/taxon-tools

Gawk crash with certain queries

camwebb opened this issue · 0 comments

With this line:

accs-5837||Hygrohypnum||smithii|||(Sw. Broth.

matchnames and Gawk crashes before any choice is required.

gawk: /usr/local/bin/matchnames:297: fatal error: internal error
Aborted (core dumped)

Line 297 is:

    if (amatch(X[Bfn, "punct", i], ("^" X[Afn, "punct", code] "$"), FUZZERR))

Suspect a failure in aregex(). The 'correct' line is:

trop-35164389||Hygrohypnum||smithii|||(Sw.) Broth.

First time this crash has occurred.