Project

General

Profile

Bug #6527

Calling removeCachedProduct() on a new Handle segfaults

Added by Christopher Backhouse over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Navigation
Target version:
Start date:
06/19/2014
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
NOvA
SSI Package:
art
Duration:

Description

art::Handle<Foo> foo;
evt.removeCachedProduct(foo);

crashes.

Ideally the call would just do nothing, but aborting with an informative error would also be OK.

Associated revisions

Revision 0e9db29d (diff)
Added by Christopher Green over 6 years ago

Fix for issue #6527.

Put implementation into DataViewImpl and Principal instead of Event, EventPrincipal, etc.
Standalone test for removeCachedProduct.

History

#1 Updated by Christopher Green over 6 years ago

  • Category set to Navigation
  • Status changed from New to Accepted
  • Target version set to 1.11.00
  • Estimated time set to 2.00 h
  • Experiment NOvA added
  • Experiment deleted (-)
  • SSI Package art added
  • SSI Package deleted ()

This should not happen. It will be fixed and a test put in for the next release.

#2 Updated by Christopher Green over 6 years ago

  • Status changed from Accepted to Resolved
  • Assignee set to Christopher Green
  • % Done changed from 0 to 100

Fixed with 0e9db29. Also test and code slimming by placing one implementation in the right place, instead of multiple.

#3 Updated by Christopher Green about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF