Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
82 lines (54 sloc) 3.33 KB
original_url created_at updated_at closed_at status type resolution reporter owner priority milestone component version
2012-02-25 16:30:51 -0800
2015-08-20 02:04:36 -0700
2014-06-01 00:42:01 -0700
closed
crash
Fixed
kr-xquartz@…
jeremyhu@…
Nice to Have
2.7.7
xserver
2.7.1 (xserver-1.11.4)

long xauth generate timeout crashes server

Running "ssh -o 'ForwardX11Timeout 24d21h' -X somehost somecommand..." crashes the XQuartz server for me with an assertion failure:

Assertion failed: (pAuth->timer == timer), function SecurityAuthorizationExpired, file security.c, line 313.

A timeout of 24d20h doesn't cause the problem.

From poking around on the net, it looks like it's a known problem reproducible with "xauth generate" with a long timeout, causing some sort of failure, but I kept running into a restricted-access bug report elsewhere.

I should be able to give a month, or a year, or several, for the timeout value. If some protocol bug prevents specification of a timeout that long, either a useful message should be presented or the timeout should be capped at the maximum, or both.

The crashing thread:

Thread 4 Crashed:
0   libsystem_kernel.dylib          0x00007fff880b1ce2 __pthread_kill + 10
1   libsystem_c.dylib               0x00007fff828ff7d2 pthread_kill + 95
2   libsystem_c.dylib               0x00007fff828f0a7a abort + 143
3   libsystem_c.dylib               0x00007fff829235de __assert_rtn + 146
4   X11.bin                         0x000000010005270b SecurityAuthorizationExpired + 107
5   X11.bin                         0x00000001000ffea1 TimerSet + 186
6   X11.bin                         0x00000001000525db SecurityStartAuthorizationTimer + 68
7   X11.bin                         0x0000000100052493 ProcSecurityGenerateAuthorization + 564
8   X11.bin                         0x00000001000bc5d6 Dispatch + 257
9   X11.bin                         0x000000010002717e dix_main + 185
10  X11.bin                         0x0000000100011b73 server_thread + 38
11  libsystem_c.dylib               0x00007fff828fd8bf _pthread_start + 335
12  libsystem_c.dylib               0x00007fff82900b75 thread_start + 13

jeremyhu@… commented on Feb 25, 2012

  • Status changed from new to closed
  • Priority changed from Not Set to Nice to Have
  • Milestone set to later
  • Resolution changed from to fixed

This isn't a bug specific to XQuartz, so this should be filed at http://bugs.freedesktop.org


jeremyhu@… commented on Feb 25, 2012

  • Status changed from closed to reopened
  • Resolution fixed deleted

jeremyhu@… commented on Jun 1, 2014

  • Status changed from reopened to closed
  • Milestone changed from later to 2.7.7
  • Resolution set to Fixed

We're just doing what upstream has done. I think this was fixed by X.org. Please try 2.7.7_beta1. If it's still an issue there, please file a bug at freedesktop.org

You can’t perform that action at this time.