Scenario: In my guest bathroom there is a light fixture box, outlet, switch for the fart fan, and switch for the light, each in their own box - aside from the two switches, which are together in one box. The circuit is fed by a 12/3 coming from the main panel that enters the light fixture box. One hot is being used to feed a different circuit on a different breaker, the remaining hot is used for the bathroom. There is another 12/3 between the light fixture box and the outlet box, then another 12/3 between the outlet box and the switches box. One leg of these is being used to carry the hot into each box, and the other is being used as a switch leg to get back to the light fixture box from the switches box
Problem: I recently replaced the normal outlet with a GFCI, which I have wired correctly. When I flip the switch for the light, it trips the GFCI. Switching on the fart fan and plugging in a load to the outlet doesn't cause a trip. After much metering and labeling of wires, I've discovered that when the hot wire in that first 12/3 run is connected to the feeder from the main panel, the switch leg lights up a hot stick and meters at 5v, which I assume is what is tripping the GFCI
Any clues?