• Bug#214803: still segfaulting in 3.3.7-3 (1/2)

    From Ola Lundqvist@1:229/2 to Jayen Ashar on Mon Aug 16 18:30:14 2004
    From: [email protected]

    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

    I'm not sure it compiled wtih debug symbols, but I hope it helps anyway.

    Not really because I can not see a single reference to code within
    vnc. :(

    We really have a problem with clipboard. I'll see if I can debug this.
    The problem is that I do not have the problem. I'll see if I can run a windowmaker
    session and try that.

    Regards,

    // Ola

    --Jayen

    On Mon, 16 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 09:09:40PM -0400, Jayen Ashar wrote:
    It segfaults if I load the settings from that file with 'xrdb /etc/X11/app-defaults/Xvncviewer', yes.

    Does it not segfault for you?

    No and I have tried really hard. But I do not use KDE and I have
    heard that that may be the problem.

    Regards,

    // Ola

    --Jayen

    On Sun, 15 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 08:35:01AM -0400, Jayen Ashar wrote:
    Package: xvncviewer
    Version: 3.3.7-3
    Followup-For: Bug #214803

    Since the workaround for bug #214208 is now in 3.3.7-3, I imagine other people will also start to hit this problem. Can anyone else reproduce this? Or is it just me? If you don't hit this, are you loading the new /etc/X11/app-defaults/
    Xvncviewer?

    xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)

    I do not really follow you. Do you have a segfault problem with xvncviewer
    now with the app-defaults workaround?

    If so I will revert back to old behaviour.

    Regards,

    // Ola

    Thanks,
    Jayen

    -- System Information:
    Debian Release: 3.1
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7-1-k7
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages xvncviewer depends on:
    ii dpkg 1.10.23 Package maintenance system for Deb
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
    ii libgcc1 1:3.4.1-4sarge1 GCC support library
    ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
    ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
    ii libstdc++5 1:3.3.4-6sarge1 The GNU Standard C++ Library v3
    ii libx11-6 4.3.0.dfsg.1-4 X Window System protocol client li
    ii libxaw7 4.3.0.dfsg.1-4 X Athena widget set library
    ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte
    ii libxmu6 4.3.0.dfsg.1-4 X Window System miscellaneous util
    ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics
    ii vnc-common 3.3.7-1 Virtual network computing server s
    ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m
    ii zlib1g 1:1.2.1.1-5 compression library - runtime

    -- no debconf information


    --
    --------------------- Ola Lundqvist ---------------------------
    / [email protected] Annebergsslingan 37 \
    | [email protected] 654 65 KARLSTAD |
    | +46 (0)54-10 14 30 +46 (0)70-332 1551 |
    | http://www.opal.dhs.org UIN/icq: 4912500 |
    \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Jayen Ashar@1:229/2 to Ola Lundqvist on Tue Aug 17 00:40:10 2004
    From: [email protected]

    This is definitely not a window manager problem, since I can reproduce
    this without a window manager running, in just a root X session.

    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

    I'm not sure it compiled wtih debug symbols, but I hope it helps anyway.

    Not really because I can not see a single reference to code within
    vnc. :(

    We really have a problem with clipboard. I'll see if I can debug this.
    The problem is that I do not have the problem. I'll see if I can run a windowmaker
    session and try that.

    Regards,

    // Ola

    --Jayen

    On Mon, 16 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 09:09:40PM -0400, Jayen Ashar wrote:
    It segfaults if I load the settings from that file with 'xrdb /etc/X11/app-defaults/Xvncviewer', yes.

    Does it not segfault for you?

    No and I have tried really hard. But I do not use KDE and I have
    heard that that may be the problem.

    Regards,

    // Ola

    --Jayen

    On Sun, 15 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 08:35:01AM -0400, Jayen Ashar wrote:
    Package: xvncviewer
    Version: 3.3.7-3
    Followup-For: Bug #214803

    Since the workaround for bug #214208 is now in 3.3.7-3, I imagine other people will also start to hit this problem. Can anyone else reproduce this? Or is it just me? If you don't hit this, are you loading the new /etc/X11/app-defaults/
    Xvncviewer?

    xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)

    I do not really follow you. Do you have a segfault problem with xvncviewer
    now with the app-defaults workaround?

    If so I will revert back to old behaviour.

    Regards,

    // Ola

    Thanks,
    Jayen

    -- System Information:
    Debian Release: 3.1
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7-1-k7
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages xvncviewer depends on:
    ii dpkg 1.10.23 Package maintenance system for Deb
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
    ii libgcc1 1:3.4.1-4sarge1 GCC support library
    ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
    ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
    ii libstdc++5 1:3.3.4-6sarge1 The GNU Standard C++ Library v3
    ii libx11-6 4.3.0.dfsg.1-4 X Window System protocol client li
    ii libxaw7 4.3.0.dfsg.1-4 X Athena widget set library
    ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte
    ii libxmu6 4.3.0.dfsg.1-4 X Window System miscellaneous util
    ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics ii vnc-common 3.3.7-1 Virtual network computing server s
    ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m
    ii zlib1g 1:1.2.1.1-5 compression library - runtime

    -- no debconf information


    --
    --------------------- Ola Lundqvist ---------------------------

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ola Lundqvist@1:229/2 to Jayen Ashar on Tue Aug 17 08:30:09 2004
    From: [email protected]

    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.

    What I ment was that my windowmanager might be preventing me from the
    problem.

    I'll try to debug this today.

    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

    I'm not sure it compiled wtih debug symbols, but I hope it helps anyway.

    Not really because I can not see a single reference to code within
    vnc. :(

    We really have a problem with clipboard. I'll see if I can debug this.
    The problem is that I do not have the problem. I'll see if I can run a windowmaker
    session and try that.

    Regards,

    // Ola

    --Jayen

    On Mon, 16 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 09:09:40PM -0400, Jayen Ashar wrote:
    It segfaults if I load the settings from that file with 'xrdb /etc/X11/app-defaults/Xvncviewer', yes.

    Does it not segfault for you?

    No and I have tried really hard. But I do not use KDE and I have
    heard that that may be the problem.

    Regards,

    // Ola

    --Jayen

    On Sun, 15 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 08:35:01AM -0400, Jayen Ashar wrote:
    Package: xvncviewer
    Version: 3.3.7-3
    Followup-For: Bug #214803

    Since the workaround for bug #214208 is now in 3.3.7-3, I imagine other people will also start to hit this problem. Can anyone else reproduce this? Or is it just me? If you don't hit this, are you loading the new /etc/X11/app-defaults/
    Xvncviewer?

    xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
    Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)

    I do not really follow you. Do you have a segfault problem with xvncviewer
    now with the app-defaults workaround?

    If so I will revert back to old behaviour.

    Regards,

    // Ola

    Thanks,
    Jayen

    -- System Information:
    Debian Release: 3.1
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7-1-k7
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages xvncviewer depends on:
    ii dpkg 1.10.23 Package maintenance system for Deb
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
    ii libgcc1 1:3.4.1-4sarge1 GCC support library ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
    ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
    ii libstdc++5 1:3.3.4-6sarge1 The GNU Standard C++ Library v3
    ii libx11-6 4.3.0.dfsg.1-4 X Window System protocol client li
    ii libxaw7 4.3.0.dfsg.1-4 X Athena widget set library
    ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ola Lundqvist@1:229/2 to Jayen Ashar on Tue Aug 17 09:50:06 2004
    From: [email protected]

    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

    I'm not sure it compiled wtih debug symbols, but I hope it helps anyway.

    Not really because I can not see a single reference to code within
    vnc. :(

    We really have a problem with clipboard. I'll see if I can debug this.
    The problem is that I do not have the problem. I'll see if I can run a windowmaker
    session and try that.

    Regards,

    // Ola

    --Jayen

    On Mon, 16 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 09:09:40PM -0400, Jayen Ashar wrote:
    It segfaults if I load the settings from that file with 'xrdb /etc/X11/app-defaults/Xvncviewer', yes.

    Does it not segfault for you?

    No and I have tried really hard. But I do not use KDE and I have
    heard that that may be the problem.

    Regards,

    // Ola

    --Jayen

    On Sun, 15 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 08:35:01AM -0400, Jayen Ashar wrote:
    Package: xvncviewer
    Version: 3.3.7-3
    Followup-For: Bug #214803

    Since the workaround for bug #214208 is now in 3.3.7-3, I imagine other people will also start to hit this problem. Can anyone else reproduce this? Or is it just me? If you don't hit this, are you loading the new /etc/X11/app-defaults/
    Xvncviewer?

    xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
    Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)

    I do not really follow you. Do you have a segfault problem with xvncviewer
    now with the app-defaults workaround?

    If so I will revert back to old behaviour.

    Regards,

    // Ola

    Thanks,
    Jayen

    -- System Information:
    Debian Release: 3.1
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7-1-k7
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages xvncviewer depends on:
    ii dpkg 1.10.23 Package maintenance system for Deb
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
    ii libgcc1 1:3.4.1-4sarge1 GCC support library ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
    ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
    ii libstdc++5 1:3.3.4-6sarge1 The GNU Standard C++ Library v3
    ii libx11-6 4.3.0.dfsg.1-4 X Window System protocol client li

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Jayen Ashar@1:229/2 to Ola Lundqvist on Tue Aug 17 14:10:10 2004
    From: [email protected]

    Can you check that you have loaded the resources?
    xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave

    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

    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

    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

    I'm not sure it compiled wtih debug symbols, but I hope it helps anyway.

    Not really because I can not see a single reference to code within
    vnc. :(

    We really have a problem with clipboard. I'll see if I can debug this. The problem is that I do not have the problem. I'll see if I can run a windowmaker
    session and try that.

    Regards,

    // Ola

    --Jayen

    On Mon, 16 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 09:09:40PM -0400, Jayen Ashar wrote:
    It segfaults if I load the settings from that file with 'xrdb /etc/X11/app-defaults/Xvncviewer', yes.

    Does it not segfault for you?

    No and I have tried really hard. But I do not use KDE and I have heard that that may be the problem.

    Regards,

    // Ola

    --Jayen

    On Sun, 15 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 08:35:01AM -0400, Jayen Ashar wrote:
    Package: xvncviewer
    Version: 3.3.7-3
    Followup-For: Bug #214803

    Since the workaround for bug #214208 is now in 3.3.7-3, I imagine other people will also start to hit this problem. Can anyone else reproduce this? Or is it just me? If you don't hit this, are you loading the new /etc/X11/app-defaults/
    Xvncviewer?

    xrdb -query /etc/X11/app-defaults/Xvncviewer | egrep Enter\|Leave
    Vncviewer.translations: <Enter>: SelectionToVNC(always)\n <Leave>: SelectionFromVNC(always)

    I do not really follow you. Do you have a segfault problem with xvncviewer
    now with the app-defaults workaround?

    If so I will revert back to old behaviour.

    Regards,

    // Ola

    Thanks,

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ola Lundqvist@1:229/2 to Jayen Ashar on Tue Aug 17 14:40:12 2004
    From: [email protected]

    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

    I'm not sure it compiled wtih debug symbols, but I hope it helps anyway.

    Not really because I can not see a single reference to code within
    vnc. :(

    We really have a problem with clipboard. I'll see if I can debug this. The problem is that I do not have the problem. I'll see if I can run a windowmaker
    session and try that.

    Regards,

    // Ola

    --Jayen

    On Mon, 16 Aug 2004, Ola Lundqvist wrote:

    Hello

    On Sun, Aug 15, 2004 at 09:09:40PM -0400, Jayen Ashar wrote:
    It segfaults if I load the settings from that file with 'xrdb /etc/X11/app-defaults/Xvncviewer', yes.

    Does it not segfault for you?

    No and I have tried really hard. But I do not use KDE and I have heard that that may be the problem.

    Regards,

    // Ola

    --Jayen


    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)