Looking at the Wikipedia article, it seems naproxen is a NSAID like ibuprofen and can cause all the same gastrointestinal issues.