ports/101458: libgthread-2.0 in glib-2 needs >pthread_getschedparam but can't find it
Andrew Reilly
andrew-freebsd at areilly.bpc-users.org
Sun Aug 6 06:50:15 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list