buggzochi - Bugs: bug #50646, valgrind warning during mem store...

 
 

bug #50646: valgrind warning during mem store delete: Use of uninitialised value of size 8

Submitted by:  Julian Graham <juliang>
Submitted on:  Mon 27 Mar 2017 01:46:14 AM UTC  
 
Category: NoneSeverity: 3 - Normal
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.

 

Mon 27 Mar 2017 02:23:53 AM UTC, comment #3:

Stacks of relevant threads show one thread in process of committing - the thread doing the bad read had only just grabbed the read lock. Committing thread had only just finished releasing write locks.

Julian Graham <juliang>
Project AdministratorIn charge of this item.
Mon 27 Mar 2017 02:12:14 AM UTC, comment #2:

Perhaps it's not safe to ask for the effective page for writes before the node is locked for write?

Julian Graham <juliang>
Project AdministratorIn charge of this item.
Mon 27 Mar 2017 01:51:20 AM UTC, comment #1:

`page_key_offset' is returning a value greater than the actual page size. And yet that function has assertions to prevent that from happening. Perhaps not all the right locks are held?

Julian Graham <juliang>
Project AdministratorIn charge of this item.
Mon 27 Mar 2017 01:46:14 AM UTC, original submission:

==18823== Use of uninitialised value of size 8
==18823== at 0x4282D1: gzochi_common_io_read_short (io.c:47)
==18823== by 0x420356: remove_page_record (storage-mem.c:2038)
==18823== by 0x42282F: transaction_delete (storage-mem.c:3281)
==18823== by 0x41CFB1: transaction_delete (storage-dataclient.c:2706)
==18823== by 0x42E919: remove_object (data.c:638)
==18823== by 0x42E9FD: remove_reference (data.c:666)
==18823== by 0x42F403: gzochid_data_remove_object (data.c:951)
==18823== by 0x433364: cleanup_coordinator_task (durable-task.c:810)
==18823== by 0x433937: coordinator_catch_worker (durable-task.c:1028)
==18823== by 0x4287A7: transactional_task_worker (app-task.c:150)
==18823== by 0x428AB4: event_func_wrapper (app-task.c:251)
==18823== by 0x424064: gzochid_transaction_execute (tx.c:396)

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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Apr 2017 01:30:06 AM UTCjuliangStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1