Skip to content

Partially missed stack trace #337

@dima74

Description

@dima74

Consider simple Rust program calculating fibonacci number:

fn main() {
    println!("{}", fibonacci(42));
}

fn fibonacci(n: u32) -> u32 {
    match n {
        0 => 0,
        1 => 1,
        _ => fibonacci(n - 1) + fibonacci(n - 2),
    }
}

Here is result of cargo flamegraph:

image

Approximately half of the fibonacci calls have correct stacktrace, however other half doesn't have stacktrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions