Welcome to Healthcaremagic.
The stool being white indicates that there is block to the flow of the bile into the intestine.
I suggest you to get a Ultrasound
scan of the abdomen which clearly give clues on what the problem is.
H pylori infection
can lead to sever gastritis
which itself leads to severe pain
but its always safe to get tested by a scan.
Wish you good health.