I just unwrapped a MacBook Pro (OSX 10.9.3). I used the Migration Assistant to bring things over from my old mbp, and most everything seems to be working except something very important: the Terminal app. Well, I actually use iTerm, but they both exhibit the same symptoms: when I launch the app, the window flashes for (maybe) a few milliseconds, then disappears.
It's not hiding or minimized. The app is open (in the toolbar, etc.), but no windows will appear. I even tried running an executable bash shell script (*.command), but nothing really appeared and the script apparently didn't execute.
This is a very fundamental problem. Is it back to the Apple store? The only other weirdness I've noticed is that the setup when I first booted it was kind-of buggy, and I had to hard-reset it (which really surprised me). However, after I rebooted, it worked fine, and I got it set up as usual.
Edit Here is what the console says when I launch Terminal.app:
6/6/14 6:46:26.071 AM login[1450]: USER_PROCESS: 1450 tty??
6/6/14 6:46:26.072 AM login[1450]: DEAD_PROCESS: 1450 tty??
6/6/14 6:46:26.076 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd[1448]) Exited with code: 8
6/6/14 6:46:26.076 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd) Throttling respawn: Will start in 10 seconds
6/6/14 6:46:36.241 AM login[1454]: USER_PROCESS: 1454 tty??
6/6/14 6:46:36.243 AM login[1454]: DEAD_PROCESS: 1454 tty??
6/6/14 6:46:36.247 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd[1452]) Exited with code: 8
6/6/14 6:46:36.247 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd) Throttling respawn: Will start in 10 seconds
It keeps repeating similar messages every ten seconds.
Edit 2 If, in my Terminal.app preferences change "Shells open with:" to "Command (absolute path)," which is "/usr/local/bin/bash," a window pops up that says.
[Command not found: /usr/local/bin/bash]
[Could not create a new process and open a pseudo-tty.]