Program: 183151
Project: 183151
Buggy source:
private void initNamed(){
  Sampler.Builder sb=new Sampler.Builder(mRS);
  sb.setMin(Sampler.Value.LINEAR);
  sb.setMag(Sampler.Value.LINEAR);
  sb.setWrapS(Sampler.Value.CLAMP);
  sb.setWrapT(Sampler.Value.CLAMP);
  mSampler=sb.create();
  sb.setMin(Sampler.Value.NEAREST);
  sb.setMag(Sampler.Value.NEAREST);
  mSamplerText=sb.create();
  ProgramFragment.Builder bf=new ProgramFragment.Builder(mRS,null,null);
  bf.setTexEnable(true,0);
  bf.setTexEnvMode(ProgramFragment.EnvMode.MODULATE,0);
  mPFImages=bf.create();
  mPFImages.setName("String_Node_Str");
  mPFImages.bindSampler(mSampler,0);
  bf.setTexEnvMode(ProgramFragment.EnvMode.MODULATE,0);
  mPFText=bf.create();
  mPFText.setName("String_Node_Str");
  mPFText.bindSampler(mSamplerText,0);
  ProgramStore.Builder bs=new ProgramStore.Builder(mRS,null,null);
  bs.setDepthFunc(ProgramStore.DepthFunc.LESS);
  bs.setDitherEnable(false);
  bs.setDepthMask(true);
  bs.setBlendFunc(ProgramStore.BlendSrcFunc.SRC_ALPHA,ProgramStore.BlendDstFunc.ONE_MINUS_SRC_ALPHA);
  mPSBackground=bs.create();
  mPSBackground.setName("String_Node_Str");
  bs.setDepthFunc(ProgramStore.DepthFunc.ALWAYS);
  bs.setDepthMask(false);
  bs.setBlendFunc(ProgramStore.BlendSrcFunc.SRC_ALPHA,ProgramStore.BlendDstFunc.ONE_MINUS_SRC_ALPHA);
  mPSText=bs.create();
  mPSText.setName("String_Node_Str");
  mPVAlloc=new ProgramVertex.MatrixAllocation(mRS);
  mPVAlloc.setupProjectionNormalized(mWidth,mHeight);
  ProgramVertex.Builder pvb=new ProgramVertex.Builder(mRS,null,null);
  mPV=pvb.create();
  mPV.setName("String_Node_Str");
  mPV.bindAllocation(mPVAlloc);
  mPVOrthoAlloc=new ProgramVertex.MatrixAllocation(mRS);
  mPVOrthoAlloc.setupOrthoWindow(mWidth,mHeight);
  pvb.setTextureMatrixEnable(true);
  mPVOrtho=pvb.create();
  mPVOrtho.setName("String_Node_Str");
  mPVOrtho.bindAllocation(mPVOrthoAlloc);
  mRS.contextBindProgramVertex(mPV);
  mAllocScratchBuf=new int[32];
  mAllocScratch=Allocation.createSized(mRS,Element.USER_I32,mAllocScratchBuf.length);
  mAllocScratch.data(mAllocScratchBuf);
  Log.e("String_Node_Str","String_Node_Str");
{
    mIcons=new Allocation[29];
    mAllocIconIDBuf=new int[mIcons.length];
    mAllocIconID=Allocation.createSized(mRS,Element.USER_I32,mAllocIconIDBuf.length);
    mLabels=new Allocation[29];
    mAllocLabelIDBuf=new int[mLabels.length];
    mAllocLabelID=Allocation.createSized(mRS,Element.USER_I32,mLabels.length);
    Element ie8888=Element.RGBA_8888;
    mIcons[0]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.browser,ie8888,true);
    mIcons[1]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.market,ie8888,true);
    mIcons[2]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.photos,ie8888,true);
    mIcons[3]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.settings,ie8888,true);
    mIcons[4]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.calendar,ie8888,true);
    mIcons[5]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.g1155,ie8888,true);
    mIcons[6]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.g2140,ie8888,true);
    mIcons[7]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.maps,ie8888,true);
    mIcons[8]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path431,ie8888,true);
    mIcons[9]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path676,ie8888,true);
    mIcons[10]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path754,ie8888,true);
    mIcons[11]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path815,ie8888,true);
    mIcons[12]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path1920,ie8888,true);
    mIcons[13]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path1927,ie8888,true);
    mIcons[14]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path3099,ie8888,true);
    mIcons[15]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path3950,ie8888,true);
    mIcons[16]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path4481,ie8888,true);
    mIcons[17]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path5168,ie8888,true);
    mIcons[18]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.polygon2408,ie8888,true);
    mLabels[0]=makeTextBitmap("String_Node_Str");
    mLabels[1]=makeTextBitmap("String_Node_Str");
    mLabels[2]=makeTextBitmap("String_Node_Str");
    mLabels[3]=makeTextBitmap("String_Node_Str");
    mLabels[4]=makeTextBitmap("String_Node_Str");
    mLabels[5]=makeTextBitmap("String_Node_Str");
    mLabels[6]=makeTextBitmap("String_Node_Str");
    mLabels[7]=makeTextBitmap("String_Node_Str");
    mLabels[8]=makeTextBitmap("String_Node_Str");
    mLabels[9]=makeTextBitmap("String_Node_Str");
    mLabels[10]=makeTextBitmap("String_Node_Str");
    mLabels[11]=makeTextBitmap("String_Node_Str");
    mLabels[12]=makeTextBitmap("String_Node_Str");
    mLabels[13]=makeTextBitmap("String_Node_Str");
    mLabels[14]=makeTextBitmap("String_Node_Str");
    mLabels[15]=makeTextBitmap("String_Node_Str");
    mLabels[16]=makeTextBitmap("String_Node_Str");
    mLabels[17]=makeTextBitmap("String_Node_Str");
    mLabels[18]=makeTextBitmap("String_Node_Str");
    mIcons[19]=mIcons[0];
    mIcons[20]=mIcons[1];
    mIcons[21]=mIcons[2];
    mIcons[22]=mIcons[3];
    mIcons[23]=mIcons[4];
    mIcons[24]=mIcons[5];
    mIcons[25]=mIcons[6];
    mIcons[26]=mIcons[7];
    mIcons[27]=mIcons[8];
    mIcons[28]=mIcons[9];
    mLabels[19]=mLabels[0];
    mLabels[20]=mLabels[1];
    mLabels[21]=mLabels[2];
    mLabels[22]=mLabels[3];
    mLabels[23]=mLabels[4];
    mLabels[24]=mLabels[5];
    mLabels[25]=mLabels[6];
    mLabels[26]=mLabels[7];
    mLabels[27]=mLabels[8];
    mLabels[28]=mLabels[9];
    for (int ct=0; ct < mIcons.length; ct++) {
      mIcons[ct].uploadToTexture(0);
      mLabels[ct].uploadToTexture(0);
      mAllocIconIDBuf[ct]=mIcons[ct].getID();
      mAllocLabelIDBuf[ct]=mLabels[ct].getID();
    }
    mAllocIconID.data(mAllocIconIDBuf);
    mAllocLabelID.data(mAllocLabelIDBuf);
  }
}

Fixed version (ground truth):
private void initNamed(){
  Sampler.Builder sb=new Sampler.Builder(mRS);
  sb.setMin(Sampler.Value.LINEAR);
  sb.setMag(Sampler.Value.LINEAR);
  sb.setWrapS(Sampler.Value.CLAMP);
  sb.setWrapT(Sampler.Value.CLAMP);
  mSampler=sb.create();
  sb.setMin(Sampler.Value.NEAREST);
  sb.setMag(Sampler.Value.NEAREST);
  mSamplerText=sb.create();
  ProgramFragment.Builder bf=new ProgramFragment.Builder(mRS,null,null);
  bf.setTexEnable(true,0);
  bf.setTexEnvMode(ProgramFragment.EnvMode.MODULATE,0);
  mPFImages=bf.create();
  mPFImages.setName("String_Node_Str");
  mPFImages.bindSampler(mSampler,0);
  bf.setTexEnvMode(ProgramFragment.EnvMode.MODULATE,0);
  mPFText=bf.create();
  mPFText.setName("String_Node_Str");
  mPFText.bindSampler(mSamplerText,0);
  ProgramStore.Builder bs=new ProgramStore.Builder(mRS,null,null);
  bs.setDepthFunc(ProgramStore.DepthFunc.LESS);
  bs.setDitherEnable(false);
  bs.setDepthMask(true);
  bs.setBlendFunc(ProgramStore.BlendSrcFunc.SRC_ALPHA,ProgramStore.BlendDstFunc.ONE_MINUS_SRC_ALPHA);
  mPSBackground=bs.create();
  mPSBackground.setName("String_Node_Str");
  bs.setDepthFunc(ProgramStore.DepthFunc.ALWAYS);
  bs.setDepthMask(false);
  bs.setBlendFunc(ProgramStore.BlendSrcFunc.SRC_ALPHA,ProgramStore.BlendDstFunc.ONE_MINUS_SRC_ALPHA);
  mPSText=bs.create();
  mPSText.setName("String_Node_Str");
  mPVAlloc=new ProgramVertex.MatrixAllocation(mRS);
  mPVAlloc.setupProjectionNormalized(mWidth,mHeight);
  ProgramVertex.Builder pvb=new ProgramVertex.Builder(mRS,null,null);
  mPV=pvb.create();
  mPV.setName("String_Node_Str");
  mPV.bindAllocation(mPVAlloc);
  mPVOrthoAlloc=new ProgramVertex.MatrixAllocation(mRS);
  mPVOrthoAlloc.setupOrthoWindow(mWidth,mHeight);
  pvb.setTextureMatrixEnable(true);
  mPVOrtho=pvb.create();
  mPVOrtho.setName("String_Node_Str");
  mPVOrtho.bindAllocation(mPVOrthoAlloc);
  mRS.contextBindProgramVertex(mPV);
  mAllocScratchBuf=new int[32];
  mAllocScratch=Allocation.createSized(mRS,Element.USER_I32(mRS),mAllocScratchBuf.length);
  mAllocScratch.data(mAllocScratchBuf);
  Log.e("String_Node_Str","String_Node_Str");
{
    mIcons=new Allocation[29];
    mAllocIconIDBuf=new int[mIcons.length];
    mAllocIconID=Allocation.createSized(mRS,Element.USER_I32(mRS),mAllocIconIDBuf.length);
    mLabels=new Allocation[29];
    mAllocLabelIDBuf=new int[mLabels.length];
    mAllocLabelID=Allocation.createSized(mRS,Element.USER_I32(mRS),mLabels.length);
    Element ie8888=Element.RGBA_8888(mRS);
    mIcons[0]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.browser,ie8888,true);
    mIcons[1]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.market,ie8888,true);
    mIcons[2]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.photos,ie8888,true);
    mIcons[3]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.settings,ie8888,true);
    mIcons[4]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.calendar,ie8888,true);
    mIcons[5]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.g1155,ie8888,true);
    mIcons[6]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.g2140,ie8888,true);
    mIcons[7]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.maps,ie8888,true);
    mIcons[8]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path431,ie8888,true);
    mIcons[9]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path676,ie8888,true);
    mIcons[10]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path754,ie8888,true);
    mIcons[11]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path815,ie8888,true);
    mIcons[12]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path1920,ie8888,true);
    mIcons[13]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path1927,ie8888,true);
    mIcons[14]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path3099,ie8888,true);
    mIcons[15]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path3950,ie8888,true);
    mIcons[16]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path4481,ie8888,true);
    mIcons[17]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.path5168,ie8888,true);
    mIcons[18]=Allocation.createFromBitmapResource(mRS,mRes,R.raw.polygon2408,ie8888,true);
    mLabels[0]=makeTextBitmap("String_Node_Str");
    mLabels[1]=makeTextBitmap("String_Node_Str");
    mLabels[2]=makeTextBitmap("String_Node_Str");
    mLabels[3]=makeTextBitmap("String_Node_Str");
    mLabels[4]=makeTextBitmap("String_Node_Str");
    mLabels[5]=makeTextBitmap("String_Node_Str");
    mLabels[6]=makeTextBitmap("String_Node_Str");
    mLabels[7]=makeTextBitmap("String_Node_Str");
    mLabels[8]=makeTextBitmap("String_Node_Str");
    mLabels[9]=makeTextBitmap("String_Node_Str");
    mLabels[10]=makeTextBitmap("String_Node_Str");
    mLabels[11]=makeTextBitmap("String_Node_Str");
    mLabels[12]=makeTextBitmap("String_Node_Str");
    mLabels[13]=makeTextBitmap("String_Node_Str");
    mLabels[14]=makeTextBitmap("String_Node_Str");
    mLabels[15]=makeTextBitmap("String_Node_Str");
    mLabels[16]=makeTextBitmap("String_Node_Str");
    mLabels[17]=makeTextBitmap("String_Node_Str");
    mLabels[18]=makeTextBitmap("String_Node_Str");
    mIcons[19]=mIcons[0];
    mIcons[20]=mIcons[1];
    mIcons[21]=mIcons[2];
    mIcons[22]=mIcons[3];
    mIcons[23]=mIcons[4];
    mIcons[24]=mIcons[5];
    mIcons[25]=mIcons[6];
    mIcons[26]=mIcons[7];
    mIcons[27]=mIcons[8];
    mIcons[28]=mIcons[9];
    mLabels[19]=mLabels[0];
    mLabels[20]=mLabels[1];
    mLabels[21]=mLabels[2];
    mLabels[22]=mLabels[3];
    mLabels[23]=mLabels[4];
    mLabels[24]=mLabels[5];
    mLabels[25]=mLabels[6];
    mLabels[26]=mLabels[7];
    mLabels[27]=mLabels[8];
    mLabels[28]=mLabels[9];
    for (int ct=0; ct < mIcons.length; ct++) {
      mIcons[ct].uploadToTexture(0);
      mLabels[ct].uploadToTexture(0);
      mAllocIconIDBuf[ct]=mIcons[ct].getID();
      mAllocLabelIDBuf[ct]=mLabels[ct].getID();
    }
    mAllocIconID.data(mAllocIconIDBuf);
    mAllocLabelID.data(mAllocLabelIDBuf);
  }
}