gst-register + libthr seg fault (crashed)..
Jeremy Messenger
mezz7 at cox.net
Sat May 31 02:42:52 PDT 2003
I am emailing to both -gnome and -threads, because I am not sure whom
fault.. Anyway, I did the fresh installtion of FreeBSD 5.1-BETA2, CVSup'ed
and did the buildworld/update kernel (GENERIC for now). I am trying to
install Gnome2 from the very fresh and empty /usr/local/ and /usr/X11R6/ ..
And, it crashed at the multimedia/gstreamer-plugins in the install part.
Here's information in the bottom, which I am collecting them as possible.
BTW: I use /etc/libmap.conf method..
Cheers,
Mezz
=================================
gmake[1]: Leaving directory `/usr/ports/multimedia/gstreamer-
plugins/work/gst-plugins-0.6.1'
===> Generating temporary packing list
Segmentation fault (core dumped)
*** Error code 139
Stop in /usr/ports/multimedia/gstreamer-plugins.
=================================
=================================
% gdb gst-register
(gdb) r
Starting program: /usr/X11R6/bin/gst-register
Program received signal SIGSEGV, Segmentation fault.
_pthread_rwlock_rdlock (rwlock=0x2844a190)
at /usr/src/lib/libthr/thread/thr_rwlock.c:160
160 while (prwlock->blocked_writers || prwlock->state < 0) {
(gdb) bt
#0 _pthread_rwlock_rdlock (rwlock=0x2844a190)
at /usr/src/lib/libthr/thread/thr_rwlock.c:160
#1 0x28419262 in _nsdispatch (retval=0xbfbff88c, disp_tab=0x284493c0,
database=0x284419f3 "passwd", method_name=0x28441a19 "getpwuid_r",
defaults=0x28449260) at /usr/src/lib/libc/net/nsdispatch.c:574
#2 0x283e4615 in getpwuid_r (uid=0, pwd=0xbfbff890, buffer=0x0, bufsize=0,
result=0xbfbff88c) at /usr/src/lib/libc/gen/getpwent.c:332
#3 0x2827cfb4 in g_get_any_init () at gutils.c:782
#4 0x2827d2ea in g_get_home_dir () at gutils.c:915
#5 0x28084845 in init_pre () at gst.c:403
#6 0x28084e51 in init_popt_callback (context=0x804e000,
reason=POPT_CALLBACK_REASON_PRE, option=0x283cee00, arg=0x0, data=0x0)
at gst.c:601
#7 0x283803cc in invokeCallbacksPRE (con=0x804e000, opt=0x0) at popt.c:77
#8 0x28380394 in invokeCallbacksPRE (con=0x804e000, opt=0x0) at popt.c:69
#9 0x28380725 in poptGetContext (name=0x280c2f4d "GStreamer", argc=1,
argv=0x0, options=0x0, flags=0) at popt.c:192
#10 0x280843b3 in gst_init_with_popt_table (argc=0xbfbffb5c,
argv=0xbfbffb60,
popt_options=0x0) at gst.c:269
#11 0x28083fce in gst_init (argc=0x0, argv=0x0) at gst.c:169
#12 0x080489ff in main (argc=1, argv=0xbfbffb7c) at gst-register.c:56
#13 0x080488c9 in _start ()
=================================
=================================
# ldd gst-register
gst-register:
[...]
libc.so.5 => /usr/lib/libc.so.5 (0x28386000)
[...]
libc_r.so.5 => /usr/lib/libthr.so.1 (0x28467000)
=================================
=================================
% uname -a
FreeBSD personal.mezzweb.com 5.1-BETA FreeBSD 5.1-BETA #0: Fri May 30
20:00:20 CDT 2003
root at personal.mezzweb.com:/usr/obj/usr/src/sys/GENERIC i386
=================================
=================================
% cat /etc/libmap.conf
# /etc/libmap.conf
#
# candidate mapping
#
# Everything uses 'libthr'.
libc_r.so.5 libthr.so.1
libc_r.so libthr.so
# 'mplayer' uses libc_r.
[/usr/local/bin/mplayer]
libc_r.so.5 libc_r.so.5
libc_r.so libc_r.so
[mplayer]
libc_r.so.5 libc_r.so.5
libc_r.so libc_r.so
=================================
=================================
% cat /etc/make.conf
CPUTYPE?=athlon-xp
CFLAGS= -O -pipe -g
STRIP=
NOPROFILE=true
WITH_LIBMAP=yes
WITH_GNOME_DESKTOP2=yes
WITH_FAM=yes
WITHOUT_CUPS=yes
WITHOUT_PILOT=yes
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
=================================
--
bsdforums.org 's moderator, mezz.
More information about the freebsd-threads
mailing list