Skip to content

Wrong format specifier in LOG #97

Description

@xamix

I'm trying the branch 2.6.0-EA in order to test the UART functionnality.

However I noticed maybe a wrong format:

In the following error log, it seem the hexa formatter is wrong and contain uneeded backquote leading to invalid format specifier at runtime instead of printing infos:

HSB_LOG_ERROR("Packet spans page boundary; address={:`#x`}, size={:`#x`}, offset={:`#x`}, cu_page_size_={:`#x`}",

I think you need to remove the backquote.

PS: What is the status of this branch? Is it usable, when do you think it will be released?

Also for now I'm unable to make working again with this branch the LinuxReceiverOp even by adding "pages" = 30 and queue size = "30" (and not using subframe).

I use linux serve file with the older 2.5.0 and it works without any problem.
While with the same sender but with linux receiver using 2.6.0 I got alot of ERROR messages:

INFO 2.9033 linux_receiver_op.cpp:150 start_receiver tid=0x18480 -- local_ip=127.0.0.1 local_port=36439
INFO 2.9043 data_channel.cpp:138 compute_payload_size tid=0x18480 -- mtu=1500 overhead=74 payload_size=1408 packets=8923
ERROR 170.8613 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x12017f6000, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 170.8740 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18c7b4ac00, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 170.8916 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18c8745d00, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 170.9102 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18c9340e00, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 170.9238 base_receiver_op.cpp:192 compute tid=0x18480 -- Unexpected bytes_written=0xff9600 is larger than the buffer_size=0xbfb080, ignoring.
ERROR 170.9277 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18c9f3bf00, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
[info] [main.cpp:172] FrameWriterOp: tensor='0' shape=[2160,3840,4] element_type=4 bytes=66355200
ERROR 170.9473 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18cab37000, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 170.9648 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18cb732100, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 170.9834 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18cc32d200, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 171.0020 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18ccf28300, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 171.0195 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18cdb23400, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100
ERROR 171.0371 linux_receiver.cpp:253 run tid=0x18494 -- Packet spans page boundary; address=0x18ce71e500, size=0x580, offset=0xbfaf00, cu_page_size_=0xbfb100

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions