Custom Query (37 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 37)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Owner Reporter Resolution Summary
#42 dkimpe carns fixed memory errors in timer-cancel test program (devel branch)
Description

Here is the first part of the output from valgrind:

==5523== Invalid read of size 4
==5523==    at 0x4059CC: ae_opcache_put (opcache.c:381)
==5523==    by 0x40475A: aesop_timer_poll (timer.c:182)
==5523==    by 0x405D7C: ev_async_cb (resource.c:77)
==5523==    by 0x40D27E: ev_invoke_pending (ev.c:2139)
==5523==    by 0x40E048: ev_run (ev.c:2515)
==5523==    by 0x406651: ae_poll (resource.c:346)
==5523==    by 0x403C8D: main (timer-cancel.ae:56)
==5523==  Address 0x571e37c is 156 bytes inside a block of size 168 free'd
==5523==    at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5523==    by 0x405908: ae_opcache_destroy (opcache.c:303)
==5523==    by 0x404A05: aesop_timer_finalize (timer.c:314)
==5523==    by 0x403802: __ae_worker_aesop_main (timer-cancel.ae:52)
==5523==    by 0x4034BE: aesop_main_dotimer_50_11_callback (timer-cancel.ae:50)
==5523==    by 0x4025D5: dotimer_aesop_timer_19_13_callback (timer-cancel.ae:19)
==5523==    by 0x404744: aesop_timer_poll (timer.c:182)
==5523==    by 0x405D7C: ev_async_cb (resource.c:77)
==5523==    by 0x40D27E: ev_invoke_pending (ev.c:2139)
==5523==    by 0x40E048: ev_run (ev.c:2515)
==5523==    by 0x406651: ae_poll (resource.c:346)
==5523==    by 0x403C8D: main (timer-cancel.ae:56)

In this test program, the aesop_timer_finalize() function is being called from within aesop. In this specific case this means that aesop_timer_finalize() is actually being executed in the context of the timer callback from aesop_timer_poll(). It looks like we need to protect this somehow.

#41 dkimpe fixed C-utils should build and install independently
Description

Depends on aesop-specific paths at this point.

#39 [email protected] duplicate 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).

==31478== HEAP SUMMARY: ==31478== in use at exit: 440 bytes in 2 blocks ==31478== total heap usage: 70 allocs, 68 frees, 101,172 bytes allocated ==31478== ==31478== Thread 1: ==31478== 168 bytes in 1 blocks are still reachable in loss record 1 of 2 ==31478== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==31478== by 0x40728F: aethread_create_group_pool (aethread.c:89) ==31478== by 0x4044E7: aefile_init (aefile.ae:39) ==31478== by 0x403F4F: ae_worker_aesop_main (in /home/jehannum/Source/aesop-test/aefile-example) ==31478== by 0x4041D1: aesop_main (in /home/jehannum/Source/aesop-test/aefile-example) ==31478== by 0x404436: main (in /home/jehannum/Source/aesop-test/aefile-example) ==31478== ==31478== 272 bytes in 1 blocks are possibly lost in loss record 2 of 2 ==31478== at 0x4C272B8: calloc (vg_replace_malloc.c:566) ==31478== by 0x401128E: _dl_allocate_tls (dl-tls.c:300) ==31478== by 0x4E36483: [email protected]@GLIBC_2.2.5 (allocatestack.c:580) ==31478== by 0x40732D: aethread_create_group_pool (aethread.c:111) ==31478== by 0x4044E7: aefile_init (aefile.ae:39) ==31478== by 0x403F4F: ae_worker_aesop_main (in /home/jehannum/Source/aesop-test/aefile-example) ==31478== by 0x4041D1: aesop_main (in /home/jehannum/Source/aesop-test/aefile-example) ==31478== by 0x404436: main (in /home/jehannum/Source/aesop-test/aefile-example) ==31478== ==31478== LEAK SUMMARY: ==31478== definitely lost: 0 bytes in 0 blocks ==31478== indirectly lost: 0 bytes in 0 blocks ==31478== possibly lost: 272 bytes in 1 blocks ==31478== still reachable: 168 bytes in 1 blocks ==31478== suppressed: 0 bytes in 0 blocks ==31478== ==31478== For counts of detected and suppressed errors, rerun with: -v ==31478== Use --track-origins=yes to see where uninitialised values come from ==31478== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 4 from 4)

1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.