I see the a similar problem on ppc. In my case it has problems reading /proc/bus/input/devices. ltrace shows repeated calls to getline and strstr:
... _ZNSi7getlineEPcic(-156456, -156536, 80, 10, 68) = -156456 strstr("", "Name") = NULL _ZNSi7getlineEPcic(-156456, -156536, 80, 10, 68) = -156456 strstr("", "Name") = NULL _ZNSi7getlineEPcic(-156456, -156536, 80, 10, 68) = -156456 strstr("", "Name") = NULL _ZNSi7getlineEPcic(-156456, -156536, 80, 10, 68) = -156456 strstr("", "Name") = NULL _ZNSi7getlineEPcic(-156456, -156536, 80, 10, 68) = -156456 strstr("", "Name") = NULL _ZNSi7getlineEPcic(-156456, -156536, 80, 10, 68) = -156456 ...
I see the a similar problem on ppc. In my case it has problems reading /proc/bus/ input/devices. ltrace shows repeated calls to getline and strstr:
... cic(-156456, -156536, 80, 10, 68) = -156456 cic(-156456, -156536, 80, 10, 68) = -156456 cic(-156456, -156536, 80, 10, 68) = -156456 cic(-156456, -156536, 80, 10, 68) = -156456 cic(-156456, -156536, 80, 10, 68) = -156456 cic(-156456, -156536, 80, 10, 68) = -156456
_ZNSi7getlineEP
strstr("", "Name") = NULL
_ZNSi7getlineEP
strstr("", "Name") = NULL
_ZNSi7getlineEP
strstr("", "Name") = NULL
_ZNSi7getlineEP
strstr("", "Name") = NULL
_ZNSi7getlineEP
strstr("", "Name") = NULL
_ZNSi7getlineEP
...