[Bug 1257612] [NEW] divide by zero error in radeon_surface.c when opening chrome with WebGL enabled

Chris Wulff crwulff at gmail.com
Wed Dec 4 07:13:50 UTC 2013


Public bug reported:

Passing a tile_split of zero to eg_surface_init_2d causes a divide by
zero error. Launching chromium with WebGL enabled on a AMD Llano
(A8-3850) exhibits this behavior and webgl then fails to work. The
attached patch fixes the problem and allows WebGL to work in chrome on
this platform.

Additional information:

lsb_release -rd
Description:	Ubuntu 13.10
Release:	13.10

Package version: 
libdrm_2.4.46-1ubuntu1

** Affects: libdrm (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "02_fix_divide_zero.diff"
   https://bugs.launchpad.net/bugs/1257612/+attachment/3922795/+files/02_fix_divide_zero.diff

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

Title:
  divide by zero error in radeon_surface.c when opening chrome with
  WebGL enabled

Status in “libdrm” package in Ubuntu:
  New

Bug description:
  Passing a tile_split of zero to eg_surface_init_2d causes a divide by
  zero error. Launching chromium with WebGL enabled on a AMD Llano
  (A8-3850) exhibits this behavior and webgl then fails to work. The
  attached patch fixes the problem and allows WebGL to work in chrome on
  this platform.

  Additional information:

  lsb_release -rd
  Description:	Ubuntu 13.10
  Release:	13.10

  Package version: 
  libdrm_2.4.46-1ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1257612/+subscriptions



More information about the foundations-bugs mailing list