• Bug#265402: Tk-shell wish aborts when DISPLAY is set to something diffe

    From Beeble@1:229/2 to All on Fri Aug 13 02:10:07 2004
    From: [email protected]

    Package: tk8.4
    Version: 8.4.6-1
    --------------------------------------------------
    The reported Error is:
    alloc: invalid block: 0x80844c8: 38 8 ef

    Abgebrochen

    --------------------------------------------------
    I have done the following:

    andrea@obfuscator:~$ export DISPLAY=:0
    andrea@obfuscator:~$ wish8.4
    % exit
    andrea@obfuscator:~$ export DISPLAY=obfuscator/unix:0
    andrea@obfuscator:~$ wish8.4
    % exit
    alloc: invalid block: 0x80844c8: 38 8 ef

    Abgebrochen
    andrea@obfuscator:~$

    ------------------------------------------------------------------
    kernel version:
    Linux obfuscator 2.6.6 #2 SMP Fri May 14 20:38:30 CEST 2004 i686 GNU/Linux ------------------------------------------------------------------
    C lib:
    Version: 2.3.2.ds1-13 ------------------------------------------------------------------
    Tcl/Tk:
    Version: 8.4.6-1




    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Chris Waters@1:229/2 to All on Fri Aug 13 10:30:10 2004
    From: [email protected]

    package tk8.4
    tags 265402 confirmed
    severity 265402 minor
    retitle 265402 Tk aborts on exit when talking to X through PF_UNIX socket thanks

    Ok, this is interesting, but somewhat overstated. It does not abort
    when $DISPLAY is set to something other than ":0" (which would be a
    major bug). I set $DISPLAY to point to my FreeBSD box, and that
    worked fine. So it seems that it's just the use of Unix-style
    sockets, rather than the more usual IP sockets, that triggers this.
    Using Unix-style sockets for X is pretty obscure - I don't think I've
    seen anyone even try before.

    Furthermore, it only aborts on exit, as far as I can tell. I ran
    tkdesk with $DISPLAY pointing to a unix socket, and it seemed to work
    perfectly until I exited, at which point it produced the same error
    message. So it looks pretty harmless.

    But for all that it seems to be both obscure and essentially harmless,
    I can't deny that it looks like a bug, so I'll investigate further
    when I get some time. Thanks for calling this to my attention.

    cheers
    --
    Chris Waters | Pneumonoultra- osis is too long [email protected] | microscopicsilico- to fit into a single
    or [email protected] | volcaniconi- standalone haiku


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

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