• Bug#245608: gjay: Uses wrong socket name

    From Craig Small@1:229/2 to All on Fri Aug 20 14:40:13 2004
    From: [email protected]

    Package: gjay
    Version: 0.2.8.3-3
    Followup-For: Bug #245608

    The bug submitter was on the right track, just needed a little more
    probing and he'd would of cracked it.

    This is gjay's strace:
    connect(6, {sa_family=AF_FILE, path="/tmp/xmms_csmall.-1"}, 110) = -1 ENOENT (No such file or directory)

    This is xmms' strace:
    7983 connect(5, {sa_family=AF_FILE, path="/tmp/xmms_csmall.0"}, 110) = -1 ECONNREFUSED (Connection refused)
    7983 close(5) = 0 7983
    unlink("/tmp/xmms_csmall.0") = 0
    7983 bind(4, {sa_family=AF_FILE, path="/tmp/xmms_csmall.0"}, 110) = 0
    7983 listen(4, 100) = 0

    Whoops, gjay is talking on -1 and xmms is listening on 0.
    We're off by one. I'm not a sure why gjay uses -1 instead of 0 but that
    is the problem.

    It would not be a bug submission without and evil workaround.
    To get around the problem, run
    cd /tmp && ln -s xmms_`whoami`.0 xmms_`whoami`.-1

    Evil but effective, with the symlink gjay controls xmms again.

    - Craig


    -- System Information:
    Debian Release: testing/unstable
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.3-1-386
    Locale: LANG=en_AU, LC_CTYPE=en_AU

    Versions of packages gjay depends on:
    ii libatk1.0-0 1.6.1-2 The ATK accessibility toolkit
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii libglib2.0-0 2.4.4-1 The GLib library of C routines
    ii libgsl0 1.5-2 The GNU Scientific Library (GSL) - ii libgtk2.0-0 2.4.3-3 The GTK+ graphical user interface ii libpango1.0-0 1.4.0-4 Layout and rendering of internatio ii mp3info 0.8.4-6 An MP3 technical info viewer and I ii mpg321 [mpg123] 0.2.10.3 A Free command-line mp3 player, co ii xmms 1.2.10-1 Versatile X audio player that look

    -- no debconf information


    --
    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)