Logo Hardware.com.br
peczenyj
peczenyj Geek Registrado
3K Mensagens 75 Curtidas

BadAlloc (insufficient resources for operation)

#1 Por peczenyj 12/03/2008 - 13:26
De uns dias para cá eu não consigo ver nenhum video no ubuntu.

exemplo do que acontece com o xine e mplayer (mas o mesmo erro acontece em todos os tocadores de video, em todos os formatos).

$ xine boy\ do\ subterraneo.mpg 
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.
AFD changed from -2 to -1
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 2497
Current serial number in output stream: 2498


$ mplayer boy\ do\ subterraneo.mpg 
MPlayer 2:1.0~rc1-0ubuntu13.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing boy do subterraneo.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 320x239 (aspect 1) 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 239 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 22050 Hz, 1 ch, s16le, 64.0 kbit/18.14% (ratio: 8000->44100)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 239 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.34:1 - prescaling to correct movie aspect.
VO: [xv] 320x239 => 320x239 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0


MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.


Eu vi estes videos já, não tem nada corrompido, mas alguma coisa aconteceu q nada funciona. Andei pesquisando sobre o erro e parece ser algo no X mas não consegui corrigir.

Alguem me dá um Help?
ph2
ph2 Super Participante Registrado
637 Mensagens 21 Curtidas
#2 Por ph2
12/03/2008 - 20:05
peczenyj disse:



MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug



olá!

já tentou reinstalar os players e codecs?
jqueiroz
jqueiroz Cyber Highlander Registrado
104K Mensagens 5.7K Curtidas
#3 Por jqueiroz
13/03/2008 - 16:32
Olá peczenyj.

Faz um teste pra mim??? Salve todos os seus documentos e execute o comando abaixo, por favor.

glxgears -printfps

Se, como eu estou imaginando, sua sessão gráfica cair miseravelmente, e você tiver que voltar ao login, reinstale o pacote 'xserver-xorg-core' e os drivers 3D, se estiver usando-os.
"chmod 777 nunca ajudou ninguém" (c) 2002-2021 JQueiroz/FGdH
Conheça o Blog do Zekke
jqueiroz
jqueiroz Cyber Highlander Registrado
104K Mensagens 5.7K Curtidas
#6 Por jqueiroz
14/03/2008 - 14:32
Ué... aqu foi tudo normal

Chegou a ver as engrenagens???

Eu explico: há pouco tempo, eu tive um problema parecido com esse (BadAlloc/Insuficient resources for operation) em programas como o Azureus e o aMule. Ia deixar pra lá, até que tentei rodar um programa gráfico e o X.org caiu. Daí eu comecei a investigar, e vi que os dois problemas estavam relacionados, tanto que tiveram a mesma solução.
"chmod 777 nunca ajudou ninguém" (c) 2002-2021 JQueiroz/FGdH
Conheça o Blog do Zekke
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal