Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2002 13:38:31 -0700 (PDT)
From:      mike <mfahey.at.enter.net@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/37157: kdm crashes or x 
Message-ID:  <200204162038.g3GKcVx37759@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37157
>Category:       ports
>Synopsis:       kdm crashes or x
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 16 13:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     mike
>Release:        4.5
>Organization:
>Environment:
4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386
>Description:
kdm crashes and so does x
>How-To-Repeat:
      output of strace kdm

execve("/usr/local/bin/kdm", ["kdm"], [/* 19 vars */]) = 0
__sysctl([hw.pagesize], 2, "\0\20\0\0", [4], NULL, 0) = 0
mmap(0, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0x2806f000
geteuid(0xbfbffbcc)                     = 1001
getuid()                                = 1001 (euid 1001)
getegid(0xbfbffbcc)                     = 1001
getgid()                                = 1001 (egid 1001)
access("/usr/local/lib/libX11.so.6", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/X11R6/lib/libX11.so.6", F_OK) = 0
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=785354, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2644\1"..., 4096) = 4096
mmap(0, 663552, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x28077000
mmap(0x28113000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9b00000000000) = 0x28113000
close(3)                                = 0
access("/usr/local/lib/libpam.so.1", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/X11R6/lib/libpam.so.1", F_OK) = -1 ENOENT (No such file or directory)
open("/var/run/ld-elf.so.hints", O_RDONLY) = 3
read(3, "Ehnt\1\0\0\0\200\0\0\0v\0\0\0\0\0\0\0u\0\0\0\0\0\0\0\0"..., 128) = 128
lseek(3, 549755813888, SEEK_SET)        = 128
read(3, "/usr/lib:/usr/lib/compat:/usr/X1"..., 118) = 118
close(3)                                = 0
access("/usr/lib/libpam.so.1", F_OK)    = 0
open("/usr/lib/libpam.so.1", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=34664, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\334\30"..., 4096) = 4096
mmap(0, 36864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x28119000
mmap(0x28121000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x700000000000) = 0x28121000
close(3)                                = 0
access("/usr/local/lib/libutil.so.3", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/X11R6/lib/libutil.so.3", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/libutil.so.3", F_OK)   = 0
open("/usr/lib/libutil.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=32912, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0h#\0\000"..., 4096) = 4096
mmap(0, 36864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x28122000
mmap(0x2812a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x700000000000) = 0x2812a000
close(3)                                = 0
access("/usr/local/lib/libc.so.4", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/X11R6/lib/libc.so.4", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/libc.so.4", F_OK)      = 0
open("/usr/lib/libc.so.4", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=573760, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(.\1\000"..., 4096) = 4096
mmap(0, 626688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2812b000
mmap(0x281ab000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7f00000000000) = 0x281ab000
mmap(0x281b0000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x281b0000
close(3)                                = 0
access("/usr/X11R6/lib/libXThrStub.so.6", F_OK) = 0
open("/usr/X11R6/lib/libXThrStub.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=5928, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\230\7\0"..., 4096) = 4096
mmap(0, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x281c4000
mmap(0x281c5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x281c5000
close(3)                                = 0
sigaction(SIGILL, {0x28060138, [], 0}, {SIG_DFL}) = 0
sigprocmask(SIG_BLOCK, NULL, [])        = 0
sigaction(SIGILL, {SIG_DFL}, NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
umask(022)                              = 022
umask(022)                              = 022
close(0)                                = 0
open("/dev/null", O_RDONLY)             = 0
sigaction(SIGSYS, {SIG_IGN}, {SIG_DFL}) = 0
__getcwd("/", 1025)                     = 0
sigaction(SIGSYS, {SIG_DFL}, NULL)      = 0
access("/sbin/kdm", X_OK)               = -1 ENOENT (No such file or directory)
access("/bin/kdm", X_OK)                = -1 ENOENT (No such file or directory)
access("/usr/sbin/kdm", X_OK)           = -1 ENOENT (No such file or directory)
access("/usr/bin/kdm", X_OK)            = -1 ENOENT (No such file or directory)
access("/usr/games/kdm", X_OK)          = -1 ENOENT (No such file or directory)
access("/usr/local/sbin/kdm", X_OK)     = -1 ENOENT (No such file or directory)
access("/usr/local/bin/kdm", X_OK)      = 0
readlink("/etc/malloc.conf", 0xbfbff274, 63) = -1 ENOENT (No such file or directory)
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0x281c6000
break(0x805f000)                        = 0
ioctl(2, TIOCGETA, {B9600 opost isig -icanon -echo ...}) = 0
open("/var/log/kdm.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = -1 EACCES (Permission denied)
close(2)                                = 0
break(0x8060000)                        = 0
gettimeofday({1018989400, 198878}, NULL) = 0
break(0x8061000)                        = 0
access("/etc/localtime", R_OK)          = 0
open("/etc/localtime", O_RDONLY)        = 2
fstat(2, {st_mode=S_IFREG|0444, st_size=1267, ...}) = 0
read(2, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 7944) = 1267
close(2)                                = 0
getpid()                                = 2341 (ppid 2339)
socket(PF_UNIX, SOCK_DGRAM, 0)          = 2
fcntl(2, F_SETFD, FD_CLOEXEC)           = 0
connect(2, {sin_family=AF_UNIX, path="/var/run/log"}, 106) = 0
sendto(2, "<27>Apr 16 16:36:40 kdm[2341]: C"..., 68, 0, NULL, 0) = 68
dup2(2, 1)                              = 1
getuid()                                = 1001 (euid 1001)
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
exit(1)                                 = ?

--------------------------------------------------

output of strace XF86_SVGA

execve("/usr/X11R6/bin/XF86_SVGA", ["XF86_SVGA"], [/* 19 vars */]) = 0
__sysctl([hw.pagesize], 2, "\0\20\0\0", [4], NULL, 0) = 0
mmap(0, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0x28307000
geteuid(0xbfbffbc4)                     = 1001
getuid()                                = 1001 (euid 1001)
getegid(0xbfbffbc4)                     = 1001
getgid()                                = 1001 (egid 1001)
access("/usr/X11R6/lib/libxpg4.so.3", F_OK) = -1 ENOENT (No such file or directory)
open("/var/run/ld-elf.so.hints", O_RDONLY) = 3
read(3, "Ehnt\1\0\0\0\200\0\0\0v\0\0\0\0\0\0\0u\0\0\0\0\0\0\0\0"..., 128) = 128
lseek(3, 549755813888, SEEK_SET)        = 128
read(3, "/usr/lib:/usr/lib/compat:/usr/X1"..., 118) = 118
close(3)                                = 0
access("/usr/lib/libxpg4.so.3", F_OK)   = 0
open("/usr/lib/libxpg4.so.3", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=2784, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\34\4\0"..., 4096) = 2784
mmap(0, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2830f000
mmap(0x28310000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x28310000
close(3)                                = 0
access("/usr/X11R6/lib/libz.so.2", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/libz.so.2", F_OK)      = 0
open("/usr/lib/libz.so.2", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=51212, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\27\0"..., 4096) = 4096
mmap(0, 53248, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x28311000
mmap(0x2831c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa00000000000) = 0x2831c000
close(3)                                = 0
access("/usr/X11R6/lib/libm.so.2", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/libm.so.2", F_OK)      = 0
open("/usr/lib/libm.so.2", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=119376, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2242\0"..., 4096) = 4096
mmap(0, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2831e000
mmap(0x28335000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1600000000000) = 0x28335000
close(3)                                = 0
access("/usr/X11R6/lib/libc.so.4", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/libc.so.4", F_OK)      = 0
open("/usr/lib/libc.so.4", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=573760, ...}) = 0
read(3, "\177ELF\1\1\1\t\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(.\1\000"..., 4096) = 4096
mmap(0, 626688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2833a000
mmap(0x283ba000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7f00000000000) = 0x283ba000
mmap(0x283bf000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0x283bf000
close(3)                                = 0
sigaction(SIGILL, {0x282f8138, [], 0}, {SIG_DFL}) = 0
sigprocmask(SIG_BLOCK, NULL, [])        = 0
sigaction(SIGILL, {SIG_DFL}, NULL)      = 0
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
close(0)                                = 0
close(1)                                = 0
write(2, "", 0)                         = 0
getpgrp(1)                              = 2343
open("/tmp/.tX0-lock", O_WRONLY|O_CREAT|O_EXCL, 0644) = 0
getpid()                                = 2344 (ppid 2343)
write(0, "      2344\n", 11)            = 11
fchmod(0, 0444)                         = 0
close(0)                                = 0
link("/tmp/.tX0-lock", "/tmp/.X0-lock") = -1 EEXIST (File exists)
open("/tmp/.X0-lock", O_RDONLY)         = 0
read(0, "       328\n", 11)             = 11
close(0)                                = 0
kill(328, SIG_0)                        = 0
unlink("/tmp/.tX0-lock")                = 0
write(2, "\nFatal server error:\n", 21
Fatal server error:
) = 21
write(2, "Server is already active for dis"..., 116Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
) = 116
write(2, "\n", 1
)                       = 1
write(2, "\nWhen reporting a problem relate"..., 117
When reporting a problem related to a server crash, please send
the full server output, not just the last messages

) = 117
ioctl(0, CONSOLE_X_MODE_OFF, 0)         = -1 EBADF (Bad file descriptor)
close(0)                                = -1 EBADF (Bad file descriptor)
sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0
sigprocmask(SIG_SETMASK, [], NULL)      = 0
exit(1)                                 = ?

>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204162038.g3GKcVx37759>