problem for run vlc on arm

*nix specific usage questions
eric.gl.CN
Blank Cone
Blank Cone
Posts: 51
Joined: 19 Mar 2009 03:18

problem for run vlc on arm

Postby eric.gl.CN » 10 Mar 2010 07:07

Hi pals,
I have successfully(maybe, I'm not sure, but it make and make install successfully).
Then I have run it on arm
it comes into erroc

Code: Select all

test@172 local]$ vlc VLC media player 1.0.1 Goldeneye [0x83170] main playlist fetcher error: cannot spawn secondary preparse thread [0x2c728] main playlist error: cannot create playlist fetcher [0x2c728] main playlist error: cannot spawn preparse thread [0x2c728] main playlist error: cannot create playlist preparser [0x2c728] main playlist error: cannot spawn playlist thread [0x831a8] main interface error: interface thread could not be created at interface/interface.c:151 (Operation not permitted) [0x831a8] main interface error: cannot spawn interface thread [0x122d8] main interface error: no suitable interface module [0x12170] main libvlc error: interface "signals" initialization failed [0x122d8] main interface error: no interface module matched "globalhotkeys,none" [0x122d8] main interface error: no suitable interface module [0x12170] main libvlc error: interface "globalhotkeys,none" initialization failed [0x12170] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Remote control interface initialized. Type `help' for help. [0x12320] main interface error: interface thread could not be created at interface/interface.c:151 (Operation not permitted) [0x12320] main interface error: cannot spawn interface thread *** LibVLC Exception not handled: Interface initialization failed Set a breakpoint in 'libvlc_exception_not_handled' to debug.
It seems create the thread is failed.
I'm confused. The make is successfully, and my crosstool have the libpthread. Why it say cannot spawn the secondary preparse thread.
maybe some step I'm wrong? can anybody give me a little hint on me. Thanks a lot

eric.gl.CN
Blank Cone
Blank Cone
Posts: 51
Joined: 19 Mar 2009 03:18

Re: problem for run vlc on arm

Postby eric.gl.CN » 10 Mar 2010 10:50

follow is a plus,
I use uclibc to crosscompile my vlc for arm. Any use this library successfully compile vlc and run it on arm?
this is the reason I got does this problem? I must ust libc?
or I cannot run vlc because the previlige is wrong? cause I see 'operation not permitted' report.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: problem for run vlc on arm

Postby xtophe » 12 Mar 2010 18:34

Your vlc install seems seriously screwed as it can't create threads and can't find its plugins.
Xtophe

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: problem for run vlc on arm

Postby Rémi Denis-Courmont » 13 Mar 2010 09:41

VLC has no permission to create threads. It cannot work.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

eric.gl.CN
Blank Cone
Blank Cone
Posts: 51
Joined: 19 Mar 2009 03:18

Re: problem for run vlc on arm

Postby eric.gl.CN » 17 Mar 2010 06:18

yes, I have see the source code.
the function pthread_create() is failed, the errno is 1. I use strerror(1) to printf and the error string is
"Operation not permitted".

but it confused me. why my vlc program can not create thread on my arm linux? it seems no relationship with my compile environment and library(I use the uclibc).
any ideas?

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: problem for run vlc on arm

Postby Rémi Denis-Courmont » 26 Mar 2010 22:41

Sounds like a problem with the C run-time library, really.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

peejay1981
New Cone
New Cone
Posts: 1
Joined: 19 Jun 2010 13:30

Re: problem for run vlc on arm

Postby peejay1981 » 19 Jun 2010 13:32

The problem is that pthreads is not implemented in uclibc - try a toolchain with eglibc/glibc instead.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests