On Fri, 3 May 2013 00:21:48 +0200 Tomas Cech <[email protected]> said:

> Hello,
> 
> I sometimes get to state, when mail module for E17 stops updating. I
> believe it is related to suspend of my notebook.
> 
> I tried to attach GDB and found that Ecore_Con_Server has delete_me
> set to 1. This make ecore_con_server_send() doing nothing.
> 
> Handlers are set here (imap2.c):
> 114|   if (!add_handler)
> 115|     add_handler = ecore_event_handler_add (ECORE_CON_EVENT_SERVER_ADD,
> 116|                                            _mail_imap_server_add, NULL);
> 117|   if (!del_handler)
> 118|     del_handler = ecore_event_handler_add (ECORE_CON_EVENT_SERVER_DEL,
> 119|                                            _mail_imap_server_del, NULL);
> 120|   if (!data_handler)
> 121|     data_handler = ecore_event_handler_add (ECORE_CON_EVENT_SERVER_DATA,
> 122|                                             _mail_imap_server_data,
> 122| NULL);
> 
> But it seems that _mail_imap_server_del() is not called as it calls
> ecore_con_server_del() and set server to NULL and I don't have NULL
> pointer.

ecore-con should be posting a server del event...
(ECORE_CON_EVENT_SERVER_DEL)... so either it is not being posted, OR...
it is and simply vanishing for some internal ecore reasons.. OR... some other
bit of code is stealing the event in its server del handler and not passing it
on... (returning false from the event handler).

which one it is is a matter of following the trail... first is the event being
added/posted.. are ANY handlers being called on it.. if so.. which ones? is any
one of them stealing/eating the event?


> ecore_con_private.h has this comment
> 126|   Eina_Bool delete_me : 1; /* del event has been queued */
> 
> What is going wrong here? Which event it is? Why
> _mail_imap_server_del() is not called?
> 
> I'm running EFL 1.7.6 and E17 0.17.2.1.
> 
> Thanks,
> 
> Tomas Cech
> Sleep_Walker


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to