buggzochi - Bugs: bug #45529, Need to be able to execute...

 
 

bug #45529: Need to be able to execute non-transactional cleanup code

Submitter:  Julian Graham <juliang>
Submitted:  Sat 11 Jul 2015 07:19:22 PM UTC
   
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  juliang
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 11 Jul 2015 07:19:22 PM UTC, original submission:  

Cleanup tasks are currently used to do things that may not be safe to re-try, like freeing memory. Example stack trace:

==15068== Invalid free() / delete / delete[] / realloc()
==15068==    at 0x4C2CE10: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15068==    by 0x420A27: durable_task_cleanup_worker (durable-task.c:626)
==15068==    by 0x41A2B1: transactional_task_worker (app-task.c:120)
==15068==    by 0x41A6D1: event_func_wrapper (app-task.c:232)
==15068==    by 0x416844: gzochid_transaction_execute (tx.c:406)
==15068==    by 0x41A721: gzochid_application_transaction_execute (app-task.c:245)
==15068==    by 0x41A351: gzochid_application_transactional_task_worker (app-task.c:138)
==15068==    by 0x41A902: gzochid_application_resubmitting_transactional_task_worker (app-task.c:308)
==15068==    by 0x41AA7F: gzochid_application_task_thread_worker (app-task.c:363)
==15068==    by 0x40BDF1: pending_task_executor_inner (schedule.c:61)
==15068==    by 0x4E7EF99: c_body (continuations.c:426)
==15068==    by 0x4EF9234: vm_regular_engine (vm-engine.c:809)
==15068==  Address 0xbe90280 is 0 bytes inside a block of size 4 free'd
==15068==    at 0x4C2CE10: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15068==    by 0x420A27: durable_task_cleanup_worker (durable-task.c:626)
==15068==    by 0x41A2B1: transactional_task_worker (app-task.c:120)
==15068==    by 0x41A6D1: event_func_wrapper (app-task.c:232)
==15068==    by 0x416844: gzochid_transaction_execute (tx.c:406)
==15068==    by 0x41A721: gzochid_application_transaction_execute (app-task.c:245)
==15068==    by 0x41A351: gzochid_application_transactional_task_worker (app-task.c:138)
==15068==    by 0x41A902: gzochid_application_resubmitting_transactional_task_worker (app-task.c:308)
==15068==    by 0x41AA7F: gzochid_application_task_thread_worker (app-task.c:363)
==15068==    by 0x40BDF1: pending_task_executor_inner (schedule.c:61)
==15068==    by 0x4E7EF99: c_body (continuations.c:426)
==15068==    by 0x4EF9234: vm_regular_engine (vm-engine.c:809)

Julian Graham <juliang>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by juliang (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-14 juliang StatusNone Fixed
        Open/ClosedOpen Closed
    2015-07-11 juliang Severity3 - Normal 4 - Important
        Assigned toNone juliang

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code