Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 19:56:07 +0800
From:      "David Xu" <davidxu@freebsd.org>
To:        "Robert Watson" <rwatson@freebsd.org>, <threads@freebsd.org>
Subject:   Re: libkse and signalling (libthr vs ports/net/linuxigd (fwd))
Message-ID:  <001701c326a2$753d1280$0701a8c0@tiger>
References:  <Pine.NEB.3.96L.1030530074018.80524A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
libkse's signal handling code is not complete yet,  we are still
busy working on it,  this is the last stage to make libkse to fully =
work.

David Xu

----- Original Message -----=20
From: "Robert Watson" <rwatson@FreeBSD.org>
To: <threads@FreeBSD.org>
Sent: Friday, May 30, 2003 7:41 PM
Subject: libkse and signalling (libthr vs ports/net/linuxigd (fwd))


>=20
> I realize this message is mostly about an interaction with libthr, but
> thrown in as a freebie at the bottom, the author mentions that it =
works
> fine with libkse except that killall doesn't work (?).
>=20
>=20
> Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
> robert@fledge.watson.org      Network Associates Laboratories
>=20
> ---------- Forwarded message ----------
> Date: Fri, 30 May 2003 15:10:37 +0800
> From: leafy <leafy@leafy.idv.tw>
> To: freebsd-current@freebsd.org
> Subject: libthr vs ports/net/linuxigd
>=20
> Using libthr for upnpd produces following backtrace when starting up
>=20
> #0  0x281f5b03 in _umtx_lock () from /usr/lib/libc.so.5
> (gdb) backtrace
> #0  0x281f5b03 in _umtx_lock () from /usr/lib/libc.so.5
> #1  0x280880e8 in _spinlock_pthread (pthread=3D0x4, lck=3D0x8054130) =
at umtx.h:62
> #2  0x28088048 in _spinlock (lck=3D0xc2986ab0)
>     at /usr/src/lib/libthr/thread/thr_spinlock.c:69
> #3  0x2808446d in mutex_lock_common (mutex=3D0x280d8e0c, nonblock=3D0)
>     at /usr/src/lib/libthr/thread/thr_mutex.c:357
> #4  0x28084724 in __pthread_mutex_lock (mutex=3D0x280d8e0c)
>     at /usr/src/lib/libthr/thread/thr_mutex.c:511
> #5  0x280a927a in GetNextItemInQueue(ThreadArg*, PoolQueueItem&) ()
>    from /usr/local/lib/libupnp.so
> #6  0x280a938e in GetNextItemInQueue(ThreadArg*, PoolQueueItem&) ()
>    from /usr/local/lib/libupnp.so
> #7  0x2808214c in _thread_start ()
>     at /usr/src/lib/libthr/thread/thr_create.c:220
> #8  0x282497a7 in _ctx_start () from /usr/lib/libc.so.5
>=20
> Curiously, libkse works fine (but you can't do 'killall upnpd' with =
libkse=20
> though)
>=20
> Jiawei Ye=20
> --=20
> "Without the userland, the kernel is useless."
>                --inspired by The Tao of Programming
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to =
"freebsd-current-unsubscribe@freebsd.org"
>=20
> _______________________________________________
> freebsd-threads@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to =
"freebsd-threads-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701c326a2$753d1280$0701a8c0>