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

Inline allocated non-bits type fails on 1.1.2 #23

Open
tomyun opened this issue Mar 25, 2021 · 2 comments
Open

Inline allocated non-bits type fails on 1.1.2 #23

tomyun opened this issue Mar 25, 2021 · 2 comments

Comments

@tomyun
Copy link

tomyun commented Mar 25, 2021

This is MWE for #17.

julia> using FunctionWrappers, TimeZones

julia> f = () -> ZonedDateTime(2021, tz"UTC")
#1 (generic function with 1 method)

julia> f()
2021-01-01T00:00:00+00:00

julia> FunctionWrappers.FunctionWrapper{ZonedDateTime,Tuple{}}(f)
Assertion failed: (SRet), function LocalScan, file /Users/julia/buildbot/worker/package_macos64/build/src/llvm-late-gc-lowering.cpp, line 1454.

signal (6): Abort trap: 6
in expression starting at REPL[5]:1
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 3020216 (Pool: 3017957; Big: 2259); GC: 4
fish: Job 1, 'julia --project' terminated by signal SIGABRT (Abort)

It used to work fine with 1.1.1 before #15 got merged. Confirmed crash happens on both Julia 1.5 (linux) and 1.6 (mac).

@yuyichao
Copy link
Owner

Most likely base bug.

@tomyun tomyun changed the title ZonedDateTime fails on 1.1.2 Inline allocated non-bits type fails on 1.1.2 Apr 15, 2021
@pablosanjose
Copy link

Cannot reproduce in 1.9 beta 2 under arm-macos. Perhaps this could be closed?

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