<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:xinghua.cao@intel.com" title="xinghua <xinghua.cao@intel.com>"> <span class="fn">xinghua</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - System hang when use glTexImage3D to specify a 3D texture image"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104760">bug 104760</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEEDINFO
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - System hang when use glTexImage3D to specify a 3D texture image"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104760#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - System hang when use glTexImage3D to specify a 3D texture image"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104760">bug 104760</a>
              from <span class="vcard"><a class="email" href="mailto:xinghua.cao@intel.com" title="xinghua <xinghua.cao@intel.com>"> <span class="fn">xinghua</span></a>
</span></b>
        <pre>Hi, all, I think this issue is very serious, system will hang up and should
hard shutdown to recover the system. Could you investigate it again? thank you.

As my description in this bug, calls TexImage3D to specify the texture image
from level maxLevels to level, system will hang up.
for(int i = 0; i < maxLevels; i++)
{
    int size = 1 << i;
    int level = maxLevels - i - 1;
    glTexImage3D(GL_TEXTURE_3D, level, GL_RGBA, size, 1, 1, 0, GL_RGBA,
GL_UNSIGNED_BYTE, NULL);
}

But if calls TexImage3D to specify the texture image from level 0 to level
maxLevels, the system will not hang up,
for(int i = 0; i < maxLevels; i++)
{
    int size = 1 << (maxLevels - i - 1);
    int level = i;
    glTexImage3D(GL_TEXTURE_3D, level, GL_RGBA, size, 1, 1, 0, GL_RGBA,
GL_UNSIGNED_BYTE, NULL);
}
I do not know why these two ways to alloc memory are very different.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>