Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when pressing F2 without having selected file #1551

Closed
testman42 opened this issue Sep 12, 2021 · 13 comments
Closed

crash when pressing F2 without having selected file #1551

testman42 opened this issue Sep 12, 2021 · 13 comments

Comments

@testman42
Copy link

Expected behaviour

Pressing F2 should either rename file or do nothing, depending on number of selected elements

Actual behaviour

Works as expected when one or more elements (files and/or directories) are selected, but crashes whole program (all open windows) if F2 is pressed when no elements are selected.

Steps to reproduce the behaviour

Open Caja window, press F2

MATE general version

MATE 1.24.0

Package version

Caja 1.24.0

Linux Distribution

Linux Mint 20.2 Uma 64-bit

Link to bugreport of your Distribution (requirement)

linuxmint/mate doesn't have option to report issues

@lukefromdc
Copy link
Member

I wasn't able to duplicate this with locally compiled MATE 1.26.0 (including caja 1.26.0) on Debian Unstable. Pressing F2 with no files selected did nothing (as intended) or if a file was selected opened the renaming entry. Wonder what's different? Note that Mint is based on Ubuntu which in turn is based on Debian so systems should not be that far apart other than versions.

@teoso
Copy link

teoso commented Sep 21, 2021

This bug also affects me. Pressing F2 key without selected file/folder closes caja window. If multiple instances of caja are open all are terminated. Syslog contains some information on crash.

System information
caja: 1.24.0
MATE: 1.24.0
kernel: 5.4.0-84-generic
Linux mint 20.2 (64 bit)

Information in syslog attached in a file.

syslog information on systemd-coredump.txt

@flth
Copy link

flth commented Jan 17, 2022

Was going to report the same. Linux Mint Mate edition, even can try it in the live system. Start it up, open home folder, press F2 and it closes.

@mbkma
Copy link
Member

mbkma commented Jan 17, 2022

Is this bug present with Caja 1.26 as well? Or is only Caja 1.24 affected?

@lukefromdc
Copy link
Member

lukefromdc commented Jan 18, 2022 via email

@linuxloot-de
Copy link

On my site it works fine with DebianSID with mate-desktop (1.26.0-1)

@smurphos
Copy link

smurphos commented Jul 6, 2022

Can be reproduced with 1.26 in Mint 20.3 - F2 with no selection segfaults caja.

@lukefromdc
Copy link
Member

lukefromdc commented Jul 6, 2022 via email

@smurphos
Copy link

smurphos commented Jul 6, 2022

Mint 21 based on Ubuntu 22.04 in beta should be available in the next week or - if it still occurs there (still 1.26.0) I'll raise it during the beta test. It does look like Mint are making some minor mods to the Ubuntu packaged version for the Mint package, specifically support for Mint's 'bulky' mass rename utility. I suspect that could be the difference.

@smurphos
Copy link

smurphos commented Jul 6, 2022

OK - bulky is definitely the culprit. Caja doesn't segfault if bulky is uninstalled, does with it installed.

@mtwebster
Copy link
Contributor

This is an issue with the caja in Mint's repos: https://gitlab.com/mate-pins/caja/-/merge_requests/4

This issue can be closed.

p.s. bump #1535

@cristian64
Copy link

The crash can still be reproduced with Linux Mint 21.1 "Vera":

Reproduction steps:

  • Launch Caja.
  • Press F2 without selecting any file.

In my case, I see this crash several times a day: a misclick before pressing F2, and thus failing to select the file, and Caja vaporizes.

@lukefromdc
Copy link
Member

Closing as Bulky has been identifed as the culprit, and an issue opened there:
linuxmint/bulky#43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants