Actually, I am also running testing for the most part. I have tried to
debug this with gdb, but it doesn't seem to have compiled with debugging symbols. Is it possible you could compile it with debugging symbols and
send me the package? Or instruct me on how I should compile it with debugging symbols?
--Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Tue, Aug 17, 2004 at 07:58:36AM -0400, Jayen Ashar wrote:
Can you check that you have loaded the resources?
xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Yes.
ola@tigereye:~/cvses/opal-data/work/euronetics/lon$ xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
If this doesn't come back with
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
you should try
xrdb /etc/X11/app-defaults/Xvncviewer
But it do not do so within the Xvnc-server. But I assume that is not a problem.
If it does, then i don't know what your clipboard problem is.
I have also managed to reproduce this bug just by:
copy text from my vnc session
hit F8 and choose Clipboard: local <- remote
<the clipboard is now copied to my local xserver>
hit F8 and choose Clipboard: local -> remote
<the clipboard is now overwritten in my vnc session>
hit F8 and choose Clipboard: local <- remote
hit F8 and choose Clipboard: local -> remote
And for me just nothing happens. With or without xrdb. It would be really nice if you could try to debug this with ddd or a similar tool so we can determine where in the vnc code this problem exist.
Maybe there is a bug somewhere else in code. X maybe? I run testing
and I assume that you run unstable?
Regards,
// Ola
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 06:29:39PM -0400, Jayen Ashar wrote:
This is definitely not a window manager problem, since I can reproduce
this without a window manager running, in just a root X session.
I have now tried to reproduce this with just a root X session, with window manager etc. But I can not reproduce it. An interesting note is that
I can never get the clipboard to work either. So something is obviously wrong but I can not reproduce your problem... Hmm...
Regards,
// Ola
Thanks,
Jayen
On Mon, 16 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 08:33:34AM -0400, Jayen Ashar wrote:
I tried to compile the vnc package with debugging symbols and then do a
backtrace in gdb. This is what I got:
Program received signal SIGSEGV, Segmentation fault.
0x4034aa73 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4034aa73 in strlen () from /lib/tls/libc.so.6
#1 0x0805457f in ?? ()
#2 0x00000000 in ?? ()
#3 0x40408840 in __after_morecore_hook () from /lib/tls/libc.so.6
#4 0x00000058 in ?? ()
#5 0x401156b0 in ?? () from /usr/X11R6/lib/libXt.so.6
#6 0x080d3028 in ?? ()
#7 0xbffff130 in ?? ()
#8 0xbfffef08 in ?? ()
#9 0x400d238b in XtMalloc () from /usr/X11R6/lib/libXt.so.6
#10 0x400f385f in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#11 0x400f3c53 in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#12 0x400e076f in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#13 0x400e111d in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6 #14 0x400e143f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#15 0x400ed5e7 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#16 0x080553ee in ?? ()
#17 0x0805947f in ?? ()
#18 0x080591d5 in ?? ()
#19 0x08058021 in ?? ()
#20 0x08059792 in ?? ()
#21 0x08058ff2 in ?? ()
#22 0x080556a3 in ?? ()
#23 0x08051074 in ?? ()
#24 0xbffff480 in ?? ()
#25 0x00000001 in ?? ()
#26 0x00000009 in ?? ()
#27 0x00000003 in ?? ()
#28 0x00000002 in ?? ()
#29 0x0120001e in ?? ()
#30 0x40016fc8 in ?? ()
#31 0x00000007 in ?? ()
#32 0x00000001 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000001 in ?? ()
#35 0x401dcd28 in ?? () from /usr/X11R6/lib/libX11.so.6
#36 0xbffff354 in ?? ()
#37 0x080beee8 in ?? ()
#38 0xbffff368 in ?? ()
#39 0x4012d05a in XCreatePixmapCursor () from /usr/X11R6/lib/libX11.so.6
#40 0x08054b98 in ?? ()
#41 0x080c1a18 in ?? ()
#42 0x00001756 in ?? ()
#43 0x0805e360 in ?? ()
#44 0x0000000c in ?? ()
#45 0xbffff4e0 in ?? ()
#46 0xbffff564 in ?? ()
#47 0x0805e020 in ?? ()
#48 0x080602ac in XtStrings ()
#49 0x00000000 in ?? ()
#50 0x00000000 in ?? ()
#51 0x4002eeca in inflate_fast () from /usr/lib/libz.so.1
#52 0x402e57f8 in __libc_start_main () from /lib/tls/libc.so.6 #53 0x40407ebc in ?? () from /lib/tls/libc.so.6
Actually, I am also running testing for the most part. I have tried to
debug this with gdb, but it doesn't seem to have compiled with debugging symbols. Is it possible you could compile it with debugging symbols and
send me the package? Or instruct me on how I should compile it with debugging symbols?
--Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Tue, Aug 17, 2004 at 07:58:36AM -0400, Jayen Ashar wrote:
Can you check that you have loaded the resources?
xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Yes.
ola@tigereye:~/cvses/opal-data/work/euronetics/lon$ xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
If this doesn't come back with
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
you should try
xrdb /etc/X11/app-defaults/Xvncviewer
But it do not do so within the Xvnc-server. But I assume that is not a problem.
If it does, then i don't know what your clipboard problem is.
I have also managed to reproduce this bug just by:
copy text from my vnc session
hit F8 and choose Clipboard: local <- remote
<the clipboard is now copied to my local xserver>
hit F8 and choose Clipboard: local -> remote
<the clipboard is now overwritten in my vnc session>
hit F8 and choose Clipboard: local <- remote
hit F8 and choose Clipboard: local -> remote
And for me just nothing happens. With or without xrdb. It would be really nice if you could try to debug this with ddd or a similar tool so we can determine where in the vnc code this problem exist.
Maybe there is a bug somewhere else in code. X maybe? I run testing
and I assume that you run unstable?
Regards,
// Ola
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 06:29:39PM -0400, Jayen Ashar wrote:
This is definitely not a window manager problem, since I can reproduce
this without a window manager running, in just a root X session.
I have now tried to reproduce this with just a root X session, with window manager etc. But I can not reproduce it. An interesting note is that
I can never get the clipboard to work either. So something is obviously wrong but I can not reproduce your problem... Hmm...
Regards,
// Ola
Thanks,
Jayen
On Mon, 16 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 08:33:34AM -0400, Jayen Ashar wrote:
I tried to compile the vnc package with debugging symbols and then do a
backtrace in gdb. This is what I got:
Program received signal SIGSEGV, Segmentation fault.
0x4034aa73 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4034aa73 in strlen () from /lib/tls/libc.so.6
#1 0x0805457f in ?? ()
#2 0x00000000 in ?? ()
#3 0x40408840 in __after_morecore_hook () from /lib/tls/libc.so.6
#4 0x00000058 in ?? ()
#5 0x401156b0 in ?? () from /usr/X11R6/lib/libXt.so.6
#6 0x080d3028 in ?? ()
#7 0xbffff130 in ?? ()
#8 0xbfffef08 in ?? ()
#9 0x400d238b in XtMalloc () from /usr/X11R6/lib/libXt.so.6
#10 0x400f385f in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#11 0x400f3c53 in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#12 0x400e076f in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#13 0x400e111d in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6 #14 0x400e143f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#15 0x400ed5e7 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#16 0x080553ee in ?? ()
#17 0x0805947f in ?? ()
#18 0x080591d5 in ?? ()
#19 0x08058021 in ?? ()
#20 0x08059792 in ?? ()
#21 0x08058ff2 in ?? ()
#22 0x080556a3 in ?? ()
#23 0x08051074 in ?? ()
#24 0xbffff480 in ?? ()
#25 0x00000001 in ?? ()
#26 0x00000009 in ?? ()
#27 0x00000003 in ?? ()
#28 0x00000002 in ?? ()
#29 0x0120001e in ?? ()
#30 0x40016fc8 in ?? ()
#31 0x00000007 in ?? ()
#32 0x00000001 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000001 in ?? ()
#35 0x401dcd28 in ?? () from /usr/X11R6/lib/libX11.so.6
#36 0xbffff354 in ?? ()
#37 0x080beee8 in ?? ()
#38 0xbffff368 in ?? ()
#39 0x4012d05a in XCreatePixmapCursor () from /usr/X11R6/lib/libX11.so.6
#40 0x08054b98 in ?? ()
#41 0x080c1a18 in ?? ()
#42 0x00001756 in ?? ()
#43 0x0805e360 in ?? ()
#44 0x0000000c in ?? ()
#45 0xbffff4e0 in ?? ()
#46 0xbffff564 in ?? ()
#47 0x0805e020 in ?? ()
#48 0x080602ac in XtStrings ()
#49 0x00000000 in ?? ()
Hello
I have now compiled a xvncvewier with debugging symbols (for i386). It is available at http://www.opal.dhs.org/~ola/vncviewer.gz. I run it like this with
ddd:
ola@tigereye:~/build/debian/vnc/vnc-3.3.7/vncviewer$ ddd vncviewer
It seemed to understand that.
Hope this can help us to determine the cause of the problem.
Regards,
// Ola
On Tue, Aug 17, 2004 at 08:29:59AM -0400, Jayen Ashar wrote:
Actually, I am also running testing for the most part. I have tried to debug this with gdb, but it doesn't seem to have compiled with debugging symbols. Is it possible you could compile it with debugging symbols and send me the package? Or instruct me on how I should compile it with debugging symbols?
--Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Tue, Aug 17, 2004 at 07:58:36AM -0400, Jayen Ashar wrote:
Can you check that you have loaded the resources?
xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Yes.
ola@tigereye:~/cvses/opal-data/work/euronetics/lon$ xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
If this doesn't come back with
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
you should try
xrdb /etc/X11/app-defaults/Xvncviewer
But it do not do so within the Xvnc-server. But I assume that is not a problem.
If it does, then i don't know what your clipboard problem is.
I have also managed to reproduce this bug just by:
copy text from my vnc session
hit F8 and choose Clipboard: local <- remote
<the clipboard is now copied to my local xserver>
hit F8 and choose Clipboard: local -> remote
<the clipboard is now overwritten in my vnc session>
hit F8 and choose Clipboard: local <- remote
hit F8 and choose Clipboard: local -> remote
And for me just nothing happens. With or without xrdb. It would be really nice if you could try to debug this with ddd or a similar tool so we can determine where in the vnc code this problem exist.
Maybe there is a bug somewhere else in code. X maybe? I run testing
and I assume that you run unstable?
Regards,
// Ola
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 06:29:39PM -0400, Jayen Ashar wrote:
This is definitely not a window manager problem, since I can reproduce
this without a window manager running, in just a root X session.
I have now tried to reproduce this with just a root X session, with window manager etc. But I can not reproduce it. An interesting note is that
I can never get the clipboard to work either. So something is obviously
wrong but I can not reproduce your problem... Hmm...
Regards,
// Ola
Thanks,
Jayen
On Mon, 16 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 08:33:34AM -0400, Jayen Ashar wrote:
I tried to compile the vnc package with debugging symbols and then do a
backtrace in gdb. This is what I got:
Program received signal SIGSEGV, Segmentation fault.
0x4034aa73 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4034aa73 in strlen () from /lib/tls/libc.so.6
#1 0x0805457f in ?? ()
#2 0x00000000 in ?? ()
#3 0x40408840 in __after_morecore_hook () from /lib/tls/libc.so.6
#4 0x00000058 in ?? ()
#5 0x401156b0 in ?? () from /usr/X11R6/lib/libXt.so.6
#6 0x080d3028 in ?? ()
#7 0xbffff130 in ?? ()
#8 0xbfffef08 in ?? ()
#9 0x400d238b in XtMalloc () from /usr/X11R6/lib/libXt.so.6 #10 0x400f385f in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#11 0x400f3c53 in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#12 0x400e076f in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#13 0x400e111d in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#14 0x400e143f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#15 0x400ed5e7 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#16 0x080553ee in ?? ()
yes, that was very helpful.
apparently selection.c, line 299, serverCutText is null...
here is the backtrace i have from gdb now:
#0 0x4034aa73 in strlen () from /lib/tls/libc.so.6
#1 0x080530ec in ConvertSelection (w=0x0, selection=0x0,
target=0xbffff0e8,
type=0xbffff0b4, value=0xbffff0b8, length=0xbffff0bc,
format=0xbffff0c0)
at selection.c:299
#2 0x400f385f in XtAppGetSelectionTimeout () from
/usr/X11R6/lib/libXt.so.6
#3 0x400f3c53 in XtAppGetSelectionTimeout () from
/usr/X11R6/lib/libXt.so.6
#4 0x400e076f in XtDispatchEventToWidget () from
/usr/X11R6/lib/libXt.so.6
#5 0x400e111d in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#6 0x400e143f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#7 0x400ed5e7 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#8 0x08053d6c in ProcessXtEvents () at sockets.cxx:70
#9 0x08058072 in rdr::FdInStream::readWithTimeoutOrCallback ()
#10 0x08057a9d in rdr::FdInStream::overrun ()
#11 0x08057990 in rdr::FdInStream::readBytes ()
#12 0x08053fb5 in ReadFromRFBServer (out=0x0, n=0) at sockets.cxx:139
#13 0x08050470 in HandleRFBServerMessage () at rfbproto.c:502
#14 0x08053565 in main (argc=1, argv=0xbffff594) at vncviewer.c:135
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
I have now compiled a xvncvewier with debugging symbols (for i386). It is available at http://www.opal.dhs.org/~ola/vncviewer.gz. I run it like this with
ddd:
ola@tigereye:~/build/debian/vnc/vnc-3.3.7/vncviewer$ ddd vncviewer
It seemed to understand that.
Hope this can help us to determine the cause of the problem.
Regards,
// Ola
On Tue, Aug 17, 2004 at 08:29:59AM -0400, Jayen Ashar wrote:
Actually, I am also running testing for the most part. I have tried to debug this with gdb, but it doesn't seem to have compiled with debugging symbols. Is it possible you could compile it with debugging symbols and send me the package? Or instruct me on how I should compile it with debugging symbols?
--Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Tue, Aug 17, 2004 at 07:58:36AM -0400, Jayen Ashar wrote:
Can you check that you have loaded the resources?
xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Yes.
ola@tigereye:~/cvses/opal-data/work/euronetics/lon$ xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
If this doesn't come back with
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
you should try
xrdb /etc/X11/app-defaults/Xvncviewer
But it do not do so within the Xvnc-server. But I assume that is not a problem.
If it does, then i don't know what your clipboard problem is.
I have also managed to reproduce this bug just by:
copy text from my vnc session
hit F8 and choose Clipboard: local <- remote
<the clipboard is now copied to my local xserver>
hit F8 and choose Clipboard: local -> remote
<the clipboard is now overwritten in my vnc session>
hit F8 and choose Clipboard: local <- remote
hit F8 and choose Clipboard: local -> remote
And for me just nothing happens. With or without xrdb. It would be really
nice if you could try to debug this with ddd or a similar tool so we can
determine where in the vnc code this problem exist.
Maybe there is a bug somewhere else in code. X maybe? I run testing
and I assume that you run unstable?
Regards,
// Ola
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 06:29:39PM -0400, Jayen Ashar wrote:
This is definitely not a window manager problem, since I can reproduce
this without a window manager running, in just a root X session.
I have now tried to reproduce this with just a root X session, with window manager etc. But I can not reproduce it. An interesting note is that
I can never get the clipboard to work either. So something is obviously
wrong but I can not reproduce your problem... Hmm...
Regards,
// Ola
Thanks,
Jayen
On Mon, 16 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 08:33:34AM -0400, Jayen Ashar wrote:
I tried to compile the vnc package with debugging symbols and then do a
backtrace in gdb. This is what I got:
Program received signal SIGSEGV, Segmentation fault. 0x4034aa73 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4034aa73 in strlen () from /lib/tls/libc.so.6
#1 0x0805457f in ?? ()
#2 0x00000000 in ?? ()
#3 0x40408840 in __after_morecore_hook () from /lib/tls/libc.so.6
#4 0x00000058 in ?? ()
#5 0x401156b0 in ?? () from /usr/X11R6/lib/libXt.so.6
#6 0x080d3028 in ?? ()
#7 0xbffff130 in ?? ()
#8 0xbfffef08 in ?? ()
Hello
Thanks very much.
I have now uploaded a fixed version (I hope). It is at http://www.opal.dhs.org/~ola/vncviewer-fixed.gz
Please test it and tell how it worked.
Regards,
// Ola
On Tue, Aug 17, 2004 at 07:20:22PM -0400, Jayen Ashar wrote:
yes, that was very helpful.
apparently selection.c, line 299, serverCutText is null...
here is the backtrace i have from gdb now:
#0 0x4034aa73 in strlen () from /lib/tls/libc.so.6
#1 0x080530ec in ConvertSelection (w=0x0, selection=0x0, target=0xbffff0e8,
type=0xbffff0b4, value=0xbffff0b8, length=0xbffff0bc, format=0xbffff0c0)
at selection.c:299
#2 0x400f385f in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#3 0x400f3c53 in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#4 0x400e076f in XtDispatchEventToWidget () from
/usr/X11R6/lib/libXt.so.6
#5 0x400e111d in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#6 0x400e143f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#7 0x400ed5e7 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#8 0x08053d6c in ProcessXtEvents () at sockets.cxx:70
#9 0x08058072 in rdr::FdInStream::readWithTimeoutOrCallback ()
#10 0x08057a9d in rdr::FdInStream::overrun ()
#11 0x08057990 in rdr::FdInStream::readBytes ()
#12 0x08053fb5 in ReadFromRFBServer (out=0x0, n=0) at sockets.cxx:139
#13 0x08050470 in HandleRFBServerMessage () at rfbproto.c:502
#14 0x08053565 in main (argc=1, argv=0xbffff594) at vncviewer.c:135
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
I have now compiled a xvncvewier with debugging symbols (for i386). It is available at http://www.opal.dhs.org/~ola/vncviewer.gz. I run it like this with
ddd:
ola@tigereye:~/build/debian/vnc/vnc-3.3.7/vncviewer$ ddd vncviewer
It seemed to understand that.
Hope this can help us to determine the cause of the problem.
Regards,
// Ola
On Tue, Aug 17, 2004 at 08:29:59AM -0400, Jayen Ashar wrote:
Actually, I am also running testing for the most part. I have tried to debug this with gdb, but it doesn't seem to have compiled with debugging
symbols. Is it possible you could compile it with debugging symbols and
send me the package? Or instruct me on how I should compile it with debugging symbols?
--Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Tue, Aug 17, 2004 at 07:58:36AM -0400, Jayen Ashar wrote:
Can you check that you have loaded the resources?
xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Yes.
ola@tigereye:~/cvses/opal-data/work/euronetics/lon$ xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
If this doesn't come back with
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
you should try
xrdb /etc/X11/app-defaults/Xvncviewer
But it do not do so within the Xvnc-server. But I assume that is not a problem.
If it does, then i don't know what your clipboard problem is.
I have also managed to reproduce this bug just by:
copy text from my vnc session
hit F8 and choose Clipboard: local <- remote
<the clipboard is now copied to my local xserver>
hit F8 and choose Clipboard: local -> remote
<the clipboard is now overwritten in my vnc session>
hit F8 and choose Clipboard: local <- remote
hit F8 and choose Clipboard: local -> remote
And for me just nothing happens. With or without xrdb. It would be really
nice if you could try to debug this with ddd or a similar tool so we can
determine where in the vnc code this problem exist.
Maybe there is a bug somewhere else in code. X maybe? I run testing and I assume that you run unstable?
Regards,
// Ola
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 06:29:39PM -0400, Jayen Ashar wrote:
This is definitely not a window manager problem, since I can reproduce
this without a window manager running, in just a root X session.
I have now tried to reproduce this with just a root X session, with
window manager etc. But I can not reproduce it. An interesting note is that
I can never get the clipboard to work either. So something is obviously
wrong but I can not reproduce your problem... Hmm...
Regards,
// Ola
Thanks,
Jayen
On Mon, 16 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 08:33:34AM -0400, Jayen Ashar wrote:
I tried to compile the vnc package with debugging symbols and then do a
backtrace in gdb. This is what I got:
Program received signal SIGSEGV, Segmentation fault.
Yes, that version is working for me with no problems.
I also tried my own version where I commented out the following lines from rfbproto.c:
366: if (serverCutText)
367: free(serverCutText);
368: serverCutText = NULL;
That also seemed to work, though I think that means it was sending the
same clipboard data over and over. Just an FYI.
Thanks so much for fixing this problem.
--Jayen
On Wed, 18 Aug 2004, Ola Lundqvist wrote:
Hello
Thanks very much.
I have now uploaded a fixed version (I hope). It is at http://www.opal.dhs.org/~ola/vncviewer-fixed.gz
Please test it and tell how it worked.
Regards,
// Ola
On Tue, Aug 17, 2004 at 07:20:22PM -0400, Jayen Ashar wrote:
yes, that was very helpful.
apparently selection.c, line 299, serverCutText is null...
here is the backtrace i have from gdb now:
#0 0x4034aa73 in strlen () from /lib/tls/libc.so.6
#1 0x080530ec in ConvertSelection (w=0x0, selection=0x0, target=0xbffff0e8,
type=0xbffff0b4, value=0xbffff0b8, length=0xbffff0bc, format=0xbffff0c0)
at selection.c:299
#2 0x400f385f in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#3 0x400f3c53 in XtAppGetSelectionTimeout () from /usr/X11R6/lib/libXt.so.6
#4 0x400e076f in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#5 0x400e111d in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#6 0x400e143f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#7 0x400ed5e7 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#8 0x08053d6c in ProcessXtEvents () at sockets.cxx:70
#9 0x08058072 in rdr::FdInStream::readWithTimeoutOrCallback ()
#10 0x08057a9d in rdr::FdInStream::overrun ()
#11 0x08057990 in rdr::FdInStream::readBytes ()
#12 0x08053fb5 in ReadFromRFBServer (out=0x0, n=0) at sockets.cxx:139
#13 0x08050470 in HandleRFBServerMessage () at rfbproto.c:502
#14 0x08053565 in main (argc=1, argv=0xbffff594) at vncviewer.c:135
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
I have now compiled a xvncvewier with debugging symbols (for i386). It is
available at http://www.opal.dhs.org/~ola/vncviewer.gz. I run it like this with
ddd:
ola@tigereye:~/build/debian/vnc/vnc-3.3.7/vncviewer$ ddd vncviewer
It seemed to understand that.
Hope this can help us to determine the cause of the problem.
Regards,
// Ola
On Tue, Aug 17, 2004 at 08:29:59AM -0400, Jayen Ashar wrote:
Actually, I am also running testing for the most part. I have tried to
debug this with gdb, but it doesn't seem to have compiled with debugging
symbols. Is it possible you could compile it with debugging symbols and
send me the package? Or instruct me on how I should compile it with debugging symbols?
--Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Tue, Aug 17, 2004 at 07:58:36AM -0400, Jayen Ashar wrote:
Can you check that you have loaded the resources?
xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Yes.
ola@tigereye:~/cvses/opal-data/work/euronetics/lon$ xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
If this doesn't come back with
Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)
you should try
xrdb /etc/X11/app-defaults/Xvncviewer
But it do not do so within the Xvnc-server. But I assume that is not a problem.
If it does, then i don't know what your clipboard problem is.
I have also managed to reproduce this bug just by:
copy text from my vnc session
hit F8 and choose Clipboard: local <- remote
<the clipboard is now copied to my local xserver>
hit F8 and choose Clipboard: local -> remote
<the clipboard is now overwritten in my vnc session>
hit F8 and choose Clipboard: local <- remote
hit F8 and choose Clipboard: local -> remote
And for me just nothing happens. With or without xrdb. It would be really
nice if you could try to debug this with ddd or a similar tool so we can
determine where in the vnc code this problem exist.
Maybe there is a bug somewhere else in code. X maybe? I run testing and I assume that you run unstable?
Regards,
// Ola
Thanks,
Jayen
On Tue, 17 Aug 2004, Ola Lundqvist wrote:
Hello
On Mon, Aug 16, 2004 at 06:29:39PM -0400, Jayen Ashar wrote:
This is definitely not a window manager problem, since I can reproduce
this without a window manager running, in just a root X session.
I have now tried to reproduce this with just a root X session, with
window manager etc. But I can not reproduce it. An interesting note is that
I can never get the clipboard to work either. So something is obviously
wrong but I can not reproduce your problem... Hmm...
Regards,
// Ola
Thanks,
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 46:05:30 |
| Calls: | 12,111 |
| Calls today: | 2 |
| Files: | 15,010 |
| Messages: | 6,518,482 |