[MPlayer-users] mga_vid division by zero bug
Arpi
arpi at thot.banki.hu
Thu Jan 3 00:40:03 CET 2002
Hi,
thanks, fixed :)
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
>
> I finaly found the bug
> (i musst been blind not to see the oops msg in syslog):
>
> ---schnipp---
> divide error: 0000
> CPU: 0
> EIP: 0010:[<d889fa41>]
> EFLAGS: 00010246
> eax: 007fc000 ebx: 0000001b ecx: 00000006 edx: 00000000
> esi: 00000200 edi: 00000000 ebp: d2007f5c esp: d2007f2c
> ds: 0018 es: 0018 ss: 0018
> Process mplayer (pid: 438, process nr: 58, stackpage=d2007000)
> Stack: 08179990 00000021 00000001 c011499e 08179960 00060000 d88a0e70 00000180
> 00000001 00000180 0000001b 00000006 d2007f8c d889fe2e d88a0e40 00680000
> 082e544c 00000000 d1953d40 ffffffe7 80304a01 00000001 00000000 00000000
> Call Trace: [<c011499e>] [<c012ef64>] [<c010a0c0>]
> Code: f7 ff 89 c7 2b 4d fc 8d 14 bd 00 00 00 00 89 15 04 0e 8a d8
> ---schnapp---
>
> The problems are at:
>
> #695: ifactor = ((sw-1)<<14)/(dw-1);
>
> and
>
> #703: ifactor = ((sh-1)<<14)/(dh-1);
>
> (dh - 1) resp (dw - 1) can and will be zero if the window is resized to
> height 1 or width 1.
>
> I think that should help to explain the wired behaviour of mplayer :-)
>
> Attila Kinali
>
> --
> I am a moslem, i am a terrorist.
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
A'rpi / Astral & ESP-team
--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu
More information about the MPlayer-users
mailing list