3.3.2r3_x86_linux_2.0: vncviewer causes segfault
Sebastian Marius Kirsch
skirsch "at" t-online.de
Wed, 17 Mar 1999 20:11:10 +0000
Hello,
brief statement: the vncviewer from the 3.3.2r3 distribution from
www.uk.research.att.com causes a segfault on my linux box under
debian-2.0. Reliably, everytime.
Now, the longer explanation:
I've got the Win32 distribution installed on a windows box. I tried the
Java viewer under Netscape 4.5 on the linux box; it has no problems
connecting to the windows box (apart from the fact that it's rather
slow.)
The vncviewer crashes with a segfault:
---
moebius:/home/skirsch $ vncviewer skirsch:0
Segmentation fault
moebius:/home/skirsch $
---
The strace shows that it gets up to this point:
---
mprotect(0x40000000, 21025, PROT_READ|PROT_EXEC) = 0
geteuid() = 200
getuid() = 200
getgid() = 200
getegid() = 200
getpid() = 12014
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
---
When I run ldd on the executable, it shows something very strange:
---
moebius:/home/skirsch $ ldd /usr/local/bin/vncviewer
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4000b000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40017000)
libc.so.5 => /lib/libc.so.5 (0x400ba000)
libc.so.6 => /lib/libc.so.6 (0x40178000)
ld-linux.so.2 => /lib/ld-linux.so.2 (0x4021d000)
--
Apparently the vncviewer is linked both against libc5 and glibc2, and I
suspect this to be the problem. All the other executables are linked
only against libc5. (Hell, I wouldn't even know how to tell the compiler
to link a program against two C libraries!)
Can anyone confirm this problem?
I just realized that Debian includes its own xvncviewer (allegedly
written by Markus Brinkmann; I don't know whether this is the same as
the vncviewer from the original distribution.) So the problem is not so
urgent for me anymore (it's probably only my sense of duty that makes me
report it. ;-) )
BTW, VNC is a great piece of software. And it's fast enough to allow me
to run Corel DRAW! remote from a windows box, sitting comfortably in
front of my own computer. (Corel is just about the only program I lack
under Linux -- but it's one I need desparately. :-( )
Yours, Sebastian skirsch "at" t-online.de
/or/ sebastian_kirsch "at" kl.maus.de (no mail > 16KB!)
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------