[ 
https://issues.apache.org/jira/browse/GEODE-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617634#comment-16617634
 ] 

ASF subversion and git services commented on GEODE-5626:
--------------------------------------------------------

Commit 9870644656ef61239244a43e65aaadc922a858c2 in geode-native's branch 
refs/heads/develop from [~bbender]
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=9870644 ]

GEODE-5626: Fix crash in register all keys (#351)

* GEODE-5626: Reject getInitialValues=true in registerAllKeys when region is 
not caching.

    - Refactor Cluster class so we can apply locators separately.
    - Clean up server directories at test startup.
    - Add test cases for caching proxy and proxy regions with getInitialValues 
set to true
    - remove extraneous comment and empty doc comments
    - throw exception if gfsh exits non-zero
    - use relative path when deleting server directory

Co-authored-by: Ivan Godwin <igod...@pivotal.io>


> Segfault in Region::registerAllKeys when getInitialValues set to true
> ---------------------------------------------------------------------
>
>                 Key: GEODE-5626
>                 URL: https://issues.apache.org/jira/browse/GEODE-5626
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> getInitialValues has a default value of false.  If you attempt to set it to 
> true, and the region isn't initially empty, it will segfault attempting to 
> insert a value in an internal map which is null.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to