#274 Reloading a plugin with an undefined symbol chrashes Genay

None
closed-wont-fix
Plugins (35)
Unknown
3
2014-08-16
2009-02-28
No

Geany SVN r3611 under Debian GNU/Linux Testing (GLib 2.16.6)

How to reproduce the bug:
1) start Geany with a "foo" plugin loading fine
2) disable the plugin in the plug-in manager
3) insert an undefined symbol in the "foo" plugin and install the new (not working) plugin
4) re-enable the "foo" plugin: Geany crashes.

I expect that Geany only shows the "Can't load plugin: foo: undefined symbol: bar", as it does at startup.
What happens now:
** INFO: Can't load plugin:foo.so: undefined symbol: bar
Segmentation fault

Discussion

  • Colomban Wendling

    • priority: 5 --> 3
     
  • Enrico Tröger

    Enrico Tröger - 2009-03-02

    Yes. But anyway, I'm tempted to say 'won't fix' as this is mostly only happens to plugin developers and those should know not to test with the current Geany instance. At least, I think this is very bad practice. Instead, just test your plugin in another instance with another config directory and all.

    Additionally, I'm not sure how to prevent such crashes as this happens (at least here) already on unloading of the plugin, most probably because of the changed .so file.

     
  • Lex Trotman

    Lex Trotman - 2012-09-14
    • assigned_to: nobody --> colombanw
     
  • Colomban Wendling

    • status: open --> closed-wont-fix
    • Found in: --> Unknown
    • Fixed in: --> None
     

Log in to post a comment.