Bug 9766

Summary: linuxconf always segfaults
Product: [Retired] Red Hat Linux Reporter: corth
Component: linuxconfAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:47:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description corth 2000-02-24 20:43:56 UTC
linuxconf is stripped, but gdb shows the crash here:

Program received signal SIGSEGV, Segmentation fault.
0x8a648 in BUTTONS_INFO::setcursor ()

This is a fresh install on a sun4c machine.

I tried running in console without X, still crashes but doesn't report a
symbol location.

Chris

Comment 1 Nalin Dahyabhai 2000-03-06 14:31:59 UTC
Try refreshing your kernel and linuxconf versions from Raw Hide.  We've had
another bug report in linuxconf that can no longer be reproduced on the latest
builds.

Comment 2 corth 2000-03-06 18:11:59 UTC
Hmmm.  Went to 2.2.14-5.  linuxconf still not working, and I'm getting some
pretty frightening kernel instabilities that seem to be associated with amd (for
about 5 mins. following an automount or unmount of a nfs filesystem EVERY user
command SEGFAULTS; a shell I have open as root remains ok).  If I can't find
anything I did wrong I'll probably be filing some separate reports soon....

Comment 3 Nalin Dahyabhai 2000-03-07 16:18:59 UTC
Yikes.  Any chance I can get you to add a backtrace to this report?  By that, I
mean firing up /bin/linuxconf using gdb (by running "gdb /bin/linuxconf", and
typing "run"), and then using gdb's "bt" command when it dies?  I'm looking at
the code for BUTTONS_INFO::setcursor right now and it looks fairly safe, so I
suspect that the calling function might be passing in bogus data.

Comment 4 corth 2000-03-07 16:34:59 UTC
FWIW:
#0  0x8a64Program received signal SIGSEGV, Segmentation fault.
0x8a648 in BUTTONS_INFO::setcursor ()
(gdb) bt
#1  0x8a708 in BUTTONS_INFO::draw ()
#2  0x92d90 in DIALOG::draw ()
#3  0x97ccc in DIALOG::showterm ()
#4  0x936dc in DIALOG::show ()
#5  0x93724 in DIALOG::edit ()
#6  0x91f8c in dialog_textbox ()
#7  0x39248 in notice_show ()
#8  0x38810 in linuxconf_main ()
#9  0x369bc in main ()
#10 0xe017b578 in __libc_start_main () at ../sysdeps/generic/libc-start.c:122

I'm thinking that if I grab the SRPM and make it recompile -g, that the above
will be more helpful (if the crash still happens at all).  If I run in console
gdb dies at the SEGFAULT too.

Comment 5 Brent Fox 2002-06-05 16:14:26 UTC
Closing because we don't ship linuxconf anymore

Comment 6 Red Hat Bugzilla 2006-02-21 18:47:38 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.