"Stefan Ott" <ste...@ott.net> writes:
>
> Could you tell me which command(s) you use to provoke the segfault?

I see this still happens.  It can be provoked by sending aumix a
SIGWINCH,

    aumix                     # on a console screen
    killall -WINCH aumix      # from another tty


I believe it's due to two Gpm_Open() calls in aumix, as per
long-standing gpm bug#326709.  Aumix has a Gpm_Open() itself but gets a
second one due to calling ncurses mousemask().

I expect two Gpm_Open() should either work or give its error return, not
segfault.  But if aumix can connect to gpm then does it need mousemask()
too?

I wonder if the "else" condition in aumix src/mouse.c StartMouse() is
supposed to enclose the mousemask() too.  Only use mousemask() if
Gpm_Open() doesn't work.  On the console ncurses mousemask() is a gpm
connection anyway.  Will it do anything that aumix's own connection
doesn't?

Trying it seems to work on the console, but I'm not sure it's quite
right in an xterm.  Could there be something subtle there?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to