sysinfo locks on startup

Bug #32485 reported by PeterShinners
12
Affects Status Importance Assigned to Milestone
sysinfo (Ubuntu)
Fix Released
Medium
MOTU Reviewers Team

Bug Description

I've installed the 'sysinfo' program. But it locks up on early startup. Even running with "-h" or "--help" flags it locks up with the same behavior. When locked the process uses 100% cpu.

Watching it with strace, it does a lot of work, but comes to a dead stop after reading /proc/cpiinfo. I let it run for 10 minutes with no results.

Package: sysinfo
Priority: optional
Section: universe/utils
Architecture: i386
Version: 0.6.1-0ubuntu1

Revision history for this message
Szilveszter Farkas (phanatic) wrote :

I cannot reproduce the problem. Could you possibly provide more information?

Changed in sysinfo:
status: Unconfirmed → Needs Info
Revision history for this message
PeterShinners (pete-shinners) wrote :

I'm still experiencing this problem with the latest dapper version. I'll attach a strace log, but I'm not sure what else I can report?

Version: 0.6.1-0ubuntu1

Revision history for this message
PeterShinners (pete-shinners) wrote : Sysinfo trace

This is the log of tracing sysinfo. It completely hangs at this point with no further results. It uses 100% cpu while hung.

Revision history for this message
PeterShinners (pete-shinners) wrote :

I got a sysinfo update today, but it has the same results.
Version: 0.6.1-0ubuntu2

Revision history for this message
Szilveszter Farkas (phanatic) wrote :

yes, it fixed another bug. could you attach your /proc/cpuinfo maybe? (i'll contact upstream to have a look at this issue, but the development of this c++ application was terminated, and a new mono-based version was launched)

Revision history for this message
PeterShinners (pete-shinners) wrote : cpuinfo

/proc/cpuinfo file. This is from a Pentium4 with hyperthreading.

Revision history for this message
Jürgen Kreileder (jk) wrote :

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
...

Revision history for this message
Jürgen Kreileder (jk) wrote : /proc/bus/input/devices

My /proc/bus/input/devices

Revision history for this message
Szilveszter Farkas (phanatic) wrote : sysinfo_0.6.1-0ubuntu4.debdiff

I found a workaround for both problems. This package should provide a fix for them.

Revision history for this message
Szilveszter Farkas (phanatic) wrote :

assigned to motu-reviewers

Changed in sysinfo:
assignee: nobody → motureviewers
status: Needs Info → In Progress
Revision history for this message
Barry deFreese (bddebian) wrote :

Uploaded with attached patch. Thanks for your contributions!

Changed in sysinfo:
status: In Progress → Fix Committed
Changed in sysinfo:
status: Fix Committed → Fix Released
Revision history for this message
PeterShinners (pete-shinners) wrote :

I can confirm the new release is working. 0.6.1-0ubuntu4 is running great. This is the first version I have been able to start in a long time.

Revision history for this message
Barry deFreese (bddebian) wrote :

Excellent news. Thanks for your feedback!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.