Stream: t-compiler/help

Topic: 'rustc' has overflowed its stack


Federico (May 31 2019 at 15:35, on Zulip):

Any suggestion regarding how to debug a 'rustc' has overflowed its stack? (in ... error: Could not compile rustc_allocator)

nagisa (May 31 2019 at 20:58, on Zulip):

You can use gdb to see what stack frames look like

nagisa (May 31 2019 at 20:58, on Zulip):

this will vary in terms of how helpful it is, but in case it was your own change, it will give you an indication whether the cause is your own code or something else.

Federico (Jun 03 2019 at 09:32, on Zulip):

Thanks, that helped! It seems that try_print_visible_def_path went into an infinite recursion; maybe because I changed the visibility of some imports

Last update: Nov 11 2019 at 21:55UTC