Actions
Bug #5416
closedosmo-remsim-client-st2: asserts when the simtrace2 is in dfu-mode
Start date:
01/24/2022
Due date:
% Done:
100%
Spec Reference:
Description
When the simtrace is in dfu mode, the osmo-remsim-client-st2 asserts:
osmo-remsim-client-st2 -V 1d50 -P 4001 -C1 -I0 -S0 -H 1-1.4 -A3 -i <SOMEIP> -p 9998 -c 1 -n 0 DRSPRO INFO ../rspro_client_fsm.c:308 RSPRO_CLIENT(server){REESTABLISH}: Creating TCP connection to server at <SOMEIP>:9998 Assert failed rc == 0 user_simtrace2.c:309 This platform has no backtrace function Aborted
Updated by lynxis about 2 years ago
- Subject changed from osmo-remsim-client-st2 to osmo-remsim-client-st2: asserts when the simtrace2 is in simtrace
- Description updated (diff)
Updated by lynxis about 2 years ago
- Subject changed from osmo-remsim-client-st2: asserts when the simtrace2 is in simtrace to osmo-remsim-client-st2: asserts when the simtrace2 is in dfu-mode
Updated by laforge about 2 years ago
this is quite odd as I would expect osmo_libusb_get_ep_addrs() to fail already at an earlier stage? Isn't DFU only implemented with control pipe requests? So there should be no buil/irq descriptors and hence osmo_libusb_get_ep_addrs should fail?
Updated by laforge over 1 year ago
I can confirm the problem still exists:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.8 .libs/osmo-remsim-client-st2 -V 1d50 -P 60e3 -C1 -I0 -S0 -H 1-6 DRSPRO INFO ../rspro_client_fsm.c:306 RSPRO_CLIENT(server){REESTABLISH}: Creating TCP connection to server at 127.0.0.1:9998 Assert failed rc == 0 user_simtrace2.c:305 backtrace() returned 10 addresses /usr/local/lib/libosmocore.so.19(+0x1844a9) [0x7f0c34d3d4a9] /usr/local/lib/libosmocore.so.19(osmo_generate_backtrace+0x18) [0x7f0c34d3d998] /usr/local/lib/libosmocore.so.19(+0x184251) [0x7f0c34d3d251] /usr/local/lib/libosmocore.so.19(osmo_panic+0x127) [0x7f0c34d3d382] .libs/osmo-remsim-client-st2(+0x2dd47) [0x5578122fdd47] .libs/osmo-remsim-client-st2(+0x29519) [0x5578122f9519] /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7f0c340db18a] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f0c340db245] .libs/osmo-remsim-client-st2(+0x29e01) [0x5578122f9e01]
Updated by laforge over 1 year ago
- Project changed from SIMtrace 2 to osmo-remsim
- Category set to remsim-client
- Status changed from New to In Progress
- % Done changed from 0 to 80
https://gerrit.osmocom.org/c/osmo-remsim/+/30152 changes this to:
$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.8 .libs/osmo-remsim-client-st2 -V 1d50 -P 60e3 -C1 -I0 -S0 -H 1-6 DRSPRO INFO ../rspro_client_fsm.c:306 RSPRO_CLIENT(server){REESTABLISH}: Creating TCP connection to server at 127.0.0.1:9998 DMAIN ERROR user_simtrace2.c:448 specified USB dev/config/interface doesn't have at least one IN, OUT and IRQ_IN endpoint
Updated by laforge over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
Applied in changeset osmo-remsim|7da85411e39af1aff460a6ddd32bf0a32bd7a38b.
Actions