Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in handling EOF in regex parsing #2096

Closed
davidnich opened this issue Aug 28, 2017 · 1 comment
Closed

error in handling EOF in regex parsing #2096

davidnich opened this issue Aug 28, 2017 · 1 comment
Assignees
Milestone

Comments

@davidnich
Copy link
Contributor

davidnich commented Aug 28, 2017

david@quasar:~/src/qore/git/qore/examples/test/qlib/Swagger$ qore -ne '"name=\"hi\"" =~ x/name="([^"]+)"/'
Segmentation fault: 11

on Linux there is no crash:

david@el7:~/src/qore/git/module-xml$ qore -ne '"name=\"hi\"" =~ x/name="([^"]+)"/'
unhandled QORE System exception thrown in TID 1 at 2017-08-28 07:54:29.374433 Mon +02:00 (CEST) at <command-line>:1
PARSE-EXCEPTION: syntax error, unexpected $end

invisible for now as it may be an environment issue

@davidnich davidnich added this to the 0.8.13 milestone Aug 28, 2017
@davidnich davidnich self-assigned this Aug 28, 2017
@davidnich davidnich modified the milestones: 0.8.13, 0.8.13.1 Sep 30, 2017
@davidnich davidnich modified the milestones: 0.8.13.1, 0.8.13.2 Dec 18, 2017
@davidnich davidnich modified the milestones: 0.8.13.2, 0.8.13.3 Jan 24, 2018
@davidnich davidnich modified the milestones: 0.8.13.3, 0.8.13.4 Apr 3, 2018
@davidnich davidnich modified the milestones: 0.8.13.4, 0.8.13.5 Apr 23, 2018
@davidnich davidnich modified the milestones: 0.8.13.5, 0.8.13.6 May 24, 2018
@davidnich davidnich modified the milestones: 0.8.13.6, 0.9 Jul 11, 2018
@davidnich davidnich modified the milestones: 0.9, 0.9.1 Feb 1, 2019
@davidnich
Copy link
Contributor Author

also crashes on Linux now:

dnichols@manatee:~$ qore -ne '"name=\"hi\"" =~ x/name="([^"]+)"/'
Segmentation fault (core dumped)

@davidnich davidnich changed the title unexplained segmentation fault in Qore on Darwin unexplained segmentation fault in the parser Mar 7, 2019
@davidnich davidnich modified the milestones: 0.9.1, 0.9.2 Mar 7, 2019
@davidnich davidnich modified the milestones: 0.9.2, 0.9.3 Mar 22, 2019
@davidnich davidnich modified the milestones: 0.9.3, 0.9.4 Sep 7, 2019
@davidnich davidnich removed this from the 0.9.4 milestone Feb 3, 2020
@davidnich davidnich added this to the 0.9.5 milestone Feb 3, 2020
@davidnich davidnich removed this from the 0.9.5 milestone Sep 25, 2020
davidnich added a commit that referenced this issue Jan 14, 2022
refs #4379 fixed an error in the last commit related to this fix
@davidnich davidnich added this to To do in Qore Development via automation Jan 14, 2022
@davidnich davidnich added this to the 1.1 milestone Jan 14, 2022
davidnich added a commit that referenced this issue Jan 14, 2022
refs #4379 fixed an error in the last commit related to this fix
davidnich added a commit that referenced this issue Jan 14, 2022
* refs #2096 fixed a crash in the scanner handling EOF in regexes
refs #4379 fixed an error in the last commit related to this fix

* refs #4387 fixed another race condition in the test
@davidnich davidnich changed the title unexplained segmentation fault in the parser error in handling EOF in regex parsing Jan 14, 2022
Qore Development automation moved this from To do to Done Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant