Hi all, I've looked into it as I'm reaching the same bug on my Linux, what is weird is that edje_codegen.c does NO eio, or related!
Cedric, did you change something related to starting eio monitor on something edje needs? We have no main loop in edje_codegen, so that's likely why it's exposing the bug. My valgrind is: ==19955== Invalid read of size 4 ==19955== at 0x6077861: eina_hash_del (eina_amalgamation.c:4201) ==19955== by 0x54DB492: _eio_monitor_free (eio_monitor.c:38) ==19955== by 0x54DC819: _eio_file_stat_done (eio_single.c:181) ==19955== by 0x5E32CA2: _ecore_thread_kill (ecore_thread.c:326) ==19955== by 0x5E292E3: _ecore_main_call_flush (ecore.c:841) ==19955== by 0x5E30C80: _ecore_pipe_read (ecore_pipe.c:625) ==19955== by 0x5E31129: ecore_pipe_wait (ecore_pipe.c:327) ==19955== by 0x5E290C5: ecore_shutdown (ecore.c:262) ==19955== by 0x401989: main (edje_codegen.c:730) ==19955== Address 0x8f76e64 is 52 bytes inside a block of size 56 free'd ==19955== at 0x4C2B24C: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==19955== by 0x54DB6CF: eio_monitor_shutdown (eio_monitor.c:162) ==19955== by 0x54DA9FC: eio_shutdown (eio_main.c:270) ==19955== by 0x4E97164: _edje_shutdown_core.part.0 (edje_main.c:146) ==19955== by 0x4E9756C: edje_shutdown (edje_main.c:125) ==19955== by 0x40197C: main (edje_codegen.c:728) ==19955== ==19955== Invalid read of size 4 ==19955== at 0x607725F: _eina_hash_del_by_key (eina_amalgamation.c:3674) ==19955== by 0x54DB492: _eio_monitor_free (eio_monitor.c:38) ==19955== by 0x54DC819: _eio_file_stat_done (eio_single.c:181) ==19955== by 0x5E32CA2: _ecore_thread_kill (ecore_thread.c:326) ==19955== by 0x5E292E3: _ecore_main_call_flush (ecore.c:841) ==19955== by 0x5E30C80: _ecore_pipe_read (ecore_pipe.c:625) ==19955== by 0x5E31129: ecore_pipe_wait (ecore_pipe.c:327) ==19955== by 0x5E290C5: ecore_shutdown (ecore.c:262) ==19955== by 0x401989: main (edje_codegen.c:730) ==19955== Address 0x8f76e64 is 52 bytes inside a block of size 56 free'd ==19955== at 0x4C2B24C: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==19955== by 0x54DB6CF: eio_monitor_shutdown (eio_monitor.c:162) ==19955== by 0x54DA9FC: eio_shutdown (eio_main.c:270) ==19955== by 0x4E97164: _edje_shutdown_core.part.0 (edje_main.c:146) ==19955== by 0x4E9756C: edje_shutdown (edje_main.c:125) ==19955== by 0x40197C: main (edje_codegen.c:728) ==19955== ==19955== Invalid read of size 8 ==19955== at 0x607726E: _eina_hash_del_by_key (eina_amalgamation.c:3676) ==19955== by 0x54DB492: _eio_monitor_free (eio_monitor.c:38) ==19955== by 0x54DC819: _eio_file_stat_done (eio_single.c:181) ==19955== by 0x5E32CA2: _ecore_thread_kill (ecore_thread.c:326) ==19955== by 0x5E292E3: _ecore_main_call_flush (ecore.c:841) ==19955== by 0x5E30C80: _ecore_pipe_read (ecore_pipe.c:625) ==19955== by 0x5E31129: ecore_pipe_wait (ecore_pipe.c:327) ==19955== by 0x5E290C5: ecore_shutdown (ecore.c:262) ==19955== by 0x401989: main (edje_codegen.c:730) ==19955== Address 0x8f76e50 is 32 bytes inside a block of size 56 free'd ==19955== at 0x4C2B24C: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==19955== by 0x54DB6CF: eio_monitor_shutdown (eio_monitor.c:162) ==19955== by 0x54DA9FC: eio_shutdown (eio_main.c:270) ==19955== by 0x4E97164: _edje_shutdown_core.part.0 (edje_main.c:146) ==19955== by 0x4E9756C: edje_shutdown (edje_main.c:125) ==19955== by 0x40197C: main (edje_codegen.c:728) and so on, the list is big, but likely similar. On Sat, Sep 8, 2012 at 4:53 PM, Flavio Ceolin <flavio.ceo...@profusion.mobi> wrote: > Hi, > > The error is pretty weird, i will take a look on monday. Could you check if > edje_inspector is working properly ? > > Regards, > Flavio Ceolin > > Em Sep 8, 2012, às 6:01 AM, Vincent Torri <vincent.to...@gmail.com> escreveu: > >> hey >> >> the edje_codegen prog seg fault on Windows. gdb output and bt: >> >> CRI: eina_hash.c:1017 eina_hash_del() *** Eina Magic Check Failed !!! >> Input handle is wrong type >> Expected: 9876123e - (unknown) >> Supplied: feeefeee - (unknown) >> *** NAUGHTY PROGRAMMER!!! >> *** SPANK SPANK SPANK!!! >> *** Now go fix your code. Tut tut tut! >> >> >> CRI: eina_hash.c:490 _eina_hash_del_by_key() *** Eina Magic Check Failed !!! >> Input handle is wrong type >> Expected: 9876123e - (unknown) >> Supplied: feeefeee - (unknown) >> *** NAUGHTY PROGRAMMER!!! >> *** SPANK SPANK SPANK!!! >> *** Now go fix your code. Tut tut tut! >> >> >> (gdb) bt >> #0 0xfeeefeee in ?? () >> #1 0x6f98670d in _eina_hash_del_by_key (hash=0x4cfbb18, >> key=0x551c5f8, data=0x551c620) at eina_hash.c:495 >> #2 0x6f987eb2 in eina_hash_del (hash=0x4cfbb18, key=0x551c5f8, >> data=0x551c620) at eina_hash.c:1022 >> #3 0x047c8e64 in _eio_monitor_free (monitor=0x551c620) at eio_monitor.c:38 >> #4 0x047c8f9e in _eio_monitor_stat_cb (data=0x551c620, >> handler=0x551d5f0, st=0x551d614) at eio_monitor.c:86 >> #5 0x047ca0ab in _eio_file_stat_done (data=0x551d5f0, >> thread=0x551cfe8) at eio_single.c:181 >> #6 0x65c0ea75 in _ecore_thread_kill (work=0x551cfe8) at ecore_thread.c:326 >> #7 0x65c0eb12 in _ecore_thread_handler (data=0x551cfe8) at >> ecore_thread.c:353 >> #8 0x65c029d6 in _ecore_main_call_flush () at ecore.c:841 >> #9 0x65c02a1d in _thread_callback (data=0x0, buffer=0x55150f8, >> nbyte=4) at ecore.c:852 >> #10 0x65c0c4e5 in _ecore_pipe_read (data=0x4cf91a8, fd_handler=0x0) at >> ecore_pipe.c:625 >> #11 0x65c0bc5a in ecore_pipe_wait (p=0x4cf91a8, message_count=1, >> wait=0.10000000000000001) at ecore_pipe.c:327 >> #12 0x65c01b1c in ecore_shutdown () at ecore.c:262 >> #13 0x004024ea in main (argc=6, argv=0x4cf5a00) at edje_codegen.c:730 >> >> does someone have an idea ? >> >> Vincent >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel