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

 
 

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

Submitted by:  Julian Graham <juliang>
Submitted on:  Sat 11 Jul 2015 07:19:22 PM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Julian Graham <juliang>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 Sep 2015 12:34:49 PM UTCjuliangStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 11 Jul 2015 07:19:51 PM UTCjuliangSeverity3 - Normal=>4 - Important
      Assigned toNone=>juliang

    Back to the top


    Powered by Savane 3.1-cleanup1