Custom Query (37 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 37)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Owner Reporter Resolution Summary
#37 anonymous invalid Test
Description

Test

#36 dkimpe [email protected] fixed Memory leak at exit
Description

When using aethread, some memory is not freed at exit (example below is from the aefile-example, but is reproducible by any aethread using program). Fortunately, the amount of reachable memory seems to be fixed regardless of how often aethreads are used (verified in aefile-example.ae by running the tests twice in the main loop).

==8658== ==8658== HEAP SUMMARY: ==8658== in use at exit: 1,996 bytes in 7 blocks ==8658== total heap usage: 70 allocs, 63 frees, 101,114 bytes allocated ==8658== ==8658== Thread 1: ==8658== 19 bytes in 1 blocks are still reachable in loss record 1 of 7 ==8658== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==8658== by 0x4004DA1: local_strdup (dl-load.c:162) ==8658== by 0x4007AB3: _dl_map_object (dl-load.c:2234) ==8658== by 0x4011EE8: dl_open_worker (dl-open.c:225) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x4011929: _dl_open (dl-open.c:554) ==8658== by 0x53CCE6F: do_dlopen (dl-libc.c:86) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x53CCF0E: dlerror_run (dl-libc.c:47) ==8658== by 0x53CD006: libc_dlopen_mode (dl-libc.c:160) ==8658== by 0x4E386EB: pthread_cancel_init (unwind-forcedunwind.c:53) ==8658== by 0x4E3884B: _Unwind_ForcedUnwind (unwind-forcedunwind.c:126) ==8658== ==8658== 19 bytes in 1 blocks are still reachable in loss record 2 of 7 ==8658== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==8658== by 0x400AA84: _dl_new_object (dl-object.c:156) ==8658== by 0x4006005: _dl_map_object_from_fd (dl-load.c:1050) ==8658== by 0x4007839: _dl_map_object (dl-load.c:2329) ==8658== by 0x4011EE8: dl_open_worker (dl-open.c:225) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x4011929: _dl_open (dl-open.c:554) ==8658== by 0x53CCE6F: do_dlopen (dl-libc.c:86) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x53CCF0E: dlerror_run (dl-libc.c:47) ==8658== by 0x53CD006: libc_dlopen_mode (dl-libc.c:160) ==8658== by 0x4E386EB: pthread_cancel_init (unwind-forcedunwind.c:53) ==8658== ==8658== 56 bytes in 1 blocks are still reachable in loss record 3 of 7 ==8658== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==8658== by 0x400C213: _dl_map_object_deps (dl-deps.c:510) ==8658== by 0x4011F45: dl_open_worker (dl-open.c:262) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x4011929: _dl_open (dl-open.c:554) ==8658== by 0x53CCE6F: do_dlopen (dl-libc.c:86) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x53CCF0E: dlerror_run (dl-libc.c:47) ==8658== by 0x53CD006: libc_dlopen_mode (dl-libc.c:160) ==8658== by 0x4E386EB: pthread_cancel_init (unwind-forcedunwind.c:53) ==8658== by 0x4E3884B: _Unwind_ForcedUnwind (unwind-forcedunwind.c:126) ==8658== by 0x4E368FF: pthread_unwind (unwind.c:130) ==8658== ==8658== 168 bytes in 1 blocks are still reachable in loss record 4 of 7 ==8658== at 0x4C244E8: malloc (vg_replace_malloc.c:236) ==8658== by 0x406EE2: aethread_create_group_pool (aethread.c:89) ==8658== by 0x404CA7: aefile_init (aefile.ae:39) ==8658== by 0x403DEE: ae_worker_aesop_main (in /home/jehannum/aesop-test/aefile-example) ==8658== by 0x404078: aesop_main (in /home/jehannum/aesop-test/aefile-example) ==8658== by 0x4042F5: main (in /home/jehannum/aesop-test/aefile-example) ==8658== ==8658== 272 bytes in 1 blocks are possibly lost in loss record 5 of 7 ==8658== at 0x4C2380C: calloc (vg_replace_malloc.c:467) ==8658== by 0x401106E: _dl_allocate_tls (dl-tls.c:297) ==8658== by 0x4E30291: [email protected]@GLIBC_2.2.5 (allocatestack.c:576) ==8658== by 0x406F7E: aethread_create_group_pool (aethread.c:111) ==8658== by 0x404CA7: aefile_init (aefile.ae:39) ==8658== by 0x403DEE: ae_worker_aesop_main (in /home/jehannum/aesop-test/aefile-example) ==8658== by 0x404078: aesop_main (in /home/jehannum/aesop-test/aefile-example) ==8658== by 0x4042F5: main (in /home/jehannum/aesop-test/aefile-example) ==8658== ==8658== 288 bytes in 1 blocks are still reachable in loss record 6 of 7 ==8658== at 0x4C2380C: calloc (vg_replace_malloc.c:467) ==8658== by 0x400F553: _dl_check_map_versions (dl-version.c:299) ==8658== by 0x4012198: dl_open_worker (dl-open.c:268) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x4011929: _dl_open (dl-open.c:554) ==8658== by 0x53CCE6F: do_dlopen (dl-libc.c:86) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x53CCF0E: dlerror_run (dl-libc.c:47) ==8658== by 0x53CD006: libc_dlopen_mode (dl-libc.c:160) ==8658== by 0x4E386EB: pthread_cancel_init (unwind-forcedunwind.c:53) ==8658== by 0x4E3884B: _Unwind_ForcedUnwind (unwind-forcedunwind.c:126) ==8658== by 0x4E368FF: pthread_unwind (unwind.c:130) ==8658== ==8658== 1,174 bytes in 1 blocks are still reachable in loss record 7 of 7 ==8658== at 0x4C2380C: calloc (vg_replace_malloc.c:467) ==8658== by 0x400A7DE: _dl_new_object (dl-object.c:72) ==8658== by 0x4006005: _dl_map_object_from_fd (dl-load.c:1050) ==8658== by 0x4007839: _dl_map_object (dl-load.c:2329) ==8658== by 0x4011EE8: dl_open_worker (dl-open.c:225) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x4011929: _dl_open (dl-open.c:554) ==8658== by 0x53CCE6F: do_dlopen (dl-libc.c:86) ==8658== by 0x400D905: _dl_catch_error (dl-error.c:178) ==8658== by 0x53CCF0E: dlerror_run (dl-libc.c:47) ==8658== by 0x53CD006: libc_dlopen_mode (dl-libc.c:160) ==8658== by 0x4E386EB: pthread_cancel_init (unwind-forcedunwind.c:53) ==8658== ==8658== LEAK SUMMARY: ==8658== definitely lost: 0 bytes in 0 blocks ==8658== indirectly lost: 0 bytes in 0 blocks ==8658== possibly lost: 272 bytes in 1 blocks ==8658== still reachable: 1,724 bytes in 6 blocks ==8658== suppressed: 0 bytes in 0 blocks ==8658== ==8658== For counts of detected and suppressed errors, rerun with: -v ==8658== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 4 from 4)

#33 dkimpe fixed Memory leak
Description

A simple aesop program leaks memory due to the resources not being stopped/finalized.

Need to revisit once transition to explicit resource initialization is complete.

==32292== 
==32292== HEAP SUMMARY:
==32292==     in use at exit: 1,301 bytes in 8 blocks
==32292==   total heap usage: 20 allocs, 12 frees, 84,494 bytes allocated
==32292== 
==32292== 6 bytes in 1 blocks are still reachable in loss record 1 of 8
==32292==    at 0x4C28F5D: malloc (vg_replace_malloc.c:263)
==32292==    by 0x5552181: strdup (in /lib64/libc-2.13.so)
==32292==    by 0x403CE7: ae_resource_init_register (resource.c:122)
==32292==    by 0x407EE2: aesop_timer_init_register (timer.c:241)
==32292==    by 0x412465: ??? (in /home/lts/git/aesop/parser/tests/blocking/pbranch-empty)
==32292==    by 0x401962: ??? (in /home/lts/git/aesop/parser/tests/blocking/pbranch-empty)
==32292== 
==32292== 7 bytes in 1 blocks are still reachable in loss record 2 of 8
==32292==    at 0x4C28F5D: malloc (vg_replace_malloc.c:263)
==32292==    by 0x5552181: strdup (in /lib64/libc-2.13.so)
==32292==    by 0x403CE7: ae_resource_init_register (resource.c:122)
==32292==    by 0x408CB8: triton_aethread_init_register (aethread.c:263)
==32292==    by 0x412465: ??? (in /home/lts/git/aesop/parser/tests/blocking/pbranch-empty)
==32292==    by 0x401962: ??? (in /home/lts/git/aesop/parser/tests/blocking/pbranch-empty)
==32292== 
==32292== 8 bytes in 1 blocks are still reachable in loss record 3 of 8
==32292==    at 0x4C28F5D: malloc (vg_replace_malloc.c:263)
==32292==    by 0x4C290A7: realloc (vg_replace_malloc.c:632)
==32292==    by 0x409C7E: ev_realloc_emul (ev.c:612)
==32292==    by 0x409CBC: ev_realloc (ev.c:638)
==32292==    by 0x409F30: array_realloc (ev.c:860)
==32292==    by 0x40A590: fd_change (ev.c:1043)
==32292==    by 0x40EEFE: ev_io_start (ev.c:2674)
==32292==    by 0x40AD4E: evpipe_init (ev.c:1317)
==32292==    by 0x40FB53: ev_signal_start (ev.c:2920)
==32292==    by 0x40DB14: ev_default_loop (ev.c:2095)
==32292==    by 0x403E62: ae_resource_register_with_data (resource.c:165)
==32292==    by 0x403DBA: ae_resource_register (resource.c:136)
==32292== 
==32292== 48 bytes in 1 blocks are still reachable in loss record 4 of 8
==32292==    at 0x4C29042: realloc (vg_replace_malloc.c:632)
==32292==    by 0x409C7E: ev_realloc_emul (ev.c:612)
==32292==    by 0x409CBC: ev_realloc (ev.c:638)
==32292==    by 0x409F30: array_realloc (ev.c:860)
==32292==    by 0x411B0D: ev_async_start (ev.c:3689)
==32292==    by 0x404052: ae_resource_register_with_data (resource.c:191)
==32292==    by 0x403DBA: ae_resource_register (resource.c:136)
==32292==    by 0x407F65: aesop_timer_init (timer.c:259)
==32292==    by 0x4059F9: ae_resource_init_all (resource.c:978)
==32292==    by 0x403625: aesop_init (aesop.c:42)
==32292==    by 0x40347B: main (pbranch-empty.ae.s:2528)
==32292== 
==32292== 128 bytes in 1 blocks are still reachable in loss record 5 of 8
==32292==    at 0x4C28F5D: malloc (vg_replace_malloc.c:263)
==32292==    by 0x4C290A7: realloc (vg_replace_malloc.c:632)
==32292==    by 0x409C7E: ev_realloc_emul (ev.c:612)
==32292==    by 0x409CBC: ev_realloc (ev.c:638)
==32292==    by 0x409F30: array_realloc (ev.c:860)
==32292==    by 0x40EE78: ev_io_start (ev.c:2671)
==32292==    by 0x40AD4E: evpipe_init (ev.c:1317)
==32292==    by 0x40FB53: ev_signal_start (ev.c:2920)
==32292==    by 0x40DB14: ev_default_loop (ev.c:2095)
==32292==    by 0x403E62: ae_resource_register_with_data (resource.c:165)
==32292==    by 0x403DBA: ae_resource_register (resource.c:136)
==32292==    by 0x408D27: aethread_init (aethread.c:279)
==32292== 
==32292== 168 bytes in 1 blocks are still reachable in loss record 6 of 8
==32292==    at 0x4C28F5D: malloc (vg_replace_malloc.c:263)
==32292==    by 0x409804: ae_opcache_init (opcache.c:229)
==32292==    by 0x408CFE: aethread_init (aethread.c:272)
==32292==    by 0x4059F9: ae_resource_init_all (resource.c:978)
==32292==    by 0x403625: aesop_init (aesop.c:42)
==32292==    by 0x40347B: main (pbranch-empty.ae.s:2528)
==32292== 
==32292== 168 bytes in 1 blocks are still reachable in loss record 7 of 8
==32292==    at 0x4C28F5D: malloc (vg_replace_malloc.c:263)
==32292==    by 0x409804: ae_opcache_init (opcache.c:229)
==32292==    by 0x407F46: aesop_timer_init (timer.c:253)
==32292==    by 0x4059F9: ae_resource_init_all (resource.c:978)
==32292==    by 0x403625: aesop_init (aesop.c:42)
==32292==    by 0x40347B: main (pbranch-empty.ae.s:2528)
==32292== 
==32292== 768 bytes in 1 blocks are still reachable in loss record 8 of 8
==32292==    at 0x4C28F5D: malloc (vg_replace_malloc.c:263)
==32292==    by 0x4C290A7: realloc (vg_replace_malloc.c:632)
==32292==    by 0x409C7E: ev_realloc_emul (ev.c:612)
==32292==    by 0x409CBC: ev_realloc (ev.c:638)
==32292==    by 0x40BA5C: epoll_init (ev_epoll.c:242)
==32292==    by 0x40CB09: loop_init (ev.c:1752)
==32292==    by 0x40DAB0: ev_default_loop (ev.c:2088)
==32292==    by 0x403E62: ae_resource_register_with_data (resource.c:165)
==32292==    by 0x403DBA: ae_resource_register (resource.c:136)
==32292==    by 0x408D27: aethread_init (aethread.c:279)
==32292==    by 0x4059F9: ae_resource_init_all (resource.c:978)
==32292==    by 0x403625: aesop_init (aesop.c:42)
==32292== 
==32292== LEAK SUMMARY:
==32292==    definitely lost: 0 bytes in 0 blocks
==32292==    indirectly lost: 0 bytes in 0 blocks
==32292==      possibly lost: 0 bytes in 0 blocks
==32292==    still reachable: 1,301 bytes in 8 blocks
==32292==         suppressed: 0 bytes in 0 blocks
==32292== 
==32292== For counts of detected and suppressed errors, rerun with: -v
==32292== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)
1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.