From owner-freebsd-questions@FreeBSD.ORG Wed May 20 23:43:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EBE41065672 for ; Wed, 20 May 2009 23:43:08 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 416E98FC12 for ; Wed, 20 May 2009 23:43:08 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1M6vRD-00084H-7Z for freebsd-questions@freebsd.org; Wed, 20 May 2009 16:43:07 -0700 Message-ID: <23645545.post@talk.nabble.com> Date: Wed, 20 May 2009 16:43:07 -0700 (PDT) From: Rudolf Koenig To: freebsd-questions@freebsd.org In-Reply-To: <92056ebc0903310732g26d666d0q1c4932d642b9243@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: info-r@koeniglich.de References: <92056ebc0903310732g26d666d0q1c4932d642b9243@mail.gmail.com> Subject: Re: xview problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 23:43:08 -0000 > and I get the same error for any other application using xview. IMHO it is a libX11 bug. The current libX11 version is compiled with USE_XCB, and the XCB implementation of XAllocID(dpy) (in the famous xcb_io.c) requires you to call the (private) _XIDHandler(dpy) function before calling it again. But our beloved XView library calls XAllocID 4 times in a row. Adding an _XIDHandler after each XAllocID in xview/server/server.c solved the problem for me. My question is where to post this bug, as it should be fixed in libX11 and not in libxview. Regards, Rudi -- View this message in context: http://www.nabble.com/xview-problem-tp22807229p23645545.html Sent from the freebsd-questions mailing list archive at Nabble.com.