Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 13:43:07 +0400 (MSD)
From:      Alex Kapranoff <kappa@rambler-co.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/100429: awk(1) dumps core
Message-ID:  <20060717094307.34BB7421E@capella.park.rambler.ru>
Resent-Message-ID: <200607170950.k6H9oEf0063887@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100429
>Category:       bin
>Synopsis:       awk(1) dumps core
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 17 09:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kapranoff
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Rambler
>Environment:
FreeBSD capella.park.rambler.ru 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 11 17:06:35 MSD 2006     root@capella.park.rambler.ru:/usr/obj/usr/src/sys/CAPELLA2  i386

This could be related to locale, so I have these envars set:

>Description:
awk(1) sometimes dumps core when called by `make search' in /usr/ports.
It worked ok before I built and installed world and kernel on 11.07.2006.

>How-To-Repeat:
% cd /usr/ports
% make search=perl5
Bus error (core dumped)
*** Error code 138

Trace from gdb:
#0  indirect (a=0x8060000, n=347) at run.c:724
724             x->ctype = OCELL;       /* BUG?  why are these needed?
*/
(gdb) where
#0  indirect (a=0x8060000, n=347) at run.c:724
#1  0x08051d04 in execute (u=0x8060000) at run.c:156
#2  0x08055253 in bltin (a=0x807edf0, n=289) at run.c:1473
#3  0x08051d04 in execute (u=0x8060000) at run.c:156
#4  0x08054e95 in condexpr (a=0x807ee70, n=324) at run.c:1346
#5  0x08051d04 in execute (u=0x8060000) at run.c:156
#6  0x08052eeb in matchop (a=0x807eef0, n=266) at run.c:581
#7  0x08051d04 in execute (u=0x8060000) at run.c:156
#8  0x0805317c in relop (a=0x807ef10, n=286) at run.c:648
#9  0x08051d04 in execute (u=0x8060000) at run.c:156
#10 0x08054ed4 in ifstat (a=0x807ef50, n=300) at run.c:1358
#11 0x08051d04 in execute (u=0x8060000) at run.c:156
#12 0x08055198 in instat (a=0x807ef70, n=287) at run.c:1447
#13 0x08051d04 in execute (u=0x8060000) at run.c:156
#14 0x0805473a in pastat (a=0x8086d30, n=259) at run.c:1173
#15 0x08051d04 in execute (u=0x8060000) at run.c:156
#16 0x08051e00 in program (a=0x8086d50, n=258) at run.c:188
#17 0x08051d04 in execute (u=0x8060000) at run.c:156
#18 0x08051c46 in run (a=0x8060000) at run.c:131
#19 0x08051460 in main (argc=2, argv=0xbfbfdd9c) at main.c:159

>Fix:

	

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060717094307.34BB7421E>