Comment 7 for bug 1094218

Revision history for this message
Brian Murray (brian-murray) wrote : Re: lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes

Thanks for that additional information. However, I don't see anything suspicious in tv_main. Here is the function that calls lsb_release.

function LogStartupInfo()
{
  exec 2>&1 # redirect stderr

  echo "TeamViewer: $TV_VERSION"
  echo "Profile: $HOME ($LOGNAME)"
  echo "Desktop: $DESKTOP_SESSION"

  if [ -x "$(type -p lsb_release)" ] ; then # log information about the Linux distribution
    lsb_release -a
    make_path "$WINEPREFIX/drive_c"
    lsb_release -ds > "$WINEPREFIX/drive_c/distrelease"
  else
    echo /etc/*-release
    for rfile in /etc/*-release ; do # echo the head of the first valid *-release file
      if [ -e "$rfile" ] ; then
        cat $rfile | head -n 10
        break
      fi
    done
  fi

  validateUser || return 1 # die if sudo

  echo "ok"
}