[SERVER-42990] Is PCRE 8.43 bug a production concern? Created: 23/Aug/19 Updated: 27/Oct/23 Resolved: 26/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 4.2.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | James P. Harvey | Assignee: | Mathew Robinson (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Dev Tools 2019-09-09 | ||||||||
| Participants: | |||||||||
| Description |
|
Apologies for creating a new bug. This is really a follow-up on "Upgrade PCRE to 8.43" at https://jira.mongodb.org/browse/SERVER-40836 My most recent comment on a different but already closed bug hasn't gotten a response, so I'm not sure if it's just been missed or if like on many bugtrackers that closed bugs never get looked at again. See https://jira.mongodb.org/browse/SERVER-32773 Anyways, does this PCRE 8.43 bug merely cause a mongodb test to fail? Should the failure just be ignored? Or, does this mean that PCRE 8.43 shouldn't be used in production with mongodb? As the packager of mongodb in the Arch Linux AUR repository, need to know what to do here. We've always compiled with "--use-system-pcre" and we're running the latest version of PCRE, 8.43. As half of the "--use-system-X" flags seem to be currently broken and disabled, and with how frequently they change, I'm starting to wonder if any of them are trustworthy, or if we just need to shrug and sigh, and let mongodb pull in all of its dependencies by source. (Currently using system pcre, snappy, yaml, zlib, stemmer, sasl-client, and tcmalloc. system wiredtiger, asio, icu, boost, and surprisingly mongo-c are broken.) |
| Comments |
| Comment by Mathew Robinson (Inactive) [ 26/Aug/19 ] |
|
Hey jamespharvey20, I hope the above answers your question. Since we're waiting for PCRE 8.44 to do an upgrade I'm going to close this as Works as Designed. As the Arch packager I leave it up to you to decide if the one edge case that can cause a crash with PCRE 8.43 is worth using the system library or not. |
| Comment by Mathew Robinson (Inactive) [ 26/Aug/19 ] |
|
If PCRE 8.43 is used without the fix then the (*LF) prefix option in a $regex query would cause the database to throw a DBException. I would consider this a production problem, but I have no way to know if that prefix option is widely used. |
| Comment by Andrew Morrow (Inactive) [ 23/Aug/19 ] |
|
jamespharvey20 - Regarding your mention of a comment on |