Autor Tópico: [Resolvido] VLC não inicia no ubuntu 14.04  (Lida 12173 vezes)

Offline risislunit

  • Usuário Ubuntu
  • *
  • Mensagens: 83
    • Ver perfil
[Resolvido] VLC não inicia no ubuntu 14.04
« Online: 21 de Abril de 2014, 23:06 »
Olá pessoal do fórum ubuntu!!!

Hoje fiz a atualização do meu ubuntu 13.10 para o 14.04
tudo funcionou bem exceto o meu VLC.

Ao tentar rodá-lo ele informa a seguinte notificação pelo terminal

Código: [Selecionar]
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[0x25e1e18] main stream error: cannot pre fill buffer
Falha de segmentação (imagem do núcleo gravada)

Tentei reinstalar pelo apt-get, passei o parâmetro --purge, reinstalei novamente e nada!!!

Alguém saberia de uma possível solução?

Uso Ubuntu 14.04 amd64

Desde já agradeço


Resolução:

Agradeço a todos que me ajudaram neste post!!!

Pesquisando na internet consegui resolver o meu problema

usei:

Código: [Selecionar]
$ /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
$ rm -rf .local/share/vlc
$ rm -rf .config/vlc
$ sudo apt-get purge vlc
$ sudo apt-get -f install vlc

Pronto!!!

Parti pro abraço usando meu VLC novamente!!!!

Valeu mais uma vez obrigado ao pessoal do forum!!!

Principalmente a Sergio Benjamim!!!

« Última modificação: 30 de Abril de 2014, 01:17 por risislunit »

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #1 Online: 21 de Abril de 2014, 23:21 »
Olá,

Você fez atualização ou instalou o Ubuntu do zero?

Abraços!

Offline irtigor

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.344
  • Delete, delete, delete!
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #2 Online: 21 de Abril de 2014, 23:41 »
Mostre a saída de "apt-cache policy vlc".

Offline risislunit

  • Usuário Ubuntu
  • *
  • Mensagens: 83
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #3 Online: 21 de Abril de 2014, 23:49 »
Obrigado pelas respostas amigos

respondendo ao Renan Rischiotto: Não. Eu fiz a atualização pelo ubuntu 13.10 quando ele informa que existe uma nova versão e se deseja atualizar.

respondendo ao irtigor:

Código: [Selecionar]
vlc:
  Instalado: 2.1.2-2build2
  Candidato: 2.1.2-2build2
  Tabela de versão:
 *** 2.1.2-2build2 0
        500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status
« Última modificação: 22 de Abril de 2014, 00:03 por risislunit »

Offline risislunit

  • Usuário Ubuntu
  • *
  • Mensagens: 83
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #4 Online: 22 de Abril de 2014, 21:50 »
Pessoal pelo registro do dmesg encontrei isto

Código: [Selecionar]
[13326.772207] vlc[10003]: segfault at 0 ip 00007fb97d60b92a sp 00007fb96c3118d8 error 4 in libc-2.19.so[7fb97d582000+1bc000]

Alguém teria alguma pista?

Offline irtigor

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 4.344
  • Delete, delete, delete!
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #5 Online: 22 de Abril de 2014, 22:19 »
Você esbarrou em bug, experimente excluir suas configurações (plugins e qualquer outra coisa), teste uma versão mais recente, e depois envie relatórios para o ubuntu e/ou vlc. Se acontece ao simplesmente iniciar o vlc como o titulo sugere, ou seja, sem tocar absolutamente nada, então a solução vai ser usar outro tocador (se o problema persistir com uma versão mais recente.).

Offline risislunit

  • Usuário Ubuntu
  • *
  • Mensagens: 83
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #6 Online: 22 de Abril de 2014, 22:46 »
Ok amigo Obrigado!!!

Offline coutogilson

  • GIlson Couto
  • Usuário Ubuntu
  • *
  • Mensagens: 13
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #7 Online: 23 de Abril de 2014, 18:51 »
Amigo, também estou com o mesmo problema e também não consigo resolver.
Mas há uma luz: vi na internet que já tem a versão VLC 2.1.3 (enquanto a nossa é 2.1.2), porém usei tutorial que não deu certo, vou tentar este agora, quem sabe: http://www.enqlu.com/2014/03/how-to-install-vlc-in-ubuntu-1404-or.html, cujo código é
Código: [Selecionar]
sudo add-apt-repository ppa:djcj/vlc-stable && sudo apt-get && sudo apt-get -y install vlc.
Avisarei aqui se der certo.
Abraços
Advogado e amante de tecnologia.

Offline risislunit

  • Usuário Ubuntu
  • *
  • Mensagens: 83
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #8 Online: 23 de Abril de 2014, 19:13 »
Infelizmente o meu não deu certo o 2.1.3 também apresenta o erro :-[

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #9 Online: 23 de Abril de 2014, 19:22 »
Experimenta apagar a pasta de configuração do VLC, está em ~/.local/share/vlc

Eu consegui abri o VLC aqui, mas não tentei nenhum vídeo ainda. Como vocês estão abrindo ele?
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #10 Online: 23 de Abril de 2014, 19:45 »
Se continuar dando erro, instala o vlc-dbg:

Código: [Selecionar]
sudo apt-get install vlc-dbg
Depois, rode o vlc debugando, digite

Código: [Selecionar]
gdb vlc
no terminal, aperte Enter. A tela do terminal irá mudar um pouco, ficará escrito (gdb) no canto esquerdo. Digite

Código: [Selecionar]
run
e aperte Enter, e copie e cole o resultado aqui. Usa o code do fórum, essas mensagens de debug são grandes.
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline risislunit

  • Usuário Ubuntu
  • *
  • Mensagens: 83
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #11 Online: 23 de Abril de 2014, 20:46 »
Sergio Benjamim

apaguei o .local/share/vlc e persiste o problema

estou abrindo como se abrisse um vídeo normalmente e também tento pelo terminal

o código do gdb segue abaixo:

Código: [Selecionar]
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Lendo símbolos de vlc...Lendo símbolos de /usr/lib/debug/.build-id/c2/7da7344af4b696a16270ea6f2475cd067eb1e3.debug...concluído.
concluído.
(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.1.3 Rincewind (revision 2.1.3-0-ge6a71cc)
[New Thread 0x7fffed54d700 (LWP 12539)]
[New Thread 0x7ffff7f49700 (LWP 12540)]
[New Thread 0x7ffff39f2700 (LWP 12541)]
[New Thread 0x7fffe39d2700 (LWP 12543)]
[New Thread 0x7fffe34c1700 (LWP 12544)]
[New Thread 0x7fffd0427700 (LWP 12585)]
[New Thread 0x7fffcfc26700 (LWP 12586)]
[New Thread 0x7fffcd42c700 (LWP 12594)]
[New Thread 0x7fffccc2b700 (LWP 12595)]
[New Thread 0x7fffc7fff700 (LWP 12597)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe39d2700 (LWP 12543)]
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: Arquivo ou diretório não encontrado.
(gdb)


Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #12 Online: 23 de Abril de 2014, 21:12 »
Espera um pouco, esse vlc é o do PPA?

Desinstala tudo que for relacionado ao VLC, desativa esse PPA e instale novamente. Vamos tentar debugar com a versão oficial.

Código: [Selecionar]
sudo apt-get purge vlc
Segue uma lista do que você vai precisar desinstalar também:

Código: [Selecionar]
libaacs0
libbasicusageenvironment0
libbluray1
libcddb2
libcrystalhd3
libdvbpsi8
libebml4
libgnutls28
libgroupsock1
libhogweed2
libiso9660-8
liblivemedia23
libmatroska6
libpostproc52
libproxy-tools
libresid-builder0c2a
libsdl-image1.2
libsdl1.2debian
libsidplay2
libssh2-1
libtar0
libupnp6
libusageenvironment1
libva-x11-1
libvcdinfo0
libvlc5
libvlccore7
libxcb-composite0
libxcb-keysyms1
libxcb-xv0
vlc
vlc-data
vlc-dbg
vlc-nox
vlc-plugin-notify
vlc-plugin-pulse
« Última modificação: 23 de Abril de 2014, 21:17 por Sergio Benjamim »
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !

Offline risislunit

  • Usuário Ubuntu
  • *
  • Mensagens: 83
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #13 Online: 23 de Abril de 2014, 22:28 »
Ok Sergio Benjamim!!

Desinstalei tudo! Removi o PPA e instalei o oficial!!!

Segue o código

Código: [Selecionar]
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Lendo símbolos de vlc...Lendo símbolos de /usr/lib/debug/.build-id/1d/943d199a84080cd8b435cb61979d81dcc3f40e.debug...concluído.
concluído.
(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[New Thread 0x7fffebf28700 (LWP 18144)]
[New Thread 0x7ffff7f4d700 (LWP 18145)]
[New Thread 0x7ffff39f2700 (LWP 18146)]
[New Thread 0x7fffeb727700 (LWP 18148)]
[New Thread 0x7fffe825d700 (LWP 18149)]
[New Thread 0x7fffcd0b3700 (LWP 18194)]
[New Thread 0x7fffcc8b2700 (LWP 18197)]
[New Thread 0x7fffc658e700 (LWP 18220)]
[New Thread 0x7fffc5d8d700 (LWP 18221)]
[New Thread 0x7fffc558c700 (LWP 18223)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeb727700 (LWP 18148)]
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: Arquivo ou diretório não encontrado.
(gdb)


Offline Sergio Benjamim

  • Usuário Ubuntu
  • *
  • Mensagens: 2.902
    • Ver perfil
Re: VLC não inicia no ubuntu 14.04
« Resposta #14 Online: 23 de Abril de 2014, 22:37 »
Ok Sergio Benjamim!!

Desinstalei tudo! Removi o PPA e instalei o oficial!!!

Segue o código

Código: [Selecionar]
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Lendo símbolos de vlc...Lendo símbolos de /usr/lib/debug/.build-id/1d/943d199a84080cd8b435cb61979d81dcc3f40e.debug...concluído.
concluído.
(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[New Thread 0x7fffebf28700 (LWP 18144)]
[New Thread 0x7ffff7f4d700 (LWP 18145)]
[New Thread 0x7ffff39f2700 (LWP 18146)]
[New Thread 0x7fffeb727700 (LWP 18148)]
[New Thread 0x7fffe825d700 (LWP 18149)]
[New Thread 0x7fffcd0b3700 (LWP 18194)]
[New Thread 0x7fffcc8b2700 (LWP 18197)]
[New Thread 0x7fffc658e700 (LWP 18220)]
[New Thread 0x7fffc5d8d700 (LWP 18221)]
[New Thread 0x7fffc558c700 (LWP 18223)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeb727700 (LWP 18148)]
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: Arquivo ou diretório não encontrado.
(gdb)


Está ainda aí? Após isso, digita bt nesse console do gdb, aperta Enter. Depois bt full, aperte Enter, e cola os resultados aqui.
É novo no Ubuntu? Já leu o Ubuntu – Guia do Iniciante 2.0 ?
Experimente o Xubuntu 14.04 !