Yes, if the tank was full and the boat rolled a bit of slosh could have surged up into the line leaving behind ....well ... stuff and when it dried it could easily cause a clog.
Also look carefully at the outside the hull vent it often has a small screen that can be clogged with corrosion or even a bug nest, clean that sucker out if found and consider replacing the hose and thru-hull with a 3/4 inch line for better air flow, the aerobic bacteria will be happier and they eat the anaerobic bugs that cause the smell.
Use a 3/4 inch hose thru-hull like you would a bilge pump discharge.
I really recommend Peggy Hall's book she is the "Head Expert" regarding...ummm stuff.