** Description changed:

+ [ Impact ]
+ 
  GNOME nautilus 49.0 crashes while trying to see the properties of a cbz
  file.
- 
- To reproduce, click with the right button on a cbz file, open
- properties. It should crash. There might be other conditions to trigger
- this, as this was not happening before.
  
  Running from the terminal, I get these logs:
  
  ** Message: 00:53:53.767: Connecting to org.freedesktop.Tracker3.Miner.Files
  Initializing nautilus-dropbox 2019.02.14
  
  (org.gnome.Nautilus:7535): Gtk-WARNING **: 00:53:54.294: No IM module
  matching GTK_IM_MODULE=cedilla found
  
  ** (org.gnome.Nautilus:7535): CRITICAL **: 00:53:57.602: 
pps_archive_set_archive_type: assertion 'archive->type == 
PPS_ARCHIVE_TYPE_NONE' failed
  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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129791

Title:
  Nautilus crashes when viewing file properties

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2129791/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to