This problem is in a set of old past qualifying tests I am using for practice.
Suppose $g$ is bounded measurable function of period $T$ with $m(x:|f(x)|>0)>0$. Let $(a_n)$ and $(b_n)$ numerical sequences and suppose that $G(x)=\sum_n|b_n g(nx+a_n)|$ converges for all points $x$ in a set of positive (Lebesgue) measure. Show that $\sum_nb_n$ converges absolutely.
I define $E=\{x\in\mathbb{R}: G(x)<\infty\}$ and $E_k=\{x\in \mathbb{R}: G(x)\leq k\}$. Then $E=\bigcup^\infty_{k=1}E_k$ which implies that there is $k'$ such $m(E_{k'})>0$. From this I obtain that \begin{align*} \int_{E_{k'}}G(x)\,dx=\sum_n|b_n|\int_{E_{k'}}|g(nx+a_n)|\,dx<k'm(E_{k'}) \end{align*}
This is as far I can go. I will appreciate any hint.