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

 
 

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

Submitter:  Julian Graham <juliang>
Submitted:  Mon 27 Mar 2017 01:46:14 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  juliang
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-03 juliang StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code