Opened 7 years ago
Closed 7 years ago
#59437 closed defect (invalid)
jq: Segmentation fault when using any regex feature
| Reported by: | amake (Aaron Madlon-Kay) | Owned by: | raimue (Rainer Müller) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | jq |
Description
Using any regex feature (https://stedolan.github.io/jq/manual/v1.6/#RegularexpressionsPCRE) seems to trigger a segmentation fault:
% echo '"foo"' | jq 'test("foo")' zsh: done echo '"foo"' | zsh: segmentation fault jq 'test("foo")'
Other uses work fine.
I did try building with oniguruma6 instead of oniguruma5 but it didn't help.
macOS 10.15 19A583 Xcode 11.1 11A1027
Change History (3)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
| Cc: | raimue removed |
|---|---|
| Owner: | set to raimue |
| Status: | new → assigned |
comment:2 Changed 7 years ago by amake (Aaron Madlon-Kay)
comment:3 Changed 7 years ago by amake (Aaron Madlon-Kay)
| Resolution: | → invalid |
|---|---|
| Status: | assigned → closed |
After reinstalling again the problem has gone away.
Note: See
TracTickets for help on using
tickets.

Actually I can't reproduce on a different machine, so it might be a problem with just my other machine.