Bug 103055 - kernel problem with gdb on uniprocessor machines
Summary: kernel problem with gdb on uniprocessor machines
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Anderson
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-26 02:37 UTC by Elena Zannoni
Modified: 2007-11-30 22:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-19 19:35:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Elena Zannoni 2003-08-26 02:37:27 UTC
Description of problem:

I see the gdb testsuite results change with two different versions of the same
kernel, same nightly build. The only difference I can see is that one machine is
SMP and the other is not.
Have a look at the test results for gdb-any on x86 in 
http://stp.boston.redhat.com

The following run has Linux 2.4.21-1.1931.2.399.entsmp and produces 31 failures:
http://stp.boston.redhat.com/cgi-bin/stp.cgi?command=display&modulename=stp&on=2831

This one instead has Linux 2.4.21-1.1931.2.399.ent and produces 58 failures.
http://stp.boston.redhat.com/cgi-bin/stp.cgi?command=display&modulename=stp&on=2848

They are from the same nightly build, the only different thing is the kernel.

The new failures are thread related, in gdb.threads/schedlock.exp.
The inferior program runs away, like this, the other failures are cascade
failures from this one problem.


(gdb) step
42		(*myp) ++;
(gdb) PASS: gdb.threads/schedlock.exp: step to increment (unlocked 6)
step

Program exited normally.
(gdb) step
The program is not being run.
(gdb) FAIL: gdb.threads/schedlock.exp: step to increment (unlocked 7)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:

Comment 1 Dave Anderson 2003-10-02 12:25:38 UTC
Roland's lost request:

------- Additional Comments From roland  2003-09-30 16:42 -------
This could be a userland bug triggered by timing differences rather than a
kernel bug.  We need to see at low level what is going wrong.  Have you
reproduced this problem by hand, outside the STP framework?  Have you tried the
failing gdb run under strace to watch its ptrace calls?



Comment 2 Ernie Petrides 2005-10-05 23:30:40 UTC
This is an ancient bug.  Can the problem still be reproduced on RHEL3 U6?

Comment 4 RHEL Program Management 2007-10-19 19:35:08 UTC
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
 
For more information of the RHEL errata support policy, please visit:
http://www.redhat.com/security/updates/errata/
 
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.


Note You need to log in before you can comment on or make changes to this bug.