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

Invalid precompile statement referencing GenericMemory #52175

Closed
NHDaly opened this issue Nov 15, 2023 · 4 comments
Closed

Invalid precompile statement referencing GenericMemory #52175

NHDaly opened this issue Nov 15, 2023 · 4 comments
Labels
bug Indicates an unexpected problem or unintended behavior compiler:precompilation Precompilation of modules display and printing Aesthetics and correctness of printed representations of objects.

Comments

@NHDaly
Copy link
Member

NHDaly commented Nov 15, 2023

I'm not sure which function this was actually coming from, but our service in production running with --trace-compile produces the following two precompile statements referencing "GenericMemory," which is of course undefined in Main:

precompile(Tuple{Type{GenericMemory{:not_atomic, String, Core.AddrSpace{Core}(0x00)}}, UndefInitializer, Int64})
precompile(Tuple{Base.var"#119#120"{Array{Type, 1}, Int64, Int64, Int64, Int64, GenericMemory{:not_atomic, Type, Core.AddrSpace{Core}(0x00)}}})

Any ideas what this is coming from? We're running Julia v1.9.2. I don't see any reference to GenericMemory in the julia codebase on either v1.9 or master.

Related:

@NHDaly NHDaly added bug Indicates an unexpected problem or unintended behavior compiler:precompilation Precompilation of modules display and printing Aesthetics and correctness of printed representations of objects. labels Nov 15, 2023
@NHDaly
Copy link
Member Author

NHDaly commented Nov 15, 2023

Could it be related to this somehow?:

Generic = 0,

@oscardssmith
Copy link
Member

GenericMemory is from #51319 It's not in 1.9 but it is in master.

@vchuravy
Copy link
Member

Yeah double check your versioninfo that looks like nightly xD

@NHDaly
Copy link
Member Author

NHDaly commented Dec 30, 2023

Closing this as can't reproduce; maybe i was doing something wrong in my setup - i don't remember now. Thanks all

@NHDaly NHDaly closed this as completed Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior compiler:precompilation Precompilation of modules display and printing Aesthetics and correctness of printed representations of objects.
Projects
None yet
Development

No branches or pull requests

3 participants