From owner-freebsd-ports-bugs Fri Jan 31 3:19:50 2003 Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A7D337B401 for ; Fri, 31 Jan 2003 03:19:49 -0800 (PST) Received: from worf.kerna.com (worf.kerna.com [194.106.143.118]) by mx1.FreeBSD.org (Postfix) with SMTP id CB62143F79 for ; Fri, 31 Jan 2003 03:19:39 -0800 (PST) (envelope-from james@now.ie) Received: (qmail 70997 invoked by uid 1001); 31 Jan 2003 11:19:36 -0000 Date: Fri, 31 Jan 2003 11:19:36 +0000 From: James Raftery To: Norikatsu Shigemura Cc: parv , Tsurutani Naoki , freebsd-ports-bugs@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/46106: net/vnc v3.3.5 - vncviewer core dumps w/ sig 11 on its own Message-ID: <20030131111936.GB12339@bender.kerna.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Norikatsu Shigemura wrote: > I read same problem (maybe) in ports-jp/13501(Japanese ports ML). > He, which is Tsurutani Naoki , > reported that use CONFIGURE_ARGS= --with-installed-zlib in > port's Makefile. Would you try it? That also solves the problem for me, and is neater than forcing a compilation with -O2 or no optimization. Patch below, if parv can confirm success too. I'll update the bug filed with the VNC folks. This fits with the backtrace: (gdb) bt #0 0x805957b in inflate_codes () #1 0x8058487 in inflate_blocks () #2 0x805761f in inflate () #3 0x805707d in rdr::ZlibInStream::decompress () #4 0x8056f9c in rdr::ZlibInStream::overrun () #5 0x80526dc in zrleDecode8 () #6 0x8054468 in zrleDecode () #7 0x804fa4d in HandleRFBServerMessage () #8 0x8051925 in main () #9 0x804adb1 in _start () (gdb) Thanks! james --- Makefile.orig Fri Jan 31 10:39:51 2003 +++ Makefile Fri Jan 31 10:40:59 2003 @@ -14,6 +14,8 @@ MAINTAINER= james@now.ie GNU_CONFIGURE= yes +# vnc supplied zlib seg. faults if compiled with -O +CONFIGURE_ARGS= --with-installed-zlib USE_REINPLACE= yes USE_XLIB= yes USE_XPM= yes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message