Comments (16)
Interesting. I'll work on reproducing tomorrow after I fix my dev environment.
from starlight.jl.
Unfortunately my dev environment is borked at the moment, so I can't meaningfully try to reproduce this. 🙃
Alas Starlight's error-reporting mechanisms aren't great either. 🙃
There are several different ways to run Starlight's tests that may each yield slightly different results (all are supposed to work correctly tho):
- what you did
] test
inside a REPL sessionusing Pkg; Pkg.test("Starlight")
inside a REPL session- running
runtests.jl
as a script from the command line
I tend to only ever test the REPL methods, so it could be some bug I've just never seen (in which case I'd want to look at the error-reporting issue first), or it could be a bug with the released packages (I sure as heck hope not), or it could be an issue with your environment.
Could you try some of the other methods of running the tests and post your output?
from starlight.jl.
Also, are you seeing either of the windows that are supposed to get created by the tests? I.e. do you have any sense for when the error occurs?
from starlight.jl.
If you checked it out with Pkg.dev
or some equivalent, did you follow up with Pkg.instantiate
?
from starlight.jl.
I just cloned the repository with git, didn't use Pkg.dev
.
I do see the windows appear, as well as the bitmap font sprite get rendered. The debug output in the log might help to pinpoint exactly where it happens?
from starlight.jl.
Unfortunately the debug output shows only a stacktrace of what Pkg
is doing internally, because Starlight's error-reporting sucks. That's why I recommended you try a few others ways of running the tests.
Knowing that the windows appear and the stuff gets rendered is helpful tho.
from starlight.jl.
Aha. I see the words Test Summary
in the extended output. That's informative, it at least gets through all the tests. Probably segfaulting some time during shutdown.
from starlight.jl.
Try running Pkg.instantiate
too.
from starlight.jl.
I won't be able to help much more until I get my dev environment fixed tomorrow. :(
from starlight.jl.
instantiate
doesn't seem to help
The tests do occasionally succeed (anecdotally, this seems to happen more often if I run test
interactively? Might be placebo), and I occasionally get the following error instead of the longer backtrace:
Test Summary: |
signal (11): Segmentation fault
in expression starting at /home/silver/code/Starlight.jl/test/runtests.jl:11
unknown function (ip: 0x7fd5c396def0)
Allocations: 29815218 (Pool: 29805248; Big: 9970); GC: 35
ERROR: Package Starlight errored during testing (received signal: 11)
from starlight.jl.
from starlight.jl.
After a bit more digging it's the propagation of awake!
through whatever systemAwakeOrder()
is. The element that doesn't like waking up is TS()
.
from starlight.jl.
TS
failing is to be expected given #14. These are separate issues.
systemAwakeOrder
is just a...hack-y way to make sure that subsystems awake!
in an order that doesn't cause bugs. It needs to be replaced by a proper subsystem dependency...system...
from starlight.jl.
Actually, similar to #14 there is no ALSA device either, which may be why it's having a fit.
from starlight.jl.
There's no ALSA device because...ugh, I forget what issue it is, but I had to add a workaround to my Julia startup. Need to document it somewhere.
Anyway I don't see a reason that would cause a segfault unless audio was being played, which the tests don't do.
from starlight.jl.
@silversquirl I recently pushed changes that resolved a similar issue for someone else's PR. Can you confirm for me that this is still an issue with the latest development code?
from starlight.jl.
Related Issues (20)
- Better error handling HOT 1
- GitHub Action for unit tests HOT 7
- Resize App windows without calling shutdown! first HOT 1
- Makie backend
- Ray Tracer Challenge
- Bullet examples
- Add logo to README HOT 2
- Cross-reference Telescope docs HOT 2
- Set up Open Collective for spending and donations HOT 1
- Add CONTRIBUTING.md HOT 1
- Improve flexibility of ECS HOT 2
- Abstract types in structs HOT 2
- Utilize Actors.jl? HOT 1
- Lock only once for multiple accesses HOT 3
- Headless mode HOT 3
- Leverage GeometryBasics.jl?
- Release v0.3.0
- Segfault on PkgEval
- Draw shapes other than rect or sprite?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starlight.jl.