Bug 15593 – ctRegex: "munmap_chunk(): invalid pointer"

Status
RESOLVED
Resolution
DUPLICATE
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-01-22T23:09:00Z
Last change time
2017-03-08T16:25:07Z
Assigned to
nobody
Creator
andrew.benton675

Attachments

IDFilenameSummaryContent-TypeSize
1578app.dExample failing code.text/x-dsrc2555

Comments

Comment #0 by andrew.benton675 — 2016-01-22T23:09:46Z
Created attachment 1578 Example failing code. When using ctRegex, the regex compiles and runs partially, but fails to finish execution at runtime. This may be linked to long lines. The attached code attempts to match (some) urls. This failure occurs both with DMD and LDC.
Comment #1 by k.hara.pg — 2016-02-24T12:28:25Z
There's some questions. 1. This is reported as a regression issue, so which version had been worked well? 2. The attached code contains a unittest block, and main function tests command line arguments or stdin. With the No.1 question, I'm not sure which part would *fail*. Please tell me the full steps to reproduce issue.
Comment #2 by dmitry.olsh — 2017-03-08T16:25:07Z
*** This issue has been marked as a duplicate of issue 17075 ***