Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 11:19:36 +0000
From:      James Raftery <james@now.ie>
To:        Norikatsu Shigemura <nork@FreeBSD.org>
Cc:        parv <parv_fm@emailgroups.net>, Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>, 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>

next in thread | raw e-mail | index | archive | help
Norikatsu Shigemura <nork@FreeBSD.org> wrote:
>    I read same problem (maybe) in ports-jp/13501(Japanese ports ML).
>    He, which is Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>,
>    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




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