error in micro_allocation_info when running CI tests

63 views
Skip to the first unread message

bechir brahem

unread,
3 Jul 2022, 11:24:5403/07/2022
to SIG Micro
After cloning the latest tensorflow/tflite-micro and running the tests using
tensorflow/lite/micro/tools/ci_build/test_x86.sh

I receive the following error
tensorflow/lite/micro/micro_allocation_info.cc: In member function ‘TfLiteStatus tflite::AllocationInfoBuilder::GetOfflinePlannedOffsets(const int32_t**)’:
tensorflow/lite/micro/micro_allocation_info.cc:326:18: error: ‘int strncmp(const char*, const char*, size_t)’ specified bound 23 exceeds source size 0 [-Werror=stringop-overread]

i have Linux  kernel 5.18.0-arch1-1 (arch linux) AMD CPU and AMD GPU

PS: I ran the same tests on the same computer on my PopOS kernel 5.13 and it worked
i can supply more information if you want

Annie Tallund

unread,
6 Jul 2022, 01:48:2106/07/2022
to SIG Micro, bechir.b...@gmail.com
Hi, thanks for reaching out. We at Arm will try to pick this up, as it is part of our contribution. Right now, it's peak vacation times, so it might take a bit longer than normal. We apologize for that. In the meantime, it would be helpful if you could send us the full output trace, for example in a file. 

Thank you for understanding!
/Annie 

bechir brahem

unread,
6 Jul 2022, 07:13:4806/07/2022
to SIG Micro, Annie Tallund, bechir brahem
Hello, thank you for responding. I understand, there's no need for any apologies. here i linked output.log generated after running
tensorflow/lite/micro/tools/ci_build/test_x86.sh > output.log

the same error also occurs when running (easier to debug):
make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test

the output of uname -a: Linux bb 5.18.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 29 Jun 2022 23:03:08 +0000 x86_64 GNU/Linux
(i updated my kernel since posting)
the latest commit: 60d83223d39fa8660287766edb4533a292f59eb8
the output of lshw is also linked as a file named lshw.txt
thank you very much
hello_world_test
output.log
lshw.txt

Måns Nilsson

unread,
11 Aug 2022, 09:08:5911/08/2022
to Annie Tallund, SIG Micro, bechir.b...@gmail.com
Hi and thanks for reporting this!
I was able to reproduce it on Arch Linux, i.e. with gcc-12.1.
I created a PR for it:




Från: Annie Tallund <annie....@arm.com>
Skickat: den 6 juli 2022 07:48
Till: SIG Micro <mi...@tensorflow.org>
Kopia: bechir.b...@gmail.com <bechir.b...@gmail.com>
Ämne: Re: error in micro_allocation_info when running CI tests
 
--
You received this message because you are subscribed to the Google Groups "SIG Micro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to micro+un...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/micro/3fa6c918-f85d-4da9-a6e1-915f719e5791n%40tensorflow.org.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Reply all
Reply to author
Forward
0 new messages