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

'no entry found for key' at compiler/src/yul/mappers/module.rs:25:46 #362

Closed
agroce opened this issue Apr 21, 2021 · 0 comments
Closed

'no entry found for key' at compiler/src/yul/mappers/module.rs:25:46 #362

agroce opened this issue Apr 21, 2021 · 0 comments
Labels
comp: analyzer Everything that involves the analyzer pass flag: beta-required Required for first beta release type: bug

Comments

@agroce
Copy link

agroce commented Apr 21, 2021

Compiling this file:

contract Foo:
 pub def o()->address:
        foo:Foo=Foo.create2(2,0)
        return address(foo)
thread 'main' panicked at 'no entry found for key', compiler/src/yul/mappers/module.rs:25:46
stack backtrace:
   0:     0x55bc7b0e6390 - std::backtrace_rs::backtrace::libunwind::trace::h9d49145f95eb5894
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:     0x55bc7b0e6390 - std::backtrace_rs::backtrace::trace_unsynchronized::hab1d020365bb6864
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55bc7b0e6390 - std::sys_common::backtrace::_print_fmt::h7659588431e304bd
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x55bc7b0e6390 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h09f4a9e3befae3c7
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/sys_common/backtrace.rs:46:22
   4:     0x55bc7b1012ec - core::fmt::write::hf3fdfde304b9a088
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/core/src/fmt/mod.rs:1092:17
   5:     0x55bc7b0e32f2 - std::io::Write::write_fmt::h1cb850689c7116f0
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/io/mod.rs:1568:15
   6:     0x55bc7b0e8555 - std::sys_common::backtrace::_print::hdbccd5aa093ba544
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/sys_common/backtrace.rs:49:5
   7:     0x55bc7b0e8555 - std::sys_common::backtrace::print::hc639c4f320222558
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/sys_common/backtrace.rs:36:9
   8:     0x55bc7b0e8555 - std::panicking::default_hook::{{closure}}::hdb012dd7a485bb5d
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/panicking.rs:208:50
   9:     0x55bc7b0e8003 - std::panicking::default_hook::h75facbce77b6ba91
                               at /rustc/9c09c1f7cfcf9de0522bcd1cfda32b552195c464/library/std/src/panicking.rs:225:9
  10:     0x55bc7a3ce37f - fe_compiler::errors::DEFAULT_PANIC_HOOK::{{closure}}::{{closure}}::hec7a48a425c777e3

You've hit an internal compiler error. This is a bug in the Fe compiler.
Fe is still under heavy development, and isn't yet ready for production use.

If you would, please report this bug at the following URL:
  https://github.com/ethereum/fe/issues/new
Aborted

On latest github master, built with

[profile.dev]
debug = true
panic = "abort"

for fuzzing. Using https://github.com/agroce/afl-compiler-fuzzer

@cburgdorf cburgdorf added flag: beta-required Required for first beta release comp: analyzer Everything that involves the analyzer pass type: bug labels Apr 22, 2021
cburgdorf added a commit to cburgdorf/fe that referenced this issue Apr 22, 2021
cburgdorf added a commit to cburgdorf/fe that referenced this issue Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: analyzer Everything that involves the analyzer pass flag: beta-required Required for first beta release type: bug
Projects
None yet
Development

No branches or pull requests

2 participants