Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2003 06:29:54 -0800
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        freebsd-current@freebsd.org
Subject:   tcsh in malloc(): error: recursive call
Message-ID:  <200312131429.hBDETsqo033570@cwsys.cwsent.com>

next in thread | raw e-mail | index | archive | help
I'm currently in the middle of a portupgrade. It was building Openoffice 
1.1, however it got a recursive call in malloc in tcsh. My system is:

FreeBSD cwsys 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Dec  9 09:18:08 PST 
2003     root@cwsys:/export/obj/opt/src/cvs-current/src/sys/KOMQUATS  i386

It was CVSupped at approximately 04:30 on Dec 8. The ports tree was 
cvsupped at the same time.

I'm posting here on -current because I believe this is a base O/S issue, 
not a ports issue. I've found some discussion about this that seems to 
indicate that this might be SSE related. My CPU is as follows:

CPU: Intel Pentium III (938.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMO
V,PA
T,PSE36,MMX,FXSR,SSE>

Here is the event itself:

Making: ../unxfbsd.pro/obj/cfg_yy.obj
cc -w -c -I.  -I. -I../inc -I../inc -I../unx/inc -I../unxfbsd.pro/inc -I. 
-I/exc
if ( -e ../unxfbsd.pro/obj/cfg_yy.o) touch ../unxfbsd.pro/obj/cfg_yy.obj
tcsh in malloc(): error: recursive call
dmake:  Error code 134, while making '../unxfbsd.pro/misc/o_cfg_yy.dpcc'
dmake:  '../unxfbsd.pro/misc/o_cfg_yy.dpcc' removed.
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /export/local-ports/cvs-ports/ports
/ede
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop in /export/local-ports/cvs-ports/ports/editors/openoffice-1.1.
cwsys# 

Some of the discussion I've seen points to the possibility that static 
linking may fix this. Should I try linking a static tcsh (or use the one in 
/rescue) to test this theory out? Or, is there some other fix or 
circumvention to this problem?


Cheers,
--
Cy Schubert <Cy.Schubert@komquats.com>        http://www.komquats.com/
BC Government                     .                       FreeBSD UNIX
Cy.Schubert@osg.gov.bc.ca         .                     cy@FreeBSD.org
http://www.gov.bc.ca/             .            http://www.FreeBSD.org/





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