You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By using the Ledger SDK, when trying to show NbglAddressReview page with really long data, speculos crashes on the second page, when the target device is Stax. It does not crashes for Flex.
NbglAddressReview::new().show(
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum",
);
Using tools installed from Ledger Dev Tools VSCode extension, version 0.8.0
11:01:54.953:root: Parsing binary '/app/build/stax/bin/app.elf'
11:01:54.969:speculos: Api level detected from metadata: 21
11:01:54.969:root: Parsing binary '/app/build/stax/bin/app.elf'
[*] speculos launcher revision:
[*] using API_LEVEL version 21 on stax
[*] loading CXLIB from "/usr/lib/python3.9/site-packages/speculos/cxlib/stax-api-level-cx-21.elf"
[*] patching svc instruction at 0x81efae
[*] Seed initialized from environment
launcher: using default app name & version
[*] loading fonts from "/usr/lib/python3.9/site-packages/speculos/fonts/stax-fonts-21.bin" (36864)
[*] loaded fonts at 0x805000
[*] patching svc instruction at 0x40004b6c
syscall 0x0000008b not handled
syscall 0x01fa000d not handled
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-'
* Serving Flask app 'speculos.api.api'
* Debug mode: off
11:01:56.193:werkzeug: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
11:01:56.193:werkzeug: Press CTRL+C to quit
syscall 0x0000008b not handled
syscall 0x01fa000d not handled
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/speculos/mcu/screen.py", line 260, in <lambda>
n.activated.connect(lambda _: self._can_read(device))
File "/usr/lib/python3.9/site-packages/speculos/mcu/screen.py", line 253, in _can_read
device.can_read(self)
File "/usr/lib/python3.9/site-packages/speculos/mcu/seproxyhal.py", line 424, in can_read
self.events += screen.display.gl.hal_draw_rect(data)
File "/usr/lib/python3.9/site-packages/speculos/mcu/nbgl.py", line 65, in hal_draw_rect
self.__assert_area(area)
File "/usr/lib/python3.9/site-packages/speculos/mcu/nbgl.py", line 61, in __assert_area
raise AssertionError("top edge (%d) or bottom edge (%d) out of screen" % (area.y0, (area.y0 + area.height)))
AssertionError: top edge (92) or bottom edge (892) out of screen
The text was updated successfully, but these errors were encountered:
By using the Ledger SDK, when trying to show
NbglAddressReview
page with really long data, speculos crashes on the second page, when the target device is Stax. It does not crashes for Flex.Using tools installed from Ledger Dev Tools VSCode extension, version 0.8.0
The text was updated successfully, but these errors were encountered: