Re: [lng-odp] Crash on odp_cpuinfo_parser

2016-03-02 Thread Wenxian Li
Thanks Mike & Maxim. You are so helpful. Regards, Wenxian On 2 March 2016 at 22:33, Maxim Uvarov wrote: > Has to be fixed with that commit: > > commit 50333e89b6c35edfa1221a4fbb74fc34bea6865d > Author: Hongbo Zhang > Date: Tue Feb 23 17:25:12 2016 +0800 > > linux-generic: fix usage of fu

Re: [lng-odp] Crash on odp_cpuinfo_parser

2016-03-02 Thread Maxim Uvarov
Has to be fixed with that commit: commit 50333e89b6c35edfa1221a4fbb74fc34bea6865d Author: Hongbo Zhang Date: Tue Feb 23 17:25:12 2016 +0800 linux-generic: fix usage of function strncpy This is for https://bugs.linaro.org/show_bug.cgi?id=2030: "Memory - illegal accesses (BUFFER_S

Re: [lng-odp] Crash on odp_cpuinfo_parser

2016-03-02 Thread Mike Holmes
On 2 March 2016 at 01:03, Wenxian Li wrote: > Hi Experts, > > I met an ODP crash in linux generic. > It crashes at requiring the CPU frequency. > > pos = strchr(sysinfo->model_str[id], '@'); > *(pos - 1) = '\0'; > > My testbed is an ubuntu running on KVM, and the CPU model is: > "model name : QEM

[lng-odp] Crash on odp_cpuinfo_parser

2016-03-01 Thread Wenxian Li
Hi Experts, I met an ODP crash in linux generic. It crashes at requiring the CPU frequency. pos = strchr(sysinfo->model_str[id], '@'); *(pos - 1) = '\0'; My testbed is an ubuntu running on KVM, and the CPU model is: "model name : QEMU Virtual CPU version 2.0.0" There is no “@" in this string an