Re: freebsd-update missed? (was: popen() in multithreaded program - hangs?)
On 20080927 01:06:22, Daniel Eischen wrote: > > It's not security related, so I don't know whether it would be in a > binary update. You should follow the procedure listed in the links > above. I'm not sure either. In every description I see of freebsd-update, there's a claim that it installs "binary security and errata updates". I only use freebsd-update to update my machines and I was under the impression that I've been getting errata updates too. Could this have been missed on the system used to build updates? I'd be surprised, but you know, these things happen. I've CCd in cperciva@ to see what he thinks... -- xw ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: popen() in multithreaded program - hangs?
On Sat, 27 Sep 2008, [EMAIL PROTECTED] wrote: On 20080926 21:43:48, Daniel Eischen wrote: On Sat, 27 Sep 2008, [EMAIL PROTECTED] wrote: On 20080926 16:43:37, Julian Elischer wrote: [EMAIL PROTECTED] wrote: I'm trying to write a client for the jack audio connection kit (http://jackaudio.org), have hit an apparent bug and am not sure what revision of FreeBSD? Ahem, should've mentioned that. FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC http://www.freebsd.org/releases/6.3R/errata.html http://security.freebsd.org/advisories/FreeBSD-EN-08:01.libpthread.asc I wonder if I'm missing something: $ sudo freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 6.3-RELEASE-p4. I appear to have that update but the problem persists. It's not security related, so I don't know whether it would be in a binary update. You should follow the procedure listed in the links above. -- DE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: popen() in multithreaded program - hangs?
On 20080926 21:43:48, Daniel Eischen wrote: > On Sat, 27 Sep 2008, [EMAIL PROTECTED] wrote: > >> On 20080926 16:43:37, Julian Elischer wrote: >>> [EMAIL PROTECTED] wrote: I'm trying to write a client for the jack audio connection kit (http://jackaudio.org), have hit an apparent bug and am not sure >>> >>> what revision of FreeBSD? >> >> Ahem, should've mentioned that. >> >> FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 >> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC > > http://www.freebsd.org/releases/6.3R/errata.html > http://security.freebsd.org/advisories/FreeBSD-EN-08:01.libpthread.asc I wonder if I'm missing something: $ sudo freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 6.3-RELEASE-p4. I appear to have that update but the problem persists. -- xw ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: popen() in multithreaded program - hangs?
On Sat, 27 Sep 2008, [EMAIL PROTECTED] wrote: On 20080926 16:43:37, Julian Elischer wrote: [EMAIL PROTECTED] wrote: I'm trying to write a client for the jack audio connection kit (http://jackaudio.org), have hit an apparent bug and am not sure what revision of FreeBSD? Ahem, should've mentioned that. FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC http://www.freebsd.org/releases/6.3R/errata.html http://security.freebsd.org/advisories/FreeBSD-EN-08:01.libpthread.asc -- DE ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: popen() in multithreaded program - hangs?
On 20080926 16:43:37, Julian Elischer wrote: > [EMAIL PROTECTED] wrote: >> I'm trying to write a client for the jack audio connection kit >> (http://jackaudio.org), have hit an apparent bug and am not sure > > what revision of FreeBSD? Ahem, should've mentioned that. FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC -- xw ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: popen() in multithreaded program - hangs?
[EMAIL PROTECTED] wrote: I'm trying to write a client for the jack audio connection kit (http://jackaudio.org), have hit an apparent bug and am not sure what revision of FreeBSD? who's at fault. This is the client: -- #include #include jack_port_t *input_port; jack_port_t *output_port; jack_client_t *client; int main (void) { jack_status_t status; client = jack_client_open ("cdemo", JackNoStartServer, &status, "default"); if (!client) errx (112, "client_open: could not"); jack_client_close (client); return 0; } -- The jack_client_open() call never returns and the process can only be killed with SIGKILL. Tracing execution in gdb shows that the hang occurs in the popen() call in jack_get_tmpdir(), defined at client.c:114: http://trac.jackaudio.org/browser/trunk/jack/libjack/client.c Is there a known issue with calling popen() in a multithreaded program? At the point of that call, on my system, there are three running threads. Any help/advice on how to resolve this problem would be appreciated. xw ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
popen() in multithreaded program - hangs?
I'm trying to write a client for the jack audio connection kit (http://jackaudio.org), have hit an apparent bug and am not sure who's at fault. This is the client: -- #include #include jack_port_t *input_port; jack_port_t *output_port; jack_client_t *client; int main (void) { jack_status_t status; client = jack_client_open ("cdemo", JackNoStartServer, &status, "default"); if (!client) errx (112, "client_open: could not"); jack_client_close (client); return 0; } -- The jack_client_open() call never returns and the process can only be killed with SIGKILL. Tracing execution in gdb shows that the hang occurs in the popen() call in jack_get_tmpdir(), defined at client.c:114: http://trac.jackaudio.org/browser/trunk/jack/libjack/client.c Is there a known issue with calling popen() in a multithreaded program? At the point of that call, on my system, there are three running threads. Any help/advice on how to resolve this problem would be appreciated. xw ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"