for ( int i = 0; i <= 150; i++ )
        {
            y = i * cos(teta) + 20;
            x = i * sin(teta) + start_x + 240 * j;
            *(p_picture->p[0].p_pixels +
                    (p_picture->p[0].i_lines - y - 1 ) * p_picture->p[0].i_pitch
                    + x ) = 0xAD;
            *(p_picture->p[1].p_pixels +
                    (p_picture->p[1].i_lines - y / 2 - 1 ) * 
p_picture->p[1].i_pitch
                    + x / 2 ) = 0xFC;
            *(p_picture->p[2].p_pixels +
                    (p_picture->p[2].i_lines - y / 2 - 1 ) * 
p_picture->p[2].i_pitch
                    + x / 2 ) = 0xAC;  /* <-- crashes here */
        }

Unfortunately most of the variables are optimized out of the backtrace,
but presumably the calculated pointer value there is incorrect.

This crash was reported against 2.0.0, but the effects.c code file has
not changed in Precise's 2.0.1, and is the same with current upstream
head.

Are you able to reproduce this bug easily?  If so, can you describe the
steps needed to reproduce it?

** Changed in: vlc (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/962664

Title:
  vlc vumeter crashes in vuMeter_run()

To manage notifications about this bug go to:
https://bugs.launchpad.net/vlc/+bug/962664/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to