Bug#1078255: xterm: segmentation fault when clicking on the right button
On 2024-08-09 15:01:17 -0400, Thomas Dickey wrote:
> On Fri, Aug 09, 2024 at 02:44:46PM -0400, Thomas Dickey wrote:
> > Is this something that you might reproduce, to provide test-data?
I tried to reproduce it, but I couldn't.
> ld could be null if there's some inconsistency in the select begin/end
> bookkeeping, or if (for example) in selecting from the scrollback and
> there's some inconsistency in the function that retrieves a pointer
> to the line. Adding a check in okPosition can help some, but a bug
> in the scrollback logic will probably surface in some other place.
I may have clicked in the scrollback. I don't remember.
> If it's an inconsistency in the select begin/end bookkeeping, that's
> something that you might recall the sequence of operations which triggered
> the problem. The stack trace says that the beginning of the selection
> has no valid line pointer.
I had clicked with the right button by mistake (which sometimes
happens when I move the mouse). So I did not explicitly set the
beginning of the selection.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: