On a measured space $(X,\mathcal A,\mu$) with $\mu$ being $\sigma$-finite one can show that if $\int_X fg \ \mathrm d \mu = 0$ for all $g\in \mathrm L^p$, then $f = 0$ $\mu$-a.e.
In an answer here, Danny Pak-Keung Chang provides an example where this is false, but the example is trivial in the sense that here $\mathrm L^p = \{0\}$. Could we come up with a non-trivial example using a non $\sigma$-finite measure ? I've tried for instance using a Hausdorff measure, say $\mathcal H^1$ over $\mathbb R^2$, but could not come up with anything.