|
Description
|
A running lbxproxy can be terminated with a CTRL/C from the
controlling terminal or directly sending a signal such as SIGHUP,
SIGINT or SIGTERM. It will usually exit cleanly. If an X client has
had a connection refused by the server then it core dumps on exit:
In one window
$ lbxproxy -zlevel 4 :8000
Using port number '8000'
In another window, while the lbxproxy above is running ...
$ export DISPLAY=:8000
$ xclock
Xlib: connection to "unix:8000.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can't open display: :8000
$
Back in the window with lbxproxy running hit CTRL/C
^CSegmentation Fault(coredump)
$
Stack trace from pstack looks like this:
0002c93c CloseDownConnection (dc8b8, 6, 71b70, 2, 8, 1fffffff) + 8
00018b70 CloseServer (80a80, 71dc8, 0, 724f8, 71680, 71a1c) + 144
0002c990 CloseDownConnection (71710, 71400, 0, 0, 80a80, 67000) + 5c
00016d1c CloseDownClient (80a80, 711d4, 71680, 71a20, 0, 71800) + 44
00016f84 KillAllClients (0, 0, 71800, 71680, 71400, 4) + 48
00016770 Dispatch (ffffffff, 0, 0, 0, 0, 666ec) + 21c
000163a4 main (0, 0, 71400, 71800, 66400, 67d40) + 10c
00016280 _start (0, 0, 0, 0, 0, 0) + 108
|