diff --git a/src/mono/mono/mini/aot-compiler.c b/src/mono/mono/mini/aot-compiler.c index 42c122d98371b..e30602dbca0bd 100644 --- a/src/mono/mono/mini/aot-compiler.c +++ b/src/mono/mono/mini/aot-compiler.c @@ -6688,6 +6688,9 @@ compute_line_numbers (MonoMethod *method, int code_size, MonoDebugMethodJitInfo mono_debug_free_source_location (loc); continue; } + if (loc->row > 0xffffff) + // FIXME: Invalid debug info + continue; prev_line = loc->row; //printf ("D: %s:%d il=%x native=%x\n", loc->source_file, loc->row, il_offset, i); if (first)