Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19743

[win-fdb] test issue with heap corruption when calling free()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.1
    • 4.5.0
    • forestdb
    • None
    • Untriaged
    • Unknown
    • ForestDB: Oct 17 - Nov 4

    Description

      From mvcc_functional test, heap corruption during calling free on doc->body on memory snapshot test

       
      free(doc->body)
       
       	msvcr120d.dll!00007ffaddf21e68()	Unknown
      >	mvcc_functional_test.exe!fdb_doc_free(fdb_doc_struct * doc) Line 2350	C++
       	mvcc_functional_test.exe!in_memory_snapshot_cleanup_test() Line 1220	C++
       	mvcc_functional_test.exe!main() Line 5185	C++
       	[External Code]	
      

      Doc struct

      -		doc	0x00000044a975cb90 {keylen=4 metalen=5 bodylen=5 ...}	fdb_doc_struct *
      		keylen	4	unsigned __int64
      		metalen	5	unsigned __int64
      		bodylen	5	unsigned __int64
      		size_ondisk	54	unsigned __int64
      		key	0x00000044a975cc20	void *
      		seqnum	5	unsigned __int64
      		offset	53248	unsigned __int64
      		meta	0x00000044a1561bc0	void *
      		body	0x00000044a15618a0	void *
      		deleted	false	bool
      		flags	0	unsigned int
      

      Attachments

        Issue Links

          Activity

            People

              abhinav Abhi Dangeti
              tommie Tommie McAfee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty