Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2009 21:40:34 -0800
From:      Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>
To:        freebsd-ports@freebsd.org
Cc:        Doug Barton <dougb@freebsd.org>, Tom Uffner <tom@uffner.com>
Subject:   Re: x11-toolkits/xview (actually contool)
Message-ID:  <200908052140.35729.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>
In-Reply-To: <4A7A5757.40009@FreeBSD.org>
References:  <4A74D10A.9000507@uffner.com> <4A7A50C4.30804@uffner.com> <4A7A5757.40009@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 05 August 2009 20:08:55 Doug Barton wrote:
> Ok, so now I'm up to the point where starting contool give me this:
>
> contool
> Assertion failed: (ret != inval_id), function _XAllocID, file
> xcb_io.c, line 378.
> Abort trap: 6 (core dumped)

You get a better a log if you install contool unstripped [1]:
(gdb) bt
#0  0x28463eb7 in kill () from /lib/libc.so.7
#1  0x28463e16 in raise () from /lib/libc.so.7
#2  0x28462a1a in abort () from /lib/libc.so.7
#3  0x28448ee6 in __assert () from /lib/libc.so.7
#4  0x28284d46 in _XAllocID (dpy=0x28524600) at xcb_io.c:378
#5  0x2818e11c in server_init (parent=0, server_public=676345056, avlist=0xbfbfd944)
    at server.c:746
#6  0x281f33b9 in xv_create_avlist (parent=0, pkg=0x0, avlist=0xbfbfd944) at xv.c:391
#7  0x281f315b in xv_create (parent=0, pkg=0x28210040) at xv.c:307
#8  0x281f520a in xv_init (attr1=1241974786) at xv_init.c:308
#9  0x0804b801 in main (argc=1, argv=0xbfbfe6e4) at contool.c:777

Which points to xv_init from xview as the culprit. Since that is
the most basic function of xview, it might be best to mark it as
BROKEN for the time being and complain with Xorg about yet another
case of backwards compatibility failing. Of course I meant to say
to patch it or remove the port and it's dependants.

[1] Patch:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/contool/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile    9 Jun 2009 15:33:17 -0000       1.20
+++ Makefile    6 Aug 2009 05:20:11 -0000
@@ -24,8 +24,12 @@

 MAN1=          contool.1

+
 pre-install:
        @${MKDIR} ${PREFIX}/lib/help
+.if defined(WITH_DEBUG)
+       -${SED} -i.bak -e 's/INSTPGMFLAGS = -s/INSTPGMFLAGS =/' ${WRKSRC}/Makefile
+.endif

 post-install:
        @${CAT} ${PKGMESSAGE}
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908052140.35729.mel.flynn%2Bfbsd.ports>