Comment 29 for bug 429322

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Daniel is right - this crash is happening on shutdown, and it happens when the X connection dies. This is easily reproducible by running "xtrace -k -d:0 -D:9" in one terminal, and then running "DISPLAY=:9.0 seahorse-agent" in another. If you kill xtrace, then seahorse-agent crashes every time.

The new version crashes because seahorse-agent calls "atexit (seahorse_agent_exit);" when it initializes, which registers a handler to run when exit() is called (such as, when Xorg dies!). The handler is obviously doing something which it shouldn't be doing when there is no X connection anymore.

That's the next step for debugging...