You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/03 18:27:00 UTC
[jira] [Commented] (GEODE-7418) Crash in deserialization of JSON
Pdx value when PdxReadSerialized=false
[ https://issues.apache.org/jira/browse/GEODE-7418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987150#comment-16987150 ]
ASF subversion and git services commented on GEODE-7418:
--------------------------------------------------------
Commit 799fa8c8a44acf78289127882a033278c17a5c87 in geode-native's branch refs/heads/release/1.11.0 from Mark Hanson
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=799fa8c ]
Revert "GEODE-7418: Fixes issue deserializing unregistered PDX types. (#546)"
This reverts commit 5d012199055a9a7657563727f6e26a406b287fc3.
> Crash in deserialization of JSON Pdx value when PdxReadSerialized=false
> -----------------------------------------------------------------------
>
> Key: GEODE-7418
> URL: https://issues.apache.org/jira/browse/GEODE-7418
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Blake Bender
> Priority: Major
> Fix For: 1.12.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> As a developer, I should be able to put and get JSON Pdx values in a region without any "extra effort" such as registering types or setting PdxReadSerialized to true when creating my cache. Currently if I do this, put a JSON value into a region, and attempt a get, NC will segfault attempting to create a PdxInstanceImpl.
>
> Steps to repro:
> * Build NC from the `*[pdxinstance_json_crash_repro|https://github.com/pdxcodemonkey/geode-native/tree/pdxinstance_json_crash_repro]`* branch of my (pdxcodemonkey) fork
> * Run NC integration test `PdxInstanceTest.testCreateJsonInstance`
> Expected result:
> * test passes
> Actual result:
> * test fails with a segfault in NC
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)