-
Notifications
You must be signed in to change notification settings - Fork 4
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
Failing test - gc.lua #52
Labels
non-serialised-compilation-error
Errors related to non-sync yk compilation - YKD_SERIALISE_COMPILATION=0
Comments
YkLua - Backtrace:
|
UpdateSUCESS - VersionsYKLUA - Backtrace$ YKD_SERIALISE_COMPILATION=0 gdb -batch -ex r -ex bt -args ../src/lua -e"_U=true" gc.lua
lua: /home/pd/yk/ykllvm/llvm/lib/IR/Value.cpp:1061: void llvm::ValueHandleBase::AddToUseList(): Assertion `Entry && "Value doesn't have any handles?"' failed.
lua: /home/pd/yk/ykllvm/llvm/lib/IR/Value.cpp:1089: void llvm::ValueHandleBase::AddToUseList(): Assertion `I->second && I->first == I->second->getValPtr() && "List invariant broken!"' failed.
lua: /home/pd/yk/ykllvm/llvm/lib/IR/Value.cpp:1061: void llvm::ValueHandleBase::AddToUseList(): Assertion `Entry && "Value doesn't have any handles?"' failed.
Thread 12 "lua" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffdf6fd6c0 (LWP 1658177)]
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007ffff78a9d9f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 0x00007ffff785af32 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff7845472 in __GI_abort () at ./stdlib/abort.c:79
#4 0x00007ffff7845395 in __assert_fail_base (fmt=0x7ffff79b9a90 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff5c76208 "Entry && \"Value doesn't have any handles?\"", file=file@entry=0x7ffff5c74288 "/home/pd/yk/ykllvm/llvm/lib/IR/Value.cpp", line=line@entry=1061, function=function@entry=0x7ffff5c75d48 "void llvm::ValueHandleBase::AddToUseList()") at ./assert/assert.c:92
#5 0x00007ffff7853e32 in __GI___assert_fail (assertion=0x7ffff5c76208 "Entry && \"Value doesn't have any handles?\"", file=0x7ffff5c74288 "/home/pd/yk/ykllvm/llvm/lib/IR/Value.cpp", line=1061, function=0x7ffff5c75d48 "void llvm::ValueHandleBase::AddToUseList()") at ./assert/assert.c:101
#6 0x00007ffff5aeaa58 in llvm::ValueHandleBase::AddToUseList() () from /home/pd/yk/target/debug/ykllvm/lib/libLLVMCore.so.16git
#7 0x00007ffff3a89c3a in llvm::DenseMapBase<llvm::SmallDenseMap<llvm::AssertingVH<llvm::Value>, llvm::detail::DenseSetEmpty, 4u, llvm::DenseMapInfo<llvm::AssertingVH<llvm::Value>, void>, llvm::detail::DenseSetPair<llvm::AssertingVH<llvm::Value> > >, llvm::AssertingVH<llvm::Value>, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::AssertingVH<llvm::Value>, void>, llvm::detail::DenseSetPair<llvm::AssertingVH<llvm::Value> > >::moveFromOldBuckets(llvm::detail::DenseSetPair<llvm::AssertingVH<llvm::Value> >*, llvm::detail::DenseSetPair<llvm::AssertingVH<llvm::Value> >*) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMAnalysis.so.16git
#8 0x00007ffff3a89e73 in llvm::SmallDenseMap<llvm::AssertingVH<llvm::Value>, llvm::detail::DenseSetEmpty, 4u, llvm::DenseMapInfo<llvm::AssertingVH<llvm::Value>, void>, llvm::detail::DenseSetPair<llvm::AssertingVH<llvm::Value> > >::grow(unsigned int) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMAnalysis.so.16git
#9 0x00007ffff3a8b27a in (anonymous namespace)::LazyValueInfoCache::insertResult(llvm::Value*, llvm::BasicBlock*, llvm::ValueLatticeElement const&) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMAnalysis.so.16git
#10 0x00007ffff3a8d71d in (anonymous namespace)::LazyValueInfoImpl::solve() () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMAnalysis.so.16git
#11 0x00007ffff3a8f834 in (anonymous namespace)::LazyValueInfoImpl::getValueInBlock(llvm::Value*, llvm::BasicBlock*, llvm::Instruction*) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMAnalysis.so.16git
#12 0x00007ffff3a8fbde in llvm::LazyValueInfo::getConstant(llvm::Value*, llvm::Instruction*) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMAnalysis.so.16git
#13 0x00007ffff30abe83 in processCallSite(llvm::CallBase&, llvm::LazyValueInfo*) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMScalarOpts.so.16git
#14 0x00007ffff30af2c4 in runImpl(llvm::Function&, llvm::LazyValueInfo*, llvm::DominatorTree*, llvm::SimplifyQuery const&) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMScalarOpts.so.16git
#15 0x00007ffff30b16bb in (anonymous namespace)::CorrelatedValuePropagation::runOnFunction(llvm::Function&) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMScalarOpts.so.16git
#16 0x00007ffff5a67570 in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /home/pd/yk/target/debug/ykllvm/lib/libLLVMCore.so.16git
#17 0x00007ffff3941c4f in (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) () from /home/pd/yk/target/debug/ykllvm/lib/../lib/libLLVMAnalysis.so.16git
#18 0x00007ffff5a67f77 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /home/pd/yk/target/debug/ykllvm/lib/libLLVMCore.so.16git
#19 0x00007ffff7c0fa95 in compileIRTrace<std::tuple<llvm::Module*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<llvm::GlobalValue*, void*, std::less<llvm::GlobalValue*>, std::allocator<std::pair<llvm::GlobalValue* const, void*> > >, void*, unsigned long> (*)(llvm::Module*, char**, unsigned long*, unsigned long, char**, void**, unsigned long, void*, void*, unsigned long)> (Func=0x7ffff7c19f30 <createModule[abi:cxx11](llvm::Module*, char**, unsigned long*, unsigned long, char**, void**, unsigned long, void*, void*, unsigned long)>, FuncNames=0x7fffcc00cd80, BBs=0x7fffcc001c90, TraceLen=194, FAddrKeys=0x7fffcc0022b0, FAddrVals=0x7fffcc003380, FAddrLen=16, BitcodeData=0x257ba0 <llvm.embedded[module]+8>, BitcodeLen=3622888, DebugInfoFD=-1, DebugInfoPath=0x0, CallStack=0x0, AOTValsPtr=0x0, AOTValsLen=0) at src/ykllvmwrap.cc:434
#20 0x00007ffff7c0f87b in __yktracec_irtrace_compile (FuncNames=0x7fffcc00cd80, BBs=0x7fffcc001c90, TraceLen=194, FAddrKeys=0x7fffcc0022b0, FAddrVals=0x7fffcc003380, FAddrLen=16, BitcodeData=0x257ba0 <llvm.embedded[module]+8>, BitcodeLen=3622888, DebugInfoFD=-1, DebugInfoPath=0x0, CallStack=0x0, AOTValsPtr=0x0, AOTValsLen=0) at src/ykllvmwrap.cc:453
#21 0x00007ffff7a89680 in ykrt::compile::jitc_llvm::{impl#0}::compile (self=0x91d930, mt=..., irtrace=..., sti=..., hl=...) at ykrt/src/compile/jitc_llvm.rs:51
#22 0x00007ffff7a883e4 in ykrt::mt::{impl#2}::queue_compile_job::{closure#0} () at ykrt/src/mt.rs:480
#23 0x00007ffff7a6a87e in core::ops::function::FnOnce::call_once<ykrt::mt::{impl#2}::queue_compile_job::{closure_env#0}, ()> () at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/core/src/ops/function.rs:250
#24 0x00007ffff7ab7288 in alloc::boxed::{impl#47}::call_once<(), (dyn core::ops::function::FnOnce<(), Output=()> + core::marker::Send), alloc::alloc::Global> (self=..., args=()) at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/alloc/src/boxed.rs:2007
#25 0x00007ffff7a99a9b in lock_api::mutex::MutexGuard<parking_lot::raw_mutex::RawMutex, alloc::collections::vec_deque::VecDeque<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(), Output=()> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>>::unlocked<parking_lot::raw_mutex::RawMutex, alloc::collections::vec_deque::VecDeque<alloc::boxed::Box<(dyn core::ops::function::FnOnce<(), Output=()> + core::marker::Send), alloc::alloc::Global>, alloc::alloc::Global>, alloc::boxed::Box<(dyn core::ops::function::FnOnce<(), Output=()> + core::marker::Send), alloc::alloc::Global>, ()> (s=0x7fffdf6fc9e0, f=...) at /home/pd/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lock_api-0.4.11/src/mutex.rs:577
#26 0x00007ffff7a86351 in ykrt::mt::{impl#2}::queue_job::{closure#0} () at ykrt/src/mt.rs:204
#27 0x00007ffff7aba583 in std::sys_common::backtrace::__rust_begin_short_backtrace<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()> (f=...) at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/std/src/sys_common/backtrace.rs:154
#28 0x00007ffff7a903d4 in std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure#0}<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()> () at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/std/src/thread/mod.rs:529
#29 0x00007ffff7add9e4 in core::panic::unwind_safe::{impl#23}::call_once<(), std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()>> (self=...) at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/core/src/panic/unwind_safe.rs:271
#30 0x00007ffff7ad6127 in std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()>>, ()> (data=0x7fffdf6fcb00) at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/std/src/panicking.rs:526
#31 0x00007ffff7ad657b in __rust_try () from /home/pd/yk/bin/../target/debug/deps/libykcapi.so
#32 0x00007ffff7ad5dfe in std::panicking::try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()>>> (f=...) at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/std/src/panicking.rs:490
#33 0x00007ffff7a90216 in std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()>>, ()> (f=...) at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/std/src/panic.rs:142
#34 std::thread::{impl#0}::spawn_unchecked_::{closure#1}<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()> () at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/std/src/thread/mod.rs:528
#35 0x00007ffff7a6a85f in core::ops::function::FnOnce::call_once<std::thread::{impl#0}::spawn_unchecked_::{closure_env#1}<ykrt::mt::{impl#2}::queue_job::{closure_env#0}, ()>, ()> () at /rustc/8142a319ed5c1d1f96e5a1881a6546e463b77c8f/library/core/src/ops/function.rs:250
#36 0x00007ffff7cfb225 in alloc::boxed::{impl#47}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> () at library/alloc/src/boxed.rs:2007
#37 alloc::boxed::{impl#47}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> () at library/alloc/src/boxed.rs:2007
#38 std::sys::unix::thread::{impl#2}::new::thread_start () at library/std/src/sys/unix/thread.rs:108
#39 0x00007ffff78a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#40 0x00007ffff792861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
non-serialised-compilation-error
Errors related to non-sync yk compilation - YKD_SERIALISE_COMPILATION=0
Issue
Failing test
gc.lua
.Reproduction
Backtrace
Versions
YKLua -
main/98807dcb129adae7f3a0f43c02061282b0a9d514
YK -
master/44b8f950a9c013aba4b5f922418b32baae7594bf
The text was updated successfully, but these errors were encountered: