Hello,<div><br></div><div>I am facing a problem.</div><div><br></div><div>I try to use remotly some dbus interfaces (linux -&gt; remote_dbus_device) with a reboot in the same python script : </div><div><br></div><div>- create dbus session + mainloop (see tutorial dbus python)</div>
<div>- making some stuff, and invoking the mainloop.run()</div><div>- reboot the remote device </div><div>- close dbus session </div><div>- create dbus session + mainloop
</div><div>- try to making some stuff, and invoking the mainloop.run()</div><div>=&gt; python generates a seg fault </div><div><br></div><div>The issue is coming from the mainloop object :</div><div>When the code does not invoke the mainloop, there is no crash.</div>
<div><br></div><div>How can I close/delete the mainloop in my python code ?</div><div>or</div><div>How handle a dbus mainloop on a remote device, when rebooting this device ?</div><div><br></div><div><br></div><div>Thanks</div>
<div>Eudes</div>