Skip to content

Showing QRCode with NbglAddressReview makes real device to crash #221

@mmouchous-ledger

Description

@mmouchous-ledger

When trying to create a NbglAddressReview page, and showing the QRCode with any data, on a real device it crashes, but does not on emulator. Tested on Flex and Stax.

Based on Boilerplate rust application, inserting those lines in sample_main, within #[cfg(any(target_os = "stax", target_os = "flex"))], after init_commcall:

        // Display some verify adress pages.
        NbglAddressReview::new().show("34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo");
        NbglAddressReview::new()
            .show("bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97");
        NbglAddressReview::new().show("https://www.ledger.com");
        NbglAddressReview::new().show(
            r#"BEGIN:VCARD
VERSION:3.0
N:Nakamoto;Satochi;;;
END:VCARD"#,
        );

VSCode Ledger extension version: 0.8.0
Rust SDK version: ledger_device_sdk = "1.18.4"

Tested device: Stax
SE Version: 1.5.0
MCU Version: 5.27.0
BL Version 4.51.0
HW Version: 019

Tested device: Flex
SE Version: 1.1.0
MCU Version: 5.27.0
BL Version 4.51.0
HW Version: 019

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions