Nautilus crashes when viewing file properties
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| nautilus (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
| papers (Ubuntu) |
Fix Released
|
Medium
|
Alessandro Astone | ||
| Questing |
Fix Released
|
Low
|
Alessandro Astone | ||
Bug Description
[ Impact ]
GNOME nautilus 49.0 crashes while trying to see the properties of a cbz file.
Running from the terminal, I get these logs:
** Message: 00:53:53.767: Connecting to org.freedesktop
Initializing nautilus-dropbox 2019.02.14
(org.gnome.
** (org.gnome.
free(): invalid pointer
fish: Job 1, 'nautilus .' terminated by signal SIGABRT (Abort)
[ Test Plan ]
1. Obtain a .cbz file
2. Open Files
3. Navigate to the .cbz file
4. Right click > Properties
5. Verify that Nautilus did not crash
6. Click "Document Properties"
7. Verify that some properties of the document are listed.
The document's "Created" and "Modified" dates may be empty. That's OK as far as this bug is concerned.
[ Regression Test Plan ]
1. Obtain a .pdf file
2. Ope Files
3. Navigate to the .pdf file
4. Right click > Properties > Document Properties
5. Verify that some document properties are shown for this file.
These might be the document creation date (different from the file creation date), author, number of pages, etc...
[ Where problems could occur ]
The patch removes a duplicate call to load a file into a document object, which is generally not a supported use of the libpps API and it would fail on an assertion when used on a comics document (e.g. cbz file extension).
If somehow there was a code path for which this call was not actually duplicate, then we would not be able to show any document information to the user at Properties > Document Properties.
| Changed in papers (Ubuntu): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| Changed in nautilus (Ubuntu): | |
| status: | New → Invalid |
| Changed in papers (Ubuntu): | |
| status: | Confirmed → In Progress |
| assignee: | nobody → Alessandro Astone (aleasto) |
| milestone: | none → ubuntu-26.04 |
| summary: |
- Crashes when viewing file properties + Nautilus crashes when viewing file properties |
| Changed in papers (Ubuntu): | |
| status: | In Progress → Fix Committed |
| description: | updated |
| Changed in papers (Ubuntu Questing): | |
| status: | Triaged → Fix Committed |
| assignee: | nobody → Alessandro Astone (aleasto) |
| milestone: | none → questing-updates |

Sent fix upstream: https:/ /gitlab. gnome.org/ GNOME/papers/ -/merge_ requests/ 680