[Bug 896632] New: xosview +coretemp hangs
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c0 Summary: xosview +coretemp hangs Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: martin@oneiros.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 On my system with four cores, xosview +coretemp hangs - the programs runs, but shows no display. Starting it with -coretemp works. strace shows this: stat("/sys/devices/platform/coretemp.0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 openat(AT_FDCWD, "/sys/devices/platform/coretemp.0", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5 getdents(5, /* 19 entries */, 32768) = 600 getdents(5, /* 0 entries */, 32768) = 0 close(5) = 0 open("/sys/devices/platform/coretemp.0/temp2_label", O_RDONLY) = 5 read(5, "Core 0\n", 8191) = 7 close(5) = 0 open("/sys/devices/platform/coretemp.0/temp4_label", O_RDONLY) = 5 read(5, "Core 2\n", 8191) = 7 close(5) = 0 openat(AT_FDCWD, "/sys/class/hwmon", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5 getdents(5, /* 4 entries */, 32768) = 112 open("/sys/class/hwmon/hwmon0/device/name", O_RDONLY) = 6 read(6, "coretemp\n", 8191) = 9 close(6) = 0 open("/sys/devices/platform/coretemp.0/temp0_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp1_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp2_label", O_RDONLY) = 6 read(6, "Core 0\n", 8191) = 7 close(6) = 0 open("/sys/devices/platform/coretemp.0/temp3_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp4_label", O_RDONLY) = 6 read(6, "Core 2\n", 8191) = 7 close(6) = 0 open("/sys/devices/platform/coretemp.0/temp5_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp6_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp7_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp8_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp9_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp10_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp11_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp12_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp13_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp14_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp15_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp16_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp17_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp18_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp19_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp20_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp21_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp22_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp23_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp24_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp25_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp26_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp27_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp28_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp29_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp30_label", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/devices/platform/coretemp.0/temp31_label", O_RDONLY) = -1 ENOENT (No such file or directory) and so forth: the number in /sys/devices/platform/coretemp.0/temp31_label is increased forever (or maybe till 2^32 or 2^64, but I didn't wait so long). +coretemp works on two other systems (which have only two cores). dmesg is attached. I tested with xosview 1.16 from upstream, but the bug is still present there (and I could find no bugtracker). Reproducible: Always Steps to Reproduce: 1. Start xosview +coretemp 2. 3. Actual Results: The display of xosview is not shown. Expected Results: I want to see the display of xosview. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c1 --- Comment #1 from Martin Schröder <martin@oneiros.de> 2014-09-14 19:36:11 CEST --- Created an attachment (id=606278) --> (http://bugzilla.novell.com/attachment.cgi?id=606278) dmesg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |martin@oneiros.de --- Comment #2 from Dr. Werner Fink <werner@suse.com> 2014-09-15 09:58:54 UTC --- show us the output of ls -l /sys/devices/platform/ and ls -l /sys/devices/platform/coretemp.0/ as this is what xosview also does before trying to read the informations in the files below e.g. /sys/devices/platform/coretemp.0/ Beside this, what das happen if you try to do e.g. for x in /sys/devices/platform/coretemp.0/temp*_label ; do car $x done also show the result of lscpu -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2014-09-15 10:00:52 UTC --- Not `car' but `cat' indeed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c4 Martin Schröder <martin@oneiros.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|martin@oneiros.de | --- Comment #4 from Martin Schröder <martin@oneiros.de> 2014-09-15 12:56:32 CEST --- (In reply to comment #2)
show us the output of
ls -l /sys/devices/platform/
drwxr-xr-x 3 root root 0 15. Sep 12:30 alarmtimer drwxr-xr-x 4 root root 0 15. Sep 02:00 coretemp.0 drwxr-xr-x 4 root root 0 15. Sep 02:00 f71882fg.2560 drwxr-xr-x 4 root root 0 15. Sep 12:30 i8042 drwxr-xr-x 3 root root 0 15. Sep 12:30 microcode drwxr-xr-x 4 root root 0 15. Sep 12:30 pcspkr drwxr-xr-x 2 root root 0 15. Sep 12:53 power drwxr-xr-x 4 root root 0 15. Sep 12:30 serial8250 -rw-r--r-- 1 root root 4096 15. Sep 12:53 uevent drwxr-xr-x 4 root root 0 15. Sep 12:30 vesafb.0
and
ls -l /sys/devices/platform/coretemp.0/
lrwxrwxrwx 1 root root 0 15. Sep 12:30 driver -> ../../../bus/platform/drivers/coretemp drwxr-xr-x 3 root root 0 15. Sep 02:00 hwmon -r--r--r-- 1 root root 4096 15. Sep 12:53 modalias -r--r--r-- 1 root root 4096 15. Sep 02:00 name drwxr-xr-x 2 root root 0 15. Sep 12:53 power lrwxrwxrwx 1 root root 0 15. Sep 02:00 subsystem -> ../../../bus/platform -r--r--r-- 1 root root 4096 15. Sep 02:00 temp2_crit -r--r--r-- 1 root root 4096 15. Sep 02:00 temp2_crit_alarm -r--r--r-- 1 root root 4096 15. Sep 02:00 temp2_input -r--r--r-- 1 root root 4096 15. Sep 02:00 temp2_label -r--r--r-- 1 root root 4096 15. Sep 02:00 temp2_max -r--r--r-- 1 root root 4096 15. Sep 02:00 temp4_crit -r--r--r-- 1 root root 4096 15. Sep 02:00 temp4_crit_alarm -r--r--r-- 1 root root 4096 15. Sep 02:00 temp4_input -r--r--r-- 1 root root 4096 15. Sep 02:00 temp4_label -r--r--r-- 1 root root 4096 15. Sep 02:00 temp4_max -rw-r--r-- 1 root root 4096 15. Sep 12:30 uevent
as this is what xosview also does before trying to read the informations in the files below e.g. /sys/devices/platform/coretemp.0/
Beside this, what das happen if you try to do e.g.
for x in /sys/devices/platform/coretemp.0/temp*_label ; do car $x done
Core 0 Core 2
also show the result of
lscpu
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 37 Model name: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz Stepping: 2 CPU MHz: 1200.000 BogoMIPS: 6117.98 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 4096K NUMA node0 CPU(s): 0-3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c5 --- Comment #5 from Dr. Werner Fink <werner@suse.com> 2014-09-15 11:40:39 UTC --- Hmmmm ... in xosview wird via g++ der system call openat() mit O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC verwendet. Woher kommen dann die vielen Unterdateien? Wenn ich es hier starte, funktioniert es. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c6 --- Comment #6 from Dr. Werner Fink <werner@suse.com> 2014-09-15 13:48:00 UTC --- Created an attachment (id=606371) --> (http://bugzilla.novell.com/attachment.cgi?id=606371) Yet an other xosview binary with debug code in please save this as e.g. xosview.test and run ./xosview.test +coretemp and report the output here -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c7 --- Comment #7 from Martin Schröder <martin@oneiros.de> 2014-09-15 15:55:03 CEST --- (In reply to comment #6)
and report the output here
0 <-> 2 0 <-> 2 and it still hangs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c8 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |martin@oneiros.de --- Comment #8 from Dr. Werner Fink <werner@suse.com> 2014-09-15 14:24:06 UTC --- The problem seems to be that the numbers of cores jumps away
for x in /sys/devices/platform/coretemp.0/temp*_label ; do car $x done
Core 0 Core 2
... never seen that and I gues the author of xosview also never does ... where are the Core 1. Is this a change in the kernels API? Had this ever happen before? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c9 --- Comment #9 from Martin Schröder <martin@oneiros.de> 2014-09-15 16:26:57 CEST --- (In reply to comment #8)
The problem seems to be that the numbers of cores jumps away
for x in /sys/devices/platform/coretemp.0/temp*_label ; do car $x done
Core 0 Core 2
... never seen that and I gues the author of xosview also never does ... where are the Core 1. Is this a change in the kernels API? Had this ever happen before?
Don't know; I've never tried coretemp before. But an i3 540 is not unusual... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=896632 https://bugzilla.novell.com/show_bug.cgi?id=896632#c10 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|martin@oneiros.de | --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-09-18 09:59:31 CEST --- btw, I have here on a openSUSE-12.3 # for x in /sys/devices/platform/coretemp.0/temp*_label ; do cat $x ; done Core 9 Core 10 Core 0 Core 1 on a
processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU E5630 @ 2.53GHz
so I guess it is related to hyper-threading on Intel CPUs. 12.3's xosview does ignore +coretemps, but using the one from X11:Utilities I can reproduce the bug there -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=896632 --- Comment #16 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (896632) was mentioned in https://build.opensuse.org/request/show/283896 Factory / xosview -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=896632 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Flags|needinfo?(martin@oneiros.de | |) | --- Comment #17 from Bernhard Wiedemann <bwiedemann@suse.com> --- The new version no more hangs on start and shows a temperature for CPU0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=896632 --- Comment #19 from Martin Schröder <martin@oneiros.de> --- (In reply to Dr. Werner Fink from comment #15)
Try latest xosview from X11:Utilities/xosview on openSUSE 13.2
That shows me one bar (with CPU0) on my i3 540 (2 cores, 2HT cores). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=896632 --- Comment #20 from Martin Schröder <martin@oneiros.de> --- (In reply to Martin Schröder from comment #19)
(In reply to Dr. Werner Fink from comment #15)
Try latest xosview from X11:Utilities/xosview on openSUSE 13.2
That shows me one bar (with CPU0) on my i3 540 (2 cores, 2HT cores).
Btw: sensors knowns about two cores: coretemp-isa-0000 Adapter: ISA adapter Core 0: +54.0°C (high = +89.0°C, crit = +105.0°C) Core 2: +59.0°C (high = +89.0°C, crit = +105.0°C) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com