Bug 127129

Summary: mdconfig(8) is core dumping with Segmentation Fault 11
Product: Base System Reporter: Curtis Hacker <hakcenter>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Curtis Hacker 2008-09-06 02:10:00 UTC
I can't get mdconfig to do anything on my amd64 box.

I have an identical machine on i386 running off a vmware machine, same
exact kernel specs / makefile, and no problems on mdconfig.

Decided to cvsup from the stable file provided in the
/usr/share/examples/cvsup/stable-supfile, rebuilt world, and now issues
with mdconfig.

Fix: 

run anything but amd64,:(
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-09-22 07:37:15 UTC
State Changed
From-To: open->feedback

This sounds more like a upgrade which went wrong than a problem 
with mdconfig(8) since I have a lot of people saying that it works 
for them. 

Can you give the output of "ident `which mdconfig`" ?
Comment 2 Curtis Hacker 2008-09-22 21:37:50 UTC
amd64 box

ident /sbin/mdconfig
/sbin/mdconfig:
     $FreeBSD: src/lib/csu/amd64/crti.S,v 1.7 2004/03/21 01:39:01 peter 
Exp $
     $FreeBSD: src/lib/csu/amd64/crtn.S,v 1.6 2004/03/21 01:39:01 peter 
Exp $
     $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.20.1 2007/12/06 
13:43:43 kib Exp $
     $FreeBSD: src/lib/csu/amd64/crt1.c,v 1.15 2005/10/07 22:13:17 bde Exp $

i386 box
ident /sbin/mdconfig
/sbin/mdconfig:
     $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr 
Exp $
     $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr 
Exp $
     $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.20.1 2007/12/06 
13:43:43 kib Exp $
     $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.15 2005/10/07 22:13:17 
bde Exp $

ive got 3 total bsd boxes, on the latest stable sup (7.1 pre-release) 
and only amd64 is giving me problems with mdconfig.

I guess I could nuke my make.conf and rebuild just mdconfig

edwin@FreeBSD.org wrote:
> Synopsis: mdconfig(8) is core dumping with Segmentation Fault 11
>
> State-Changed-From-To: open->feedback
> State-Changed-By: edwin
> State-Changed-When: Mon Sep 22 06:37:15 UTC 2008
> State-Changed-Why: 
> This sounds more like a upgrade which went wrong than a problem
> with mdconfig(8) since I have a lot of people saying that it works
> for them.
>
> Can you give the output of "ident `which mdconfig`" ?
>
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=127129
>
>
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2008-09-22 23:05:57 UTC
State Changed
From-To: feedback->open

Feedback received
Comment 4 Volker 2008-10-07 22:43:48 UTC
Curtis,

please tell us, if just running ``mdconfig'' is core dumping? Which
parameters are you using? What does ``mdconfig -l'' give?

Please provide gdb output (bt) of the failing mdconfig.

If nobody else can reproduce your problem, we need debugging information
from you.

Please report back if your problem has been solved by recompiling world.

Thanks

Volker
Comment 5 Jaakko Heinonen freebsd_committer freebsd_triage 2010-01-06 16:16:44 UTC
State Changed
From-To: open->feedback

Note that submitter has been asked for feedback.
Comment 6 Curtis Hacker 2010-01-06 20:37:41 UTC
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Haven't had any issues with
Freebsd 8 stable. On neither the i386 or amd64. I would consider it
resolved.<br>
</font>
</body>
</html>
Comment 7 Jaakko Heinonen freebsd_committer freebsd_triage 2010-01-17 15:21:10 UTC
State Changed
From-To: feedback->closed

Submitter considers this resolved.