[Bug 215634] New: openposix.pthread_spin_lock_1_1 does not finish
https://bugzilla.novell.com/show_bug.cgi?id=215634 Summary: openposix.pthread_spin_lock_1_1 does not finish Product: SUSE Linux 10.1 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: erik.hamera@novell.com ReportedBy: pkirsch@novell.com QAContact: qa@suse.de CC: tarnold@suse.de running the LTP-testsuite on zert169 especially the testcase /usr/share/qa/ltp/tmp/ltp_temp/openposix.pthread_spin_lock_1_1 from openposix.tcf (located in /usr/share/qa/ltp/tcf) does cause a 100% cpu loop. The loop is caused by the file /usr/lib/ltp/testcases/bin/openposix/conformance/interfaces/pthread_spin_lock/1-1.test (see strace file attached) zert169:~ # rpm -q ltp ltp-20060412-2 zert169:~ # uname -a Linux zert169 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215634 ------- Comment #1 from pkirsch@novell.com 2006-10-27 05:03 MST ------- Created an attachment (id=102804) --> (https://bugzilla.novell.com/attachment.cgi?id=102804&action=view) strace 1-1.test -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215634 ------- Comment #2 from pkirsch@novell.com 2006-10-27 05:04 MST ------- Sorry, i forgot to mention it is the remastered version of SL 10.1 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215634 erik.hamera@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #3 from erik.hamera@novell.com 2006-10-27 12:36 MST ------- It hangs on my SL10.1 too ... strace -tt 20:23:10.845854 execve("./1-1.test", ["./1-1.test"], [/* 58 vars */]) = 0 .. 20:23:12.857262 munmap(0xb7579000, 27974) = 0 20:23:12.857419 futex(0xb7578644, FUTEX_WAKE, 2147483647) = 0 20:23:12.857552 _exit(0) = ? .. and now it call nothing ... I'll see on it -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215634 ------- Comment #4 from yxu@novell.com 2006-11-14 05:06 MST ------- I would suggest we skip this test by removing this paragraph: timer 300 fg 1 pthread_spin_lock_1_1 /usr/lib/ltp/runalltests.sh -f /usr/share/qa/ltp/tmp/ltp_temp/openposix.pthread_spin_lock_1_1 wait in the file /usr/share/qa/ltp/tcf/openposix.tcf on that certain machine for a temorary solution. Erik or I will look into the source code and maybe make a patch and apply the patch to ltp and build a new RPM package, but it may take some time, and right now, ltp is in a freezing status. So I come up with the idea of skipping the test that makes the cpu loop. ( Another way could be update your ltp, since the new ltp package is available for sles10. /mounts/work/built/dists/all/sles10-i386/packs-i386/ltp/ltp-20061017/ltp-20061017-1.4.i586.rpm But i am not sure if there is anything new about pthread_spin_lock_1_1 in the new ltp package. ) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215634 ------- Comment #5 from pkirsch@novell.com 2006-11-14 06:03 MST ------- There is a similar harder situation in Bug #145160 with testcase sched_yield_1_1. This testcase makes (under special circumstances) machines freeze. So I'm not sure if it is a good idea to skip this testcase. Is there a possibility to ask the author of the testcase of some 'besides effects', if she/he knows one. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215634
Martin Mrazik
https://bugzilla.novell.com/show_bug.cgi?id=215634
Martin Mrazik
https://bugzilla.novell.com/show_bug.cgi?id=215634
User dsterba@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=215634#c8
David Sterba
https://bugzilla.novell.com/show_bug.cgi?id=215634
User dsterba@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=215634#c9
David Sterba
https://bugzilla.novell.com/show_bug.cgi?id=215634
User mmrazik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=215634#c10
Martin Mrazik
participants (1)
-
bugzilla_noreply@novell.com