Page MenuHomePhabricator

Ecore_Con testsuite failure
Closed, DuplicatePublic

Description

#0  0x00007f47862b2f40 in eina_mempool_malloc (mp=0x0, size=40) at lib/eina/eina_inline_mempool.x:95
95         return mp->backend.alloc(mp->backend_data, size);
[Current thread is 1 (Thread 0x7f477f380700 (LWP 12466))]
(gdb) bt
#0  0x00007f47862b2f40 in eina_mempool_malloc (mp=0x0, size=40) at lib/eina/eina_inline_mempool.x:95
#1  0x00007f47862b31aa in _eina_list_mempool_list_new (list=0x0) at lib/eina/eina_list.c:222
#2  0x00007f47862b4016 in eina_list_append (list=0x0, data=0x7f4778000bb0) at lib/eina/eina_list.c:591
#3  0x00007f4785b9c972 in _efl_net_proxy_helper_url_req_send (url=0x560109d1dca0 "http://www.google.com") at lib/ecore_con/ecore_con_proxy_helper.c:365
#4  0x00007f4785b9ba2f in ecore_con_libproxy_proxies_get (url=0x560109d1dca0 "http://www.google.com") at lib/ecore_con/ecore_con.c:2583
#5  0x00007f4785bc03b8 in _efl_net_dialer_http_libproxy_run (data=0x560109d1e3b0, thread=0x560109d3ff70) at lib/ecore_con/efl_net_dialer_http.c:1232
#6  0x00007f47865947af in _ecore_direct_worker (work=0x560109d3ff70) at lib/ecore/ecore_thread.c:475
#7  0x00007f47862e0cf2 in _eina_internal_call (context=0x560109d1fea0) at lib/eina/eina_thread.c:151
#8  0x00007f4785961075 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f478569653f in clone () from /usr/lib/libc.so.6
(gdb)
bu5hm4n created this task.Jun 25 2018, 4:37 AM
Herald triaged this task as Showstopper Issues priority. · View Herald TranscriptJun 25 2018, 4:37 AM
zmike added a comment.Jun 25 2018, 4:39 AM

Going to need a bit more info here, looks like ecore_init was never called?

It was called, since ecore_con_init was called before.

zmike added a comment.Jun 25 2018, 4:50 AM

Is there a way to reproduce this?

I just run ecore_con testsuite ...

additional information:

The testsuite passes at the end i get this error:

CRI<24425>: lib/eina/eina_list.c:602 eina_list_append() *** Eina Magic Check Failed at 0x55d3740074b0 !!!
    Input handle has already been freed.


         /home/marcel/git/efl/src/lib/eina/.libs/libeina.so.1     |      /home/marcel/git/efl/src/lib/eina/eina_log.c              : 2055 @ eina_log_print_cb_stderr()
         /home/marcel/git/efl/src/lib/eina/.libs/libeina.so.1     |      /home/marcel/git/efl/src/lib/eina/eina_log.c              : 1454 @ eina_log_print_unlocked()
         /home/marcel/git/efl/src/lib/eina/.libs/libeina.so.1     |      /home/marcel/git/efl/src/lib/eina/eina_log.c              : 2259 @ eina_log_print()
         /home/marcel/git/efl/src/lib/eina/.libs/libeina.so.1     |      /home/marcel/git/efl/src/lib/eina/eina_magic.c            :  280 @ eina_magic_fail()
         /home/marcel/git/efl/src/lib/eina/.libs/libeina.so.1     |      /home/marcel/git/efl/src/lib/eina/eina_list.c             :  602 @ eina_list_append()
    /home/marcel/git/efl/src/lib/ecore_con/.libs/libecore_con.so.1| /home/marcel/git/efl/src/lib/ecore_con/ecore_con_proxy_helper.c:  364 @ _efl_net_proxy_helper_url_req_send()
    /home/marcel/git/efl/src/lib/ecore_con/.libs/libecore_con.so.1| /home/marcel/git/efl/src/lib/ecore_con/ecore_con.c             : 2583 @ ecore_con_libproxy_proxies_get()
    /home/marcel/git/efl/src/lib/ecore_con/.libs/libecore_con.so.1| /home/marcel/git/efl/src/lib/ecore_con/ecore_con.c             : 2079 @ _efl_net_ip_connect_async_run()
        /home/marcel/git/efl/src/lib/ecore/.libs/libecore.so.1    |     /home/marcel/git/efl/src/lib/ecore/ecore_thread.c          :  388 @ _ecore_short_job()
        /home/marcel/git/efl/src/lib/ecore/.libs/libecore.so.1    |     /home/marcel/git/efl/src/lib/ecore/ecore_thread.c          :  502 @ _ecore_thread_worker()
         /home/marcel/git/efl/src/lib/eina/.libs/libeina.so.1     |      /home/marcel/git/efl/src/lib/eina/eina_thread.c           :  151 @ _eina_internal_call()
                                        /usr/lib/libpthread.so.0  |                                     ??/??                      :  151 @ start_thread()
                                        /usr/lib/libc.so.6        |                                     ??/??                      :  151 @ __GI___clone()

After that the crash with the above bt happens.

Is it possible that a thread is still running while ecore_shutdown has been called ?

zmike added a comment.Jun 25 2018, 4:54 AM

Ohhh okay. This is T7041.