Date: Fri, 24 Jul 2009 16:00:57 GMT From: Vaclav Haisman <v.haisman@sh.cvut.cz> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137056: VLC 1.0.0 does not work on 7.1 + workaround patch Message-ID: <200907241600.n6OG0vlG060776@www.freebsd.org> Resent-Message-ID: <200907241610.n6OGA2Ov099009@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137056 >Category: ports >Synopsis: VLC 1.0.0 does not work on 7.1 + workaround patch >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 24 16:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vaclav Haisman >Release: 7.1 >Organization: SU SH >Environment: FreeBSD shell.sh.cvut.cz 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jan 10 11:26:26 CET 2009 root@shelldell.sh.cvut.cz:/usr/obj/usr/src/sys/SHELLDELL amd64 >Description: VLC 1.0.0 fails to start with the following errors: [0x802511138] main input error: input thread could not be created at input/input.c:230 (Operation not permitted) [0x802511138] main input error: cannot create input thread The attached patch disables the section of code that causes it. >How-To-Repeat: >Fix: Patch attached with submission follows: --- src/misc/threads.c.orig 2009-07-24 17:31:23.275029940 +0200 +++ src/misc/threads.c 2009-07-24 17:32:02.859035130 +0200 @@ -784,7 +784,7 @@ int vlc_clone (vlc_thread_t *p_handle, v pthread_sigmask (SIG_BLOCK, &set, &oldset); } -#if defined (_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING >= 0) \ +#if 0 && defined (_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING >= 0) \ && defined (_POSIX_THREAD_PRIORITY_SCHEDULING) \ && (_POSIX_THREAD_PRIORITY_SCHEDULING >= 0) { >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907241600.n6OG0vlG060776>