[Users] [Bug 3231] segfault on unload python

Holger Berndt berndth at gmx.de
Wed Jul 23 22:52:01 CEST 2014

On Mi, 23.07.2014 16:42, Pierre Fortin wrote:

>>unloading the plugin (who would ever want to do that, anyways? ;)
>It's been a while since I loaded Python...  was really trying to see if
>this was how the Help->Python API Doc was added to the Help menu and
>stumbled upon this...
>Trying to find the instructions to do a better debug...  (asked on IRC)
>Thanks for the response! Now to grok it... :)

The example startup script also adds an interface to Claws-Mail on the
session bus. So, any external program can trigger Claws Mail's menu
items by calling this interface.

If you don't want that, comment the last line in the startup script
(dbus_interface = add_dbus_interface()) by preceding it with #. If my
assumption is correct, your crash on plugin-unload should go away.

The correct fix would be to unregister the D-Bus service again in the
"shutdown" script, but I don't know enough Python D-Bus to do that.


More information about the Users mailing list