Merge lp:~zorba-coders/zorba/bug-1032166 into lp:zorba

Proposed by Ghislain Fourny
Status: Merged
Approved by: Chris Hillery
Approved revision: 10961
Merged at revision: 10965
Proposed branch: lp:~zorba-coders/zorba/bug-1032166
Merge into: lp:zorba
Diff against target: 19 lines (+2/-0)
1 file modified
src/store/naive/item.cpp (+2/-0)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug-1032166
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Matthias Brantner Approve
Review via email: mp+117883@code.launchpad.net

Commit message

Fixes bug 1032166 (critical memory bug).

Description of the change

Fixes bug 1032166 (critical memory bug).

To post a comment you must log in.
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1032166 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message):
  Validation queue job bug-1032166-2012-08-02T12-46-58.557Z is finished. The
  final status was:

  6 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-1032166-2012-08-02T13-22-59.201Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 2 Pending.

Revision history for this message
Ghislain Fourny (gislenius) wrote :

I think it is not that critical - since the bug also was in addReference(), it only causes decrements and increments 2 by 2. It can probably wait the 2.7 release.

Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-1032166-2012-08-02T20-08-58.124Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 1 Approve, 1 Pending.

Revision history for this message
Chris Hillery (ceejatec) wrote :

May as well get it in.

review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-1032166-2012-08-03T01-26-48.12Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/store/naive/item.cpp'
2--- src/store/naive/item.cpp 2012-07-24 08:48:48 +0000
3+++ src/store/naive/item.cpp 2012-08-02 13:23:19 +0000
4@@ -73,6 +73,7 @@
5 SYNC_CODE(static_cast<const simplestore::json::JSONItem*>(this)->getRCLock()->acquire());
6 ++theRefCount;
7 SYNC_CODE(static_cast<const simplestore::json::JSONItem*>(this)->getRCLock()->release());
8+ return;
9 }
10 #endif
11 case ATOMIC:
12@@ -161,6 +162,7 @@
13 }
14
15 SYNC_CODE(static_cast<const simplestore::json::JSONItem*>(this)->getRCLock()->release());
16+ return;
17 }
18 #endif
19 case ATOMIC:

Subscribers

People subscribed via source and target branches