[tin-dev] tin-2.4.5 SIGSEGV when clicking past the end of topic list in a newsgroup in mate-terminal

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Wed Jan 27 22:43:05 CET 2021


Hello, Urs.

On Wednesday, 27 January 2021 at 16:14, Urs Janßen wrote:
> On Wed, Jan 27, 2021 at 02:44:26PM +0100, Dominik 'Rathann' Mierzejewski wrote:
> > Dear developers,
> > 
> > I accidentally clicked my mouse in the "empty" area past the end of the
> > topic list in newsgroup view in my X terminal (mate-terminal) and tin
> > crashed with SIGSEGV. Here's the backtrace:
> 
> someone is using the mouse buttons? (never found the actions bound to them
> intuitive/usefull, so I do run with use_mouse=OFF all the time).

I don't actually use mouse to navigate in tin. As I wrote above, this
was by accident.

> [...]
> > #6  0x00005555555c9039 in info_message (fmt=0x5555555f83ae "%s") at ./screen.c:116
> > #7  0x0000555555584320 in draw_subject_arrow () at ./group.c:986
> > #8  draw_subject_arrow () at ./group.c:977
> > #9  0x0000555555584220 in global_mouse_action (left_action=<optimized out>, right_action=0x55555558b660 <group_right>)
> >     at ./global.c:335
> > #10 0x000055555558b886 in group_page (group=<optimized out>) at ./group.c:208
> [...]
> > It's 100% reproducible. Open a newsgroup with unread articles (more than
> > one screen). Go to the end (I press "End" key) and click in the empty
> > area past the last topic.
> 
> the following patch should fix this (but there might be more issues with
> using the mouse - I doubt that's in widespread use).

The patch fixes the segfault for me. I can no longer reproduce it. Thank
you!

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the tin-dev mailing list