GNOME Bugzilla – Bug 785292
nautilus-desktop seg faults when getting properties of some files (example jpg attached)
Last modified: 2017-08-07 10:52:14 UTC
[ben@pluto ~]$ nautilus-desktop (nautilus-desktop:19592): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded. ** (nautilus-desktop:19592): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus-desktop:19592): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 1: Can't load /etc/samba/smb.conf - run testparm to debug it ** (nautilus-desktop:19592): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus-desktop:19592): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed ** (nautilus-desktop:19592): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed Segmentation fault (core dumped) Happens when attempting to open the properties window on the attached file from the desktop. Works fine when inside a normal Nautilus window. Arch Linux with Nautilus 3.24.2-1
Can't seem to post the file (bugzilla issue?), but it does seem to happen with any image files on the desktop. .tiff files do it as well as .jpg and I'd imagine others as well.
Created attachment 356216 [details] jpg that causes seg fault Apologies for the spam, VPN issue. Here's the .jpg.
Confirming. The stack trace I get indicates that the crash happens somewhere in Exempi.
Created attachment 356228 [details] [review] desktop: initialize Exempi in main() Opening the file properties window causes a crash with images that have embedded XMP information. This is caused by not initializing the library properly.
Review of attachment 356228 [details] [review]: woh, good catch Ernestas! This is why you get paid so much :D :D
Attachment 356228 [details] pushed as 10e840d - desktop: initialize Exempi in main()