Page MenuHomePhabricator

Invalid read in valgrind
Open, Incoming QueuePublic

Description

reproduce: run valgrind efl_profiling_viewer. close efl_profiling_viewer

24147== Memcheck, a memory error detector

==24147== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==24147== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==24147== Command: efl_profiling_viewer
==24147== 
ERR<24147>:evas-gl_x11 modules/evas/engines/gl_x11/evas_x_main.c:444 eng_window_new() Failed to create a context.
ERR<24147>:ecore_evas modules/ecore_evas/engines/x/ecore_evas_x.c:4589 ecore_evas_gl_x11_options_new_internal() evas_engine_info_set() init engine 'opengl_x11' failed.
==24147== Invalid read of size 8
==24147==    at 0x4E42818: _enterer (ui.c:268)
==24147==    by 0x52FA999: _ecore_call_task_cb (ecore_private.h:297)
==24147==    by 0x52FA999: _ecore_factorized_idle_process (ecore_idler.c:35)
==24147==    by 0x7F55B2F: _event_callback_call (eo_base_class.c:1522)
==24147==    by 0x7F55B2F: _efl_object_event_callback_call (eo_base_class.c:1606)
==24147==    by 0x7F51AE5: efl_event_callback_call (eo_base_class.c:1609)
==24147==    by 0x52FA870: _ecore_idle_enterer_call (ecore_idle_enterer.c:48)
==24147==    by 0x52FE713: _ecore_main_loop_iterate_internal (ecore_main.c:2295)
==24147==    by 0x52FEC92: ecore_main_loop_iterate (ecore_main.c:1253)
==24147==    by 0x5DA07D5: elm_shutdown (elm_main.c:446)
==24147==    by 0x402427: main (main.c:265)
==24147==  Address 0x1ce33a28 is 24 bytes inside a block of size 40 free'd
==24147==    at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24147==    by 0x4E44847: ui_shutdown (ui.c:1901)
==24147==    by 0x4E3FFDE: efl_profiling_viewer_shutdown (main.c:130)
==24147==    by 0x4023C4: elm_main (main.c:262)
==24147==    by 0x402420: main (main.c:265)
==24147==  Block was alloc'd at
==24147==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24147==    by 0x4E44535: ui_init (ui.c:1842)
==24147==    by 0x4E3FA62: efl_profiling_viewer_init (main.c:47)
==24147==    by 0x40235D: elm_main (main.c:253)
==24147==    by 0x402420: main (main.c:265)
==24147== 
==24147== Invalid read of size 8
==24147==    at 0x4E428FB: _enterer (ui.c:276)
==24147==    by 0x52FA999: _ecore_call_task_cb (ecore_private.h:297)
==24147==    by 0x52FA999: _ecore_factorized_idle_process (ecore_idler.c:35)
==24147==    by 0x7F55B2F: _event_callback_call (eo_base_class.c:1522)
==24147==    by 0x7F55B2F: _efl_object_event_callback_call (eo_base_class.c:1606)
==24147==    by 0x7F51AE5: efl_event_callback_call (eo_base_class.c:1609)
==24147==    by 0x52FA870: _ecore_idle_enterer_call (ecore_idle_enterer.c:48)
==24147==    by 0x52FE713: _ecore_main_loop_iterate_internal (ecore_main.c:2295)
==24147==    by 0x52FEC92: ecore_main_loop_iterate (ecore_main.c:1253)
==24147==    by 0x5DA07D5: elm_shutdown (elm_main.c:446)
==24147==    by 0x402427: main (main.c:265)
==24147==  Address 0x1ce33a20 is 16 bytes inside a block of size 40 free'd
==24147==    at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24147==    by 0x4E44847: ui_shutdown (ui.c:1901)
==24147==    by 0x4E3FFDE: efl_profiling_viewer_shutdown (main.c:130)
==24147==    by 0x4023C4: elm_main (main.c:262)
==24147==    by 0x402420: main (main.c:265)
==24147==  Block was alloc'd at
==24147==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24147==    by 0x4E44535: ui_init (ui.c:1842)
==24147==    by 0x4E3FA62: efl_profiling_viewer_init (main.c:47)
==24147==    by 0x40235D: elm_main (main.c:253)
==24147==    by 0x402420: main (main.c:265)
==24147== 
==24147== Invalid read of size 8
==24147==    at 0x4E4287F: _enterer (ui.c:284)
==24147==    by 0x52FA999: _ecore_call_task_cb (ecore_private.h:297)
==24147==    by 0x52FA999: _ecore_factorized_idle_process (ecore_idler.c:35)
==24147==    by 0x7F55B2F: _event_callback_call (eo_base_class.c:1522)
==24147==    by 0x7F55B2F: _efl_object_event_callback_call (eo_base_class.c:1606)
==24147==    by 0x7F51AE5: efl_event_callback_call (eo_base_class.c:1609)
==24147==    by 0x52FA870: _ecore_idle_enterer_call (ecore_idle_enterer.c:48)
==24147==    by 0x52FE713: _ecore_main_loop_iterate_internal (ecore_main.c:2295)
==24147==    by 0x52FEC92: ecore_main_loop_iterate (ecore_main.c:1253)
==24147==    by 0x5DA07D5: elm_shutdown (elm_main.c:446)
==24147==    by 0x402427: main (main.c:265)
==24147==  Address 0x1ce33a28 is 24 bytes inside a block of size 40 free'd
==24147==    at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24147==    by 0x4E44847: ui_shutdown (ui.c:1901)
==24147==    by 0x4E3FFDE: efl_profiling_viewer_shutdown (main.c:130)
==24147==    by 0x4023C4: elm_main (main.c:262)
==24147==    by 0x402420: main (main.c:265)
==24147==  Block was alloc'd at
==24147==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24147==    by 0x4E44535: ui_init (ui.c:1842)
==24147==    by 0x4E3FA62: efl_profiling_viewer_init (main.c:47)
==24147==    by 0x40235D: elm_main (main.c:253)
==24147==    by 0x402420: main (main.c:265)
==24147== 
==24147== 
==24147== HEAP SUMMARY:
==24147==     in use at exit: 371,245 bytes in 2,204 blocks
==24147==   total heap usage: 145,379 allocs, 115,560 frees, 2,491,616,949 bytes allocated
==24147== 
==24147== LEAK SUMMARY:
==24147==    definitely lost: 1,195 bytes in 27 blocks
==24147==    indirectly lost: 2,861 bytes in 27 blocks
==24147==      possibly lost: 608 bytes in 1 blocks
==24147==    still reachable: 318,709 bytes in 2,182 blocks
==24147==         suppressed: 0 bytes in 0 blocks
==24147== Rerun with --leak-check=full to see details of leaked memory
==24147== 
==24147== For counts of detected and suppressed errors, rerun with: -v
==24147== ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)
i.furs created this task.Oct 30 2017, 5:57 AM