Here is the minimal LaTeX file that can be used to produce the problem (on my computer):
\documentclass[12pt]{article}
\usepackage[shortlabels]{enumitem}
\usepackage{algpseudocode}
\usepackage{fullpage,url,amssymb,epsfig,color,xspace,tikz,amsmath}
\begin{document}
\subsection*{Title}
hi
\pagebreak
stack overflow..
\end{document}
I'm using Emacs and AucTex, and this seems to be the beginning of the compile output:
Running `LaTeX' on `test' with ``pdflatex -file-line-error --synctex=1 -interaction=nonstopmode test.tex''
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
I have Zathura as my viewer. Usually Zathura works fine, but this time I am getting this weird preview, and I have no idea why:

Is there any reason for this? I am using WSL2, Ubuntu 18.04.5 LTS, zathura version as follows apparently:
zathura 0.3.8
(plugin) pdf-poppler (0.2.8) (/usr/lib/zathura/pdf.so)
Edit: I don't really know what's going on here. What I did to produce my minimal example was eventually reduce the content in the subsections, and keep recompiling and calling the viewer again (with Emacs command C-c C-a), and I saw that this kept happening. However, when I just paste my minimal example into an empty buffer and call C-c C-a, it works fine. So I have no idea what the problem is.
epsfigunless you need to emulate latex 2.09 documents from the 1980s. I wrote that in 1994 as a legacy wrapper for documents that were old then... – David Carlisle Mar 21 '21 at 10:47dkey. It's always happening for this document becausezathuraremembers it's settings on a per file case. – David Purton Mar 21 '21 at 11:19dby accident. – herophant Mar 21 '21 at 11:23