Stinky Drain?

A plumber told me a story about a house they went to inspect as a favor for a friend. This was a new installation in a new house. It turns out the pipe after the trap was not at the correct angle. It was lower so it sucked the water from the trap, which in return the smell of the sewer had an escape to the bathroom.
 
Another reason why a trap will not have water in it is if the vent on the roof is plugged. If the building is low rise (less than 3 floors ) leaves will clog the vents and when water exits the shower or sink the suction will pull the water from the trap.