Ticket #4651 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Segfault when dragging mouse in half-empty panel

Reported by: egmont Owned by: andrew_b
Priority: major Milestone: 4.8.34
Component: mc-core Version: 4.8.33
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

Go to a directory with fewer files than fit in the panel, i.e. with some empty space under the listing.

Click on one of the files and keep the mouse button held down.

Slowly move the mouse downwards.

As it leaves the last file, the last file becomes unhighlighted. This is already unexpected because the current file cursor now points to nowhere.

Keep slowly moving the mouse down to the very bottom (the bottom button bar, or even outside of the terminal window) and then back to the panel. Repeat a few times if necessary (while still holding down the mouse button) => segfault.

Broke in 1ac839d20c2a277d54aa00286b69f61ffeaec929. Prior to that, as expected, the current file cursor would remain on the last file of the panel, and I could not trigger a segfault.

Attachments

mc-4651-bt-full.txt (3.3 KB) - added by egmont 10 months ago.
bt full

Change History

Changed 10 months ago by egmont

bt full

comment:1 Changed 10 months ago by zaytsev

  • Owner set to andrew_b
  • Status changed from new to assigned
  • Milestone changed from Future Releases to 4.8.34

comment:2 Changed 10 months ago by andrew_b

  • Branch state changed from no branch to on review

Branch: 4651_mouse_drag_segfault
Initial changeset:abbd9d59159fd01c7ae79b80626660f7b28acb67

comment:3 Changed 10 months ago by egmont

  • Votes for changeset set to egmont

Works for me, thanks a lot!

comment:4 Changed 10 months ago by zaytsev

  • Branch state changed from on review to approved

comment:5 Changed 10 months ago by andrew_b

  • Votes for changeset changed from egmont to committed-master
  • Branch state changed from approved to merged

Merged to master: [9f020f7bfd0d12a8188ae1426cc9eb1dd9fee3f8].

git log --oneline ee8b3811d..9f020f7bf

comment:6 Changed 10 months ago by andrew_b

  • Status changed from assigned to testing
  • Resolution set to fixed

comment:7 Changed 10 months ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.