>>>>> "Jack" == Jack Burton <[EMAIL PROTECTED]> writes:
Jack> Hello Chuck,
Howdy Jack.
Jack> My apologies for sending this unsolicited email to you.
No problem.
Jack> Sent this to the distribution list, but got no replies.
Your mail to the list from 3 days ago showed up in my mailbox AFTER this
one...looks like it got hung up on the AT&T listserver for some reason
according to the headers.
Jack> This is a big issue for me and I really need a resolution.
Well, I'll see what I can do but I can't make any promises... :)
Jack> I'm using VNC 3.3.X on an Aix system running version 4.3. I installed
Jack> your contributed VNC from http://www.idsi.net/~bshma/chuck/vnc.html
Jack> <http://www.idsi.net/~bshma/chuck/vnc.html> . Note that I can no longer
Jack> get to this web site.
Yeah, that site died a few weeks ago for some reason, still not sure why as I
haven't talked to the person who runs the site in a while, and I haven't had
time (or, honestly, much ambition) to set up a new one (although I did snag the
cached HTML from Google so I do have it to slap up on a new site when I get
around to setting one up). I would have set up a new one right away if I was
still working with the AIX platform, but since I'm not...sorry! :)
Jack> Xvnc works fine for about a day and then core dumps. I have monitored
Jack> the Xvnc process size when it is running and it remains constant.
Hm.
Jack> There is mention of a core dump in the Faq but I do not know if it was
Jack> reported as an intermittent problem like mine or a consistent one. I
Jack> also do not know the exact version of your contributed build.
It is the stock 3.3.3, if I remember correctly, so it's getting a little long
in the tooth now (and it was compiled against AIX 4.1.5, which is now quite
old as well and who knows what differences might be appearing in the shared
libs of the more recent AIX versions that could be causing problems).
Jack> Q15 My Solaris/HP-UX Xvnc dies with a core dump!
Jack> There is a bug in XFree86 (on which Xvnc is based) which makes Solaris
Jack> servers very unreliable if they have a pixel depth of 16. Use the -depth
Jack> option to start your server with a depth of 8 or 24, and you should be
Jack> fine. We've heard that this can be a problem with HP-UX as
Jack> well. Darrell Kindred submitted a patch which speeds up operation on
Jack> Alpha machines, and also fixes this problem. The problem is also fixed
Jack> in 3.3.3 and later releases of VNC.
Jack> I assumed that your build might be earIier than 3.3.3 and have added the
Jack> -depth 24 option and am testing. No reults yet! I'm not sure what the
Jack> default depth is. Any ideas about the core dump?
The default depth is 8 with a TrueColor visual, if I remember correctly, and
the version should be 3.3.3 so the Q15 problem shouldn't be present in there.
Unfortunately I really have no ideas about why it's core dumping, sorry.
I do have a couple of suggestions though. Rebuild the latest version yourself
(it's not that difficult and I've included the patch below since the web site
with it is gone, or you could grab someone else's more recent precompiled
version, there are a couple of others mentioned in the archives if you search
back, or Tridia has an AIX version you can download of their version of VNC)
and see if the problem persists with the current source.
If it still persists, run it under a debugger (or run a debugger, dbx or gdb,
on the generated core file: 'dbx /path/to/Xvnc core') and get a stack trace to
try and figure out where it's croaking which may give an indicator about what
is causing it that perhaps can be worked around or fixed in the code if it's
an actual bug in the VNC code. Post the results (stack trace) to the mailing
list if you can't figure it out yourself and perhaps myself or someone else
will have an idea.
Also, look in the vnc log file to see if there are any odd messages coming out
from the run that might hint as to what is going on before it dumps core.
Jack> Thank you,
No problem. Wish I had some more definitive answers for you.
Good luck.
Chuck
--
Charles K. Hines <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Principal Scientist at ReQuest Technologies Inc (http://www.ReQuestTech.com/)
Martial Arts Instructor [Modern Arnis and Balintawak Escrima]
"Go back to sleep, Chuck. You're just havin' a nightmare
-- of course, we ARE still in Hell." (Gary Larson)
--------------->8 'vnc-3.3.3-aix-4.1.5-patch' cut here 8<---------------
--- ./Xvnc/programs/Xserver/Xext/xtest1dd.c.orig Mon May 6 01:55:42 1996
+++ ./Xvnc/programs/Xserver/Xext/xtest1dd.c Fri Sep 3 11:31:12 1999
@@ -405,10 +405,12 @@
* set up the new input action packing mode
*/
packed_mode = mode & ~(XTestEXCLUSIVE);
+#ifdef X11R6
/*
* keep track of where the mouse is
*/
XTestGetPointerPos(&xtest_mousex, &xtest_mousey);
+#endif
/*
* keep track of which client is getting input actions
*/
@@ -1311,6 +1313,7 @@
* which is called from XTestComputeWaitTime. The
* other two types of input actions are processed here.
*/
+#ifdef X11R6
if (action_array[read_index].type == XTestJUMP_ACTION)
{
XTestJumpPointer(
@@ -1330,6 +1333,7 @@
mousex,
mousey);
}
+#endif
read_index++;
/*
* if all input actions are processed, then restore
--- ./Xvnc/programs/Xserver/hw/vnc/httpd.c.orig Thu Apr 29 07:10:54 1999
+++ ./Xvnc/programs/Xserver/hw/vnc/httpd.c Thu Sep 2 15:11:20 1999
@@ -32,6 +32,10 @@
#include <errno.h>
#include <pwd.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
#include "rfb.h"
#define NOT_FOUND_STR "HTTP/1.0 404 Not found\n\n" \
--- ./Xvnc/programs/Xserver/hw/vnc/sockets.c.orig Tue Aug 17 06:45:46 1999
+++ ./Xvnc/programs/Xserver/hw/vnc/sockets.c Thu Sep 2 15:12:09 1999
@@ -47,6 +47,10 @@
#include <fcntl.h>
#include <errno.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
#include "rfb.h"
--- ./Xvnc/programs/Xserver/os/utils.c.orig Mon Mar 2 06:56:36 1998
+++ ./Xvnc/programs/Xserver/os/utils.c Fri Sep 3 11:27:52 1999
@@ -75,7 +75,7 @@
#undef _POSIX_SOURCE
#endif
#endif
-#if !defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) && !defined(WIN32) &&
!defined(Lynx)
+#if defined(AIXV4) || (!defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) &&
+!defined(WIN32) && !defined(Lynx))
#include <sys/resource.h>
#endif
#include <time.h>
@@ -148,8 +148,10 @@
#ifdef AIXV3
FILE *aixfd;
int SyncOn = 0;
+#ifndef AIXV4
extern int SelectWaitTime;
#endif
+#endif
#ifdef DEBUG
#ifndef SPECIAL_MALLOC
@@ -935,6 +937,7 @@
}
#endif
#ifdef AIXV3
+#ifndef AIXV4
else if ( strcmp( argv[i], "-timeout") == 0)
{
if(++i < argc)
@@ -942,6 +945,7 @@
else
UseMsg();
}
+#endif
else if ( strcmp( argv[i], "-sync") == 0)
{
SyncOn++;
--- ./Xvnc/programs/Xserver/os/osinit.c.orig Sat Jan 18 01:58:02 1997
+++ ./Xvnc/programs/Xserver/os/osinit.c Fri Sep 3 11:28:50 1999
@@ -62,7 +62,7 @@
#endif
#endif
-#if !defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) && !defined(WIN32) &&
!defined(Lynx)
+#if defined(AIXV4) || (!defined(SYSV) && !defined(AMOEBA) && !defined(_MINIX) &&
+!defined(WIN32) && !defined(Lynx))
#include <sys/resource.h>
#endif
--- ./vncviewer/vncviewer.h.orig Thu Aug 12 07:06:41 1999
+++ ./vncviewer/vncviewer.h Wed Sep 1 17:11:22 1999
@@ -33,6 +33,11 @@
#include <X11/keysym.h>
#include <X11/Xatom.h>
#include <X11/Xmu/StdSel.h>
+
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
#include "rfbproto.h"
extern int endianTest;
--- ./vncviewer/listen.c.orig Tue Aug 10 13:49:15 1999
+++ ./vncviewer/listen.c Wed Sep 1 17:13:28 1999
@@ -233,7 +233,7 @@
Window w1, w2, w3, w4;
XSetWindowAttributes attr;
- XBell(d, 100);
+ XBell(d, 0);
XForceScreenSaver(d, ScreenSaverReset);
--- ./vncviewer/rfbproto.c.orig Thu Aug 12 07:07:48 1999
+++ ./vncviewer/rfbproto.c Wed Sep 1 17:13:42 1999
@@ -613,7 +613,7 @@
}
case rfbBell:
- XBell(dpy,100);
+ XBell(dpy,0);
break;
case rfbServerCutText:
--- ./vncserver.orig Tue Aug 17 12:34:23 1999
+++ ./vncserver Thu Nov 4 14:12:15 1999
@@ -41,7 +41,7 @@
$defaultXStartup
= ("#!/bin/sh\n\n".
- "xrdb \$HOME/.Xresources\n".
+ "xrdb \$HOME/.Xdefaults\n".
"xsetroot -solid grey\n".
"xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n".
"twm &\n");
@@ -149,6 +149,11 @@
# $cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
# $cmd .= " -co /usr/lib/X11/rgb";
#
+# AIX 4.x font dir:
+#$cmd .= " -fp
+/usr/lib/X11/fonts/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/ibm850/,/usr/lib/X11/fonts/Type1/";
+# Note, many machines seem to have have a messed up Type1 dir:
+$cmd .= " -fp
+/usr/lib/X11/fonts/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/ibm850/";
+$cmd .= " -co /usr/lib/X11/rgb";
foreach $arg (@ARGV) {
$cmd .= " " . "edString($arg);
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------