Black coffee ground secretions is a sign of old bleeding. You may have had GI bleeding at one time or it still may be actively bleeding (but this is usually bright red). At anyrate, if you are having symptoms on top of spitting this stuff up I would go to the doctor immediately. Hope all is well and good luck.