I'm not good with warm & fuzzy advice, so here is what I would do in your situation.
1. Find out all of your current academic options (e.g., dropping a class, changing to audit, etc.). The more knowledge you have on hand the better.
2. Establish why you are "failing out". Without your lady, you may be able to spend more time studying & bang out a decent final or two. Focus all of your efforts on your "worst" classes. Remember - as an undergraduate student, "C's GET DEGREES". As a graduate student, "B's GET DEGREES". Find out the minimum to get a C in those classes, and get it.
Your answer might be that you need a different program. There is no harm with this decision - just weigh it carefully.
3. Do a vigorous exercise regimen. Running, weight lifting, whatever. Take your mind off your current situation while pursuing something that will benefit your life. It is pretty amazing how little you think of your emotional problems while doing a set of heavy back squats.
4. Think positive, even if it is forced. Know that you CAN do school. You CAN get through the emotional mess you're in right now. Maybe even go as far as establishing a handwritten list of positive things (make sure to add to it frequently) that you focus on.
5. Be it school or whatever, set goals for yourself. Make sure they are small but achieveable to start, and accomplish them. It will help you to continue moving forward.
6. You're posting on a bass forum, so I assume you play music. Throw yourself into playing (not to forsake your "failing out schooling", if so desired). Use this opportunity to improve yourself. Scales, arpeggios, etudes, exercises, etc. are great busy-work that can offer some significant benefit to your overall playing. Get better.