matrix-org / matrix-org/matrix-bifrost
Running test.js results in segmentation fault
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 187
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When trying to run the test.js code, it doesn't create the eventloop for setInterval and after functions returned the results, console gives "zsh: segmentation fault". Even without setInterval still gives me the same error afterwards.
To Reproduce
Steps to reproduce the behavior:
- Build the module using the command "node-gyp configure & build"
- importing the module from lib folder
- running the code with "node test.js"
- See error
Expected behavior
Eventloop starting and setInterval function working and not resulting in segmentation fault
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Artix Linux (openrc)
- Browser Brave
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by building with "node-gyp configure & build" and running "node test.js". Start with test.js and the imported module in the lib folder, then verify that the event loop and setInterval run without producing a segmentation fault.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100