GNOME Bugzilla – Bug 610304
extension renaming is causing crashes
Last modified: 2015-12-17 15:31:01 UTC
I think some extensions were renamed or moved recently. Now in my extensions menu, I see TWO entries for "Audio/Video support". This happens with the "EXIF" one too. I disabled all possible extensions, and then started re-enabling "Audio/Video support". Enabling it once is OK, but enabling both entries causes a crash (backtrace below). Enabling the EXIF extension twice is OK, oddly. I deleted and re-cloned my git repo, so it is fresh. Something needs to check the validity of the enabled extensions, I guess.
+ Trace 220616
Thread 1 (Thread 0x7ffff7fc17e0 (LWP 9406))
- Mike
you have to delete /usr/lib/gthumb/extensions and reinstall again.
OK, that fixes it - but won't this causes problems for anyone who upgrades from 2.11.1 to 2.11.2? - Mike
(In reply to comment #2) > OK, that fixes it - but won't this causes problems for anyone who upgrades from > 2.11.1 to 2.11.2? > > - Mike You are right. This could be avoided in three ways 1) adding the version in the installation folder, for example /usr/lib/gthumb/extensions/2.11.2, 2) adding a new field in the .extension file that describes the required gthumb version, 3) adding a note in the release notes that the user has to delete the extensions folder before installing again. At the moment I'm not sure which strategy is the best.
I would suggest a different approach, adding 2 fields to the .extension files: 1) In the gstreamer plugin file you could have: permanently_replaces = gstreamer_original, gstreamer_prototype, mplayer_plugin This could be used in the case of renamed extensions, or where one plugin totally replaces another. This would hide the old extensions in the extension list, permanently. 2) In the "mikes_folder_centric_photo_importer" plugin file you could have optionally_replaces = photo_importer In this case, if the user enabled mikes_folder_centric_photo_importer, the standard photo_importer would be disabled (but still appear in the extensions list). It would also disable any other plugins with "optionally_replaces = photo_importer", like bobs_super_simple_importer. This allows several different plugins to cover the same function. A maximum of 1 of these plugins would be enabled at a time. - Mike
*** Bug 610810 has been marked as a duplicate of this bug. ***
Marking as obsolete, as this was reported for a now-unsupported version and no recent activity has occurred. Please feel free to reopen this bug report if the problem still occurs with a current version of gThumb.