ports/137056: VLC 1.0.0 does not work on 7.1 + workaround patch

Vaclav Haisman v.haisman at sh.cvut.cz
Fri Jul 24 16:10:02 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list