ecore-con now leaks fds
Open, Showstopper IssuesPublic

Description

I've noticed this since the efl-net rewrite, and it's gotten to be a real problem. On my desktop, I run a gadget that uses ecore-con to periodically make client connections and read some data. At some point, it became an issue where I would start getting errors that no more fds could be created because ecore-con was never closing them. Valgrind confirms that a huge number of fds are being leaked, all created from efl_net_socket4().

zmike created this task.Nov 6 2017, 2:26 PM

do you know if the objects get deleted?

I'm pretty sure the objects have "close on destructor" set, thus they should be deleted. If they are not, either some bug with "close on destructor" or some bug in reference counting which let the object dangling...

i've noticed writing a server runs into eo object and other ERR issues too... :/ ?

zmike added a comment.Nov 7 2017, 8:38 AM

do you know if the objects get deleted?

I'm pretty sure the objects have "close on destructor" set, thus they should be deleted. If they are not, either some bug with "close on destructor" or some bug in reference counting which let the object dangling...

I don't know.