[SERVER-19248] Segmentation fault running query with $where Created: 01/Jul/15 Updated: 11/Aug/15 Resolved: 11/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | 2.6.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jon Gorrono | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Running example from docs
produced instant segfault:
Server configs are defaults except:
|
| Comments |
| Comment by Sam Kleinman (Inactive) [ 11/Aug/15 ] |
|
I'm going to go ahead and close this ticket, as there are already other reports of the underlying issue. See the Regards, |
| Comment by Jon Gorrono [ 11/Aug/15 ] |
|
Yes, turning off enforcement avoided the segfault. Do you have pre-baked policies I can use? |
| Comment by Jon Gorrono [ 10/Aug/15 ] |
|
Sorry about the delay. I completely missed the email for the initial reply comment. I will look at the ticket referenced and try to confirm the relationship later tonight or in the morning. |
| Comment by Ramon Fernandez Marina [ 03/Aug/15 ] |
|
ccjon, we haven't heard back from you for some time. If this is still an issue for you, can you please reply with the information about SELinux requested by Sam above? Thanks, |
| Comment by Sam Kleinman (Inactive) [ 02/Jul/15 ] |
|
Hello, Thanks for this report. Sometimes errors like this happening during javascript execution are caused by an interaction with the SELinux configuration. See Is SE Linux configured on this machine? Can you reproduce with SELinux disabled? Regards, |
| Comment by Jon Gorrono [ 01/Jul/15 ] |
|
same behavior in 2.7.8 on the same machine |
| Comment by Jon Gorrono [ 01/Jul/15 ] |
|
Forgot to add that this is lastest package version from Fedora 21: |