Xvnc on Sloaris 2.6 and apps linked against libXol - segmentation faults

Gary.Whitehead@esa.int Gary.Whitehead "at" esa.int
Fri, 24 Nov 2000 10:40:58 +0000


>Does truss show anything interesting?

> Tim.

Good point - after a quick look at the truss man page, I ended up with the
following dump (the last few calls prior to the crash).  It appears that
read/write(3 is to the X0 socket.

(opening 3)

close(3)                                        = 0
uname(0xEFFFE9C8)                               = 1
getrlimit(RLIMIT_NOFILE, 0xEFFFEFC8)            = 0
uname(0xEFFFE9C8)                               = 1
open("/tmp/.X11-pipe/X0", O_RDWR)               Err#2 ENOENT
getrlimit(RLIMIT_NOFILE, 0xEFFFEFC8)            = 0
so_socket(1, 2, 0, "", 1)                       = 3
connect(3, 0xEFFFEFC0, 19)                      = 0
uname(0xEFFFEA08)                               = 1
fcntl(3, F_SETFD, 0x00000001)                   = 0
ccess("/home/scosb/.Xauthority", 4)            = 0
open("/home/scosb/.Xauthority", O_RDONLY)       = 4
fstat64(4, 0xEFFFEAD8)                          = 0
ioctl(4, TCGETA, 0xEFFFEA64)                    Err#25 ENOTTY
read(4, "\0\0\00483B0 9 _\001 1\0".., 8192)     = 100
read(4, 0x0005251C, 8192)                       = 0
llseek(4, 0, SEEK_CUR)                          = 100
close(4)                                        = 0
writev(3, 0xEFFFF108, 1)                        = 12
        iov_base = 0xEFFFF260  iov_len = 12
   B05\0\v\0\0\0\0\0\0\0A4
fstat64(3, 0xEFFFEF98)                          = 0
getsockopt(3, 65535, 8192, 0xEFFFF09C, 0xEFFFF098) = 0
setsockopt(3, 65535, 8192, 0xEFFFF09C, 4)       = 0
fcntl(3, F_SETFL, 0x00000080)                   = 0
read(3, "01\0\0\v\0\0\0 %", 8)                  = 8
.
.
(prior to the crash)
.
write(3, 0x00052D20, 32)                        = 32
  10\0\0\b\016\0 % _ S U N _ D R A G D R O P _ I N T E R E S T C E
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 @\0\0\0\0\0\0\0B8\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, 0x00052D20, 32)                        = 32
  10\0\0\b\015\0 % _ S U N _ D R A G D R O P _ P R E V I E W T C E
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 A\0\0\0\0\0\0\0E0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, 0x00052D20, 32)                        = 32
  10\0\0\b\015\0 % _ S U N _ D R A G D R O P _ T R I G G E R T C E
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 B\0\0\0\0\0\0\0E1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, 0x00052D20, 28)                        = 28
  10\0\007\012\0 % _ S U N _ D R A G D R O P _ D S D M G E
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 C\0\0\0\0\0\0\0B9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, 0x00052D20, 32)                        = 32
  10\0\0\b\018\0 % _ S U N _ D R A G D R O P _ S I T E _ R E C T S
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 D\0\0\0\0\0\0\0BA\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, 0x00052D20, 28)                        = 28
  10\0\007\011\0 % _ S U N _ D R A G D R O P _ A C K E _ R
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 E\0\0\0\0\0\0\0E2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, 0x00052D20, 28)                        = 28
  10\0\007\012\0 % _ S U N _ D R A G D R O P _ D O N E _ R
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 F\0\0\0\0\0\0\0E3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, 0x00052D20, 40)                        = 40
  10\0\0\n\0  \0 % _ S U N _ A L T E R N A T E _ T R A N S P O R T
   _ M E T H O D S
read(3, 0xEFFFE2BC, 32)                         = 32
  01\0\0 G\0\0\0\0\0\0\0E4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
write(3, " u\0\001", 4)                         = 4
read(3, 0xEFFFE508, 32)                         = 32
  0105\0 H\0\0\002\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
read(3, "0102030405\0\0\0", 8)                  = 8
    Incurred fault #6, FLTBOUNDS  %pc = 0xEF65BC80
      siginfo: SIGSEGV SEGV_MAPERR addr=0x0005E004
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x0005E004
        *** process killed ***
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------