Ticket #4651 (closed defect: fixed)
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
Change History
Changed 13 days ago by egmont
- Attachment mc-4651-bt-full.txt added
comment:1 Changed 13 days 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 7 days ago by andrew_b
- Branch state changed from no branch to on review
Branch: 4651_mouse_drag_segfault
Initial changeset:abbd9d59159fd01c7ae79b80626660f7b28acb67
comment:3 Changed 7 days ago by egmont
- Votes for changeset set to egmont
Works for me, thanks a lot!
comment:5 Changed 6 days 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
bt full