Discussion:
Debugging Server Crashes?
(too old to reply)
Tim Visher
2015-03-23 12:14:28 UTC
Permalink
Hi Everyone,

I use tmux 1.9a on Mac 10.10.2 pretty heavily and I've noticed that
every couple of weeks lately the server simply dies.

I did some research and discovered the `-vvvv` flags to spit out logs.
A crash just happened, what do I do to figure out what's going on?

I've captured all the client and server logs that I can find.

--

In Christ,

Timmy V.

http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail
Thomas Adam
2015-03-23 13:13:43 UTC
Permalink
Post by Tim Visher
Hi Everyone,
I use tmux 1.9a on Mac 10.10.2 pretty heavily and I've noticed that
every couple of weeks lately the server simply dies.
I did some research and discovered the `-vvvv` flags to spit out logs.
A crash just happened, what do I do to figure out what's going on?
I've captured all the client and server logs that I can find.
That might be helpful, although there's a difference between tmux exiting
due to a fatal condition (which will be in the logs), and there being a
corefile.

If you do see a corefile (typically resides in the CWD of where tmux is
started, or wherever core_path is set), then you can analayse this with gdb
to get a stacktrace. This assumes you've built tmux with debug symbols in,
which is usually via:

./configure --enable-debug

Note that you should try installing git HEAD because there's been many fixes
in there since tmux 1.9a was released.

-- Thomas Adam

Loading...