From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 24 17:30:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 149D316A41A for ; Wed, 24 Oct 2007 17:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F232B13C4B5 for ; Wed, 24 Oct 2007 17:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9OHU2v1061593 for ; Wed, 24 Oct 2007 17:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9OHU2pJ061592; Wed, 24 Oct 2007 17:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 24 Oct 2007 17:30:02 GMT Resent-Message-Id: <200710241730.l9OHU2pJ061592@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Xiao-Yong Jin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0EB116A41A for ; Wed, 24 Oct 2007 17:20:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9290B13C491 for ; Wed, 24 Oct 2007 17:20:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9OHJtPT023375 for ; Wed, 24 Oct 2007 17:19:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l9OHJtEF023374; Wed, 24 Oct 2007 17:19:55 GMT (envelope-from nobody) Message-Id: <200710241719.l9OHJtEF023374@www.freebsd.org> Date: Wed, 24 Oct 2007 17:19:55 GMT From: Xiao-Yong Jin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/117458: Bad system call (core dumped) when compiling w3m X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 17:30:03 -0000 >Number: 117458 >Category: ports >Synopsis: Bad system call (core dumped) when compiling w3m >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 24 17:30:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Xiao-Yong Jin >Release: 7.0-BETA1 >Organization: >Environment: FreeBSD neutralino.homeunix.net 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Sat Oct 20 00:47:13 UTC 2007 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: When doing make install clean under www/w3m, it fails with the following message cc -I. -I. -O2 -fno-strict-aliasing -pipe -fomit-frame-pointer -march=pent ium4m -I/usr/include/openssl -I/usr/local/include -I/usr/local/include -D HAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/local/libexec/w3m\" -DCGIBIN_DIR=\"/usr/ local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/local/share/w3m\" -DETC_DIR= \"/usr/local/etc\" -DCONF_DIR=\"/usr/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/local/share/locale\" -o mktable mktable.o dummy.o -L/usr /local/lib -lm -L. -lindep -L/usr/local/lib -lgc sort funcname.tab | nawk -f ./functable.awk > functable.tab ./mktable 100 functable.tab > functable.c Bad system call (core dumped) *** Error code 140 Stop in /usr/ports/www/w3m/work/w3m-0.5.2. *** Error code 1 Stop in /usr/ports/www/w3m. The core file gives out backtrace using gdb as follows #0 0x28102adb in ksem_init () from /lib/libc.so.7 #1 0x280f8489 in sem_init () from /lib/libc.so.7 #2 0x280ab019 in GC_stop_init () from /usr/local/lib/libgc.so.1 #3 0x280aa6df in GC_thr_init () from /usr/local/lib/libgc.so.1 #4 0x280a6ed6 in GC_init_inner () from /usr/local/lib/libgc.so.1 #5 0x280a2c36 in GC_generic_malloc_inner () from /usr/local/lib/libgc.so.1 #6 0x280a2d96 in GC_generic_malloc () from /usr/local/lib/libgc.so.1 #7 0x280a30f2 in GC_malloc () from /usr/local/lib/libgc.so.1 #8 0x08049aa8 in Strnew_charp () #9 0x00000064 in ?? () #10 0x00000000 in ?? () #11 0x281bb200 in __tsd_lock () from /lib/libc.so.7 #12 0x08048a52 in main () FYI, here is the /etc/make.conf # cat /etc/make.conf CPUTYPE?=pentium4m CFLAGS= -O2 -fno-strict-aliasing -pipe -fomit-frame-pointer COPTFLAGS= -O -pipe -fomit-frame-pointer # added by use.perl 2007-10-23 03:00:23 PERL_VER=5.8.8 PERL_VERSION=5.8.8 >How-To-Repeat: Probably using the same make.conf as stated above, and do make install clean under ports/www/w3m. >Fix: >Release-Note: >Audit-Trail: >Unformatted: