error in micro_allocation_info when running CI tests

Skip to first unread message

bechir brahem

Jul 3, 2022, 11:24:54 AM7/3/22
to SIG Micro
After cloning the latest tensorflow/tflite-micro and running the tests using

I receive the following error
tensorflow/lite/micro/ In member function ‘TfLiteStatus tflite::AllocationInfoBuilder::GetOfflinePlannedOffsets(const int32_t**)’:
tensorflow/lite/micro/ 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

Jul 6, 2022, 1:48:21 AM7/6/22
to SIG Micro,
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!

bechir brahem

Jul 6, 2022, 7:13:48 AM7/6/22
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/ > 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

Måns Nilsson

Aug 11, 2022, 9:08:59 AM8/11/22
to Annie Tallund, SIG Micro,
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 <>
Skickat: den 6 juli 2022 07:48
Till: SIG Micro <>
Kopia: <>
Ä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
To view this discussion on the web visit
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
0 new messages