ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #52901
[Bug 519049] Re: "xauth generate" with large timeout triggers assertion
Not obvious why the pointers are mismatched in this case and trigger the assert.
This bug report is worth sending upstream.
** Description changed:
Running "xauth generate" with a large timeout value (e.g., "xauth
generate :0.0 . trusted timeout 99999999") causes the X server to crash
with an assertion failure. Immediately upon running the command, the X
server crashes, and after a few seconds, the login screen appears.
I have attached a full backtrace. Xorg.0.log and dmesg don't contain
any relevant data.
SecurityAuthorizationExpired: Assertion `pAuth->timer == timer' failed.
-
- Program received signal SIGABRT, Aborted.
- 0x0070b422 in __kernel_vsyscall ()
- (gdb) backtrace full
- #0 0x0070b422 in __kernel_vsyscall ()
- No symbol table info available.
- #1 0x003a64d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
- resultvar = <value optimized out>
- pid = 4968436
- selftid = 6161
- #2 0x003a9932 in *__GI_abort () at abort.c:92
- act = {__sigaction_handler = {sa_handler = 0x4bcff4, sa_sigaction = 0x4bcff4}, sa_mask = {__val = {305, 56,
- 4973472, 4968436, 4973472, 102, 3221022944, 4110285, 166804032, 4968436, 4968436, 103, 3221023144,
- 4045848, 167320064, 167320064, 102, 166804032, 0, 4222451712, 167320064, 167320165, 167320064,
- 167320064, 167320166, 167320364, 167320064, 167320364, 0, 0, 0, 0}}, sa_flags = 0, sa_restorer = 0}
- sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0x0039f648 in *__GI___assert_fail (assertion=0x81e1ac0 "pAuth->timer == timer",
- file=0x81e1aaa "../../Xext/security.c", line=322, function=0x81e1e3a "SecurityAuthorizationExpired") at assert.c:81
- buf = 0x9f64128 "X: ../../Xext/security.c:322: SecurityAuthorizationExpired: Assertion `pAuth->timer == timer' failed.\n"
+ file=0x81e1aaa "../../Xext/security.c", line=322, function=0x81e1e3a "SecurityAuthorizationExpired") at assert.c:81
+ buf = 0x9f64128 "X: ../../Xext/security.c:322: SecurityAuthorizationExpired: Assertion `pAuth->timer == timer' failed.\n"
#4 0x0815f5bc in SecurityAuthorizationExpired (timer=0x9ff7018, time=3179634, pval=0x6) at ../../Xext/security.c:322
- __PRETTY_FUNCTION__ = "SecurityAuthorizationExpired"
+ __PRETTY_FUNCTION__ = "SecurityAuthorizationExpired"
#5 0x081313c2 in TimerSet (timer=0x9ff7018, flags=<value optimized out>, millis=3179338,
- func=0x815f520 <SecurityAuthorizationExpired>, arg=0x9ee0c70) at ../../os/WaitFor.c:465
- prev = <value optimized out>
- now = 6
+ func=0x815f520 <SecurityAuthorizationExpired>, arg=0x9ee0c70) at ../../os/WaitFor.c:465
+ prev = <value optimized out>
+ now = 6
#6 0x0815f4f5 in SecurityStartAuthorizationTimer (pAuth=0x9ee0c70) at ../../Xext/security.c:353
- No locals.
#7 0x0815fa01 in ProcSecurityGenerateAuthorization (client=0x9dfa820) at ../../Xext/security.c:578
- pAuth = 0x9ee0c70
- err = <value optimized out>
- authId = 372
- rep = {type = 164 '\244', pad0 = 96 '`', sequenceNumber = 2079, length = 3221023496, authId = 0,
- dataLength = 4, pad1 = 0, pad2 = 165652512, pad3 = 0, pad4 = 165652512, pad5 = 162973096}
- trustLevel = 0
- group = 0
- timeout = 99999999
- values = <value optimized out>
- protoname = 0xa002584 "MIT-MAGIC-COOKIE-1"
- authdata_len = <value optimized out>
- pAuthdata = <value optimized out>
- eventMask = 0
- #8 0x0808d17f in Dispatch () at ../../dix/dispatch.c:456
- result = <value optimized out>
- client = 0x9dfa820
- nready = 0
- start_tick = 2780
- #9 0x08072515 in main (argc=8, argv=0xbffcecb4, envp=0xbffcecd8) at ../../dix/main.c:397
- i = <value optimized out>
- alwaysCheckForInput = {0, 1}
-
+ pAuth = 0x9ee0c70
+ err = <value optimized out>
+ authId = 372
+ rep = {type = 164 '\244', pad0 = 96 '`', sequenceNumber = 2079, length = 3221023496, authId = 0,
+ dataLength = 4, pad1 = 0, pad2 = 165652512, pad3 = 0, pad4 = 165652512, pad5 = 162973096}
+ trustLevel = 0
+ group = 0
+ timeout = 99999999
+ values = <value optimized out>
+ protoname = 0xa002584 "MIT-MAGIC-COOKIE-1"
+ authdata_len = <value optimized out>
+ pAuthdata = <value optimized out>
+ eventMask = 0
lsb_release -rd:
Description: Ubuntu 9.10
Release: 9.10
apt-cache policy xserver-xorg-core:
xserver-xorg-core:
Installed: 2:1.6.4-2ubuntu4.1
Candidate: 2:1.6.4-2ubuntu4.1
Version table:
*** 2:1.6.4-2ubuntu4.1 0
500 http://us.archive.ubuntu.com karmic-updates/main Packages
500 http://security.ubuntu.com karmic-security/main Packages
100 /var/lib/dpkg/status
2:1.6.4-2ubuntu4 0
500 http://us.archive.ubuntu.com karmic/main Packages
** Changed in: xorg-server (Ubuntu)
Importance: Medium => High
** Also affects: xorg-server (Ubuntu Lucid)
Importance: High
Status: Triaged
--
"xauth generate" with large timeout triggers assertion
https://bugs.launchpad.net/bugs/519049
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.
References