[SERVER-78477] Long aggregation pipelines can segfault SBE Created: 27/Jun/23 Updated: 29/Oct/23 Resolved: 02/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matt Boros | Assignee: | Justin Seyster |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | QE 2023-07-10, QE 2023-07-24, QE 2023-08-07 | ||||||||
| Participants: | |||||||||
| Description |
|
The query below segfaults in SBE stagebuilders. This appears to be a stack overflow. Note that the pipeline length limit is 1000 for non-debug builds. The minimum pipeline length that reproduces this crash appears to be 400 stages. I ran into this with optimizations on and debug off. |
| Comments |
| Comment by Githook User [ 02/Aug/23 ] |
|
Author: {'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}Message: There is also some refactoring included to reduce stack sizes so that |
| Comment by Githook User [ 01/Aug/23 ] |
|
Author: {'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}Message: There is also some refactoring included to reduce stack sizes so that |