Program: 196580
Project: 196580
Buggy source:
boolean dumpOomLocked(FileDescriptor fd,PrintWriter pw,String[] args,int opti,boolean dumpAll){
  boolean needSep=false;
  if (mLruProcesses.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    pw.println("String_Node_Str");
    printOomLevel(pw,"String_Node_Str",ProcessList.SYSTEM_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.PERSISTENT_PROC_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.FOREGROUND_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.VISIBLE_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.PERCEPTIBLE_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.BACKUP_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.HEAVY_WEIGHT_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.SERVICE_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.HOME_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.PREVIOUS_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.SERVICE_B_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.CACHED_APP_MIN_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.CACHED_APP_MAX_ADJ);
    if (needSep)     pw.println();
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size());
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessActivityStart);
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessServiceStart);
    pw.println("String_Node_Str");
    dumpProcessOomList(pw,this,mLruProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",true,null);
    needSep=true;
  }
  dumpProcessesToGc(fd,pw,args,opti,needSep,dumpAll,null);
  pw.println();
  pw.println("String_Node_Str" + mHomeProcess);
  pw.println("String_Node_Str" + mPreviousProcess);
  if (mHeavyWeightProcess != null) {
    pw.println("String_Node_Str" + mHeavyWeightProcess);
  }
  return true;
}

Fixed version (ground truth):
boolean dumpOomLocked(FileDescriptor fd,PrintWriter pw,String[] args,int opti,boolean dumpAll){
  boolean needSep=false;
  if (mLruProcesses.size() > 0) {
    if (needSep)     pw.println();
    needSep=true;
    pw.println("String_Node_Str");
    printOomLevel(pw,"String_Node_Str",ProcessList.SYSTEM_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.PERSISTENT_PROC_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.PERSISTENT_SERVICE_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.FOREGROUND_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.VISIBLE_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.PERCEPTIBLE_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.BACKUP_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.HEAVY_WEIGHT_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.SERVICE_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.HOME_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.PREVIOUS_APP_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.SERVICE_B_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.CACHED_APP_MIN_ADJ);
    printOomLevel(pw,"String_Node_Str",ProcessList.CACHED_APP_MAX_ADJ);
    if (needSep)     pw.println();
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size());
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessActivityStart);
    pw.print("String_Node_Str");
    pw.print(mLruProcesses.size() - mLruProcessServiceStart);
    pw.println("String_Node_Str");
    dumpProcessOomList(pw,this,mLruProcesses,"String_Node_Str","String_Node_Str","String_Node_Str",true,null);
    needSep=true;
  }
  dumpProcessesToGc(fd,pw,args,opti,needSep,dumpAll,null);
  pw.println();
  pw.println("String_Node_Str" + mHomeProcess);
  pw.println("String_Node_Str" + mPreviousProcess);
  if (mHeavyWeightProcess != null) {
    pw.println("String_Node_Str" + mHeavyWeightProcess);
  }
  return true;
}