Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault - immutable types #3651

Closed
simonbyrne opened this issue Jul 8, 2013 · 2 comments
Closed

Segmentation fault - immutable types #3651

simonbyrne opened this issue Jul 8, 2013 · 2 comments

Comments

@simonbyrne
Copy link
Contributor

Running this code:
https://gist.github.com/simonbyrne/5952908
gives a Segmentation fault: 11 error. Changing the immutables to regular types works fine (albeit slower than I would have liked).

@mroughan
Copy link

Hi,
I had 0.2.0 installed (from a Ubuntu repo), and came across what I thought was this bug, so I have just upgraded to 0.2.1. However, the bug still seems present. Its fixed if I replace the "immutable" with "type", so it seems fairly similar. Code to cause the problem is at

https://gist.github.com/mroughan/9129878

I'm just learning Julia, so this could be something dumb I am doing?

Matt

@JeffBezanson
Copy link
Member

Nothing you do should cause a segfault!

I'm looking into this; it is actually a different bug.

KristofferC pushed a commit that referenced this issue Oct 17, 2023
Stdlib: Pkg
URL: https://github.com/JuliaLang/Pkg.jl.git
Stdlib branch: master
Julia branch: master
Old commit: b02fb9597
New commit: ffb6edf03
Julia version: 1.11.0-DEV
Pkg version: 1.11.0
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Pkg.jl@b02fb95...ffb6edf

```
$ git log --oneline b02fb9597..ffb6edf03
ffb6edf03 cache pidlock tweaks (#3654)
550eadd7e Pin registry for MetaGraph tests (#3666)
ee39026b8 Remove test that depends on Random being in the sysimg (#3656)
561508db2 CI: Increase the CI timeout. Update actions. Fix double precompilation. (#3665)
7c7ed63b1 Remove change UUID script it should be uncessary on Julia v1.11-dev (#3655)
a8648f7c8 Precompile: Fix algorithmic complexity of cycle detection (#3651)
0e0cf4514 Switch datastructure Vector -> Set for algorithmic complexity (#3652)
894cc3f78 respect if load-time precompile is disabled (#3648)
3ffd1cf73 Make auto GC message use printpkgstyle (#3633)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants