From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 6 06:50:15 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2533916A4DF for ; Sun, 6 Aug 2006 06:50:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A32743D4C for ; Sun, 6 Aug 2006 06:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k766oET8043037 for ; Sun, 6 Aug 2006 06:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k766oEUg043036; Sun, 6 Aug 2006 06:50:14 GMT (envelope-from gnats) Resent-Date: Sun, 6 Aug 2006 06:50:14 GMT Resent-Message-Id: <200608060650.k766oEUg043036@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, Andrew Reilly Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0830D16A4DD for ; Sun, 6 Aug 2006 06:40:51 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta03sl.mx.bigpond.com (omta03sl.mx.bigpond.com [144.140.92.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 394FD43D5F for ; Sun, 6 Aug 2006 06:40:49 +0000 (GMT) (envelope-from andrew@areilly.bpa.nu) Received: from areilly.bpa.nu ([141.168.7.22]) by omta03sl.mx.bigpond.com with ESMTP id <20060806064046.GOTP2500.omta03sl.mx.bigpond.com@areilly.bpa.nu> for ; Sun, 6 Aug 2006 06:40:46 +0000 Received: (qmail 12207 invoked by uid 501); 6 Aug 2006 06:40:14 -0000 Message-Id: <20060806064014.12206.qmail@areilly.bpa.nu> Date: 6 Aug 2006 06:40:14 -0000 From: Andrew Reilly To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/101458: libgthread-2.0 in glib-2 needs >pthread_getschedparam but can't find it X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Reilly List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2006 06:50:15 -0000 >Number: 101458 >Category: ports >Synopsis: libgthread-2.0 in glib-2 needs >pthread_getschedparam but can't find it >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: Sun Aug 06 06:50:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andrew Reilly >Release: FreeBSD 6.1-STABLE amd64 >Organization: >Environment: System: FreeBSD duncan.reilly.home 6.1-STABLE FreeBSD 6.1-STABLE #15: Sun Aug 6 10:59:35 EST 2006 root@duncan.reilly.home:/usr/obj/usr/src/sys/DUNCAN amd64 machine is an AMD64-X2-4400 (dual-core) nVidia4 motherboard libgthread is in glib-2.10.3, based on a cvsup/portupgrade from yesterday. ldd /usr/local/bin/gvim (the culprit) says: /usr/local/bin/gvim: libgtk-x11-2.0.so.0 => /usr/X11R6/lib/libgtk-x11-2.0.so.0 (0x8007b3000) libgdk-x11-2.0.so.0 => /usr/X11R6/lib/libgdk-x11-2.0.so.0 (0x800bd3000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x800d65000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x800e68000) libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x800f70000) libatk-1.0.so.0 => /usr/local/lib/libatk-1.0.so.0 (0x801072000) libgdk_pixbuf-2.0.so.0 => /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0 (0x801191000) libpangocairo-1.0.so.0 => /usr/X11R6/lib/libpangocairo-1.0.so.0 (0x8012a8000) libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x8013b1000) libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x8014bb000) libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x8015c0000) libpangoft2-1.0.so.0 => /usr/X11R6/lib/libpangoft2-1.0.so.0 (0x801719000) libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x801844000) libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x801982000) libz.so.3 => /lib/libz.so.3 (0x801af9000) libpango-1.0.so.0 => /usr/X11R6/lib/libpango-1.0.so.0 (0x801c0c000) libm.so.4 => /lib/libm.so.4 (0x801d4c000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x801e68000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x801f71000) libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x802082000) libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x8021c1000) libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x8022c4000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x802453000) libncurses.so.6 => /lib/libncurses.so.6 (0x8025b3000) libc.so.6 => /lib/libc.so.6 (0x80270c000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x80291b000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x802af9000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x802cea000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x802df4000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x802f0e000) libglitz.so.1 => /usr/local/lib/libglitz.so.1 (0x803034000) libintl.so.6 => /usr/local/lib/libintl.so.6 (0x803159000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x803262000) >Description: gvim has been working nicely for a while (in GTK2 guise), but just now I tried mousing: File:open and clicking on the "open file" icon, and both caused an immediate crash, with the following message to stdout: /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam" >How-To-Repeat: Build ports/editors/vim from 2006/08/01 00:43:51, with make flag: -DWITH_GTK2. See that it works nicely until you open a file with the GUI. >Fix: Don't know. This is the first time that I saw a glib2 problem with threads like this. I don't even know which of the three thread library options it is using (the default.) I have rebuilt kernel+world since doing the portupgrade, which I guess could have bumped a system library version somehow. I'll do another cvsup/portupgrade -frR glib-2 (which will probably rebuild everything!) and see what happens. >Release-Note: >Audit-Trail: >Unformatted: