Also what are you returning from your fd_handler? 1, or 0? I've seen that same error from fd_handlers when returning 1.
On Mon, Mar 30, 2009 at 8:25 PM, Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote: > On Mon, Mar 30, 2009 at 10:13 PM, "Marco Trevisan (Treviño)" > <m...@3v1n0.net> wrote: > > Marco Trevisan (Treviño) wrote: > >> Unfortunately testing it with the msn-purple plugin (I've tried also > >> with Facebook, but I've some issues with the certs) the test client > >> attached segfaults. > > > > I've made one more test using Google Talk (so a jabber server), and now > > I've a different behavior: > > - If I run it in gdb or I set to TRUE the purple_debug_set_enabled > > function, I can connect to the server with no problems, and as you > > can see here [1], also the null_write_conv callback is working well > > since I receive the incoming messages. > > - If I run it in the normal way, after connecting, it crashes with this > > error: > > > > libpurple initialized. > > Setting Google Talk Jabber! > > Account connected: trev...@gmail.com prpl-jabber > > max_fd: 11 > > cr: 2, cw: 0, ce: 0 > > Aborted > > > > As far I know it seems connected to the max number of opened fd; > > maybe haven't they been closed correctly?!? > > > > However, as an e17 newbie, it seems a good step to me :P > > Are you sure any of these functions that call > ecore_{idler,fd_handler,timer}_add are NOT executed from threads? I'm > asking this because glib allows you to call these primitives from > threads if you did g_threads_init(), but Ecore does not, in such case > you need to pipe primitives to main thread and fd_handler them, or > ecore_pipe for ready to use. > > You can know if it's using threads in many ways, one of them is to > printf("thread_id: %#lx\n", pthread_self()); > > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > > ------------------------------------------------------------------------------ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel