4 entries: 3 <---- there is an extra entry on the lru.
29 -------------------------
48 -------------------------
67 -------------------------
86 -------------------------
105 -------------------------
109 next entry: 0xa0010004
112 key: "The Second key"
127 Rankings at 0x90000001
155 Rankings at 0x90000002
162 ================================
164 Generated with: (see steps on the bug 69135)
166 SetMask(0x1); // 2-entry table.
167 SetMaxSize(0x3000); // 12 kB.
170 std::string key1("The first key");
171 std::string key2("The Second key");
172 disk_cache::Entry* entry;
174 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));
176 ASSERT_EQ(net::OK, CreateEntry(key2, &entry));
178 ASSERT_EQ(net::OK, OpenEntry(key1, &entry)); <--- 1st crash.
180 ASSERT_EQ(net::OK, OpenEntry(key1, &entry)); <--- 2nd crash.
182 ASSERT_EQ(net::OK, CreateEntry(key1, &entry));