You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Blake Bender (Jira)" <ji...@apache.org> on 2019/11/07 18:08:00 UTC

[jira] [Created] (GEODE-7418) Crash in deserialization of JSON Pdx value when PdxReadSerialized=false

Blake Bender created GEODE-7418:
-----------------------------------

             Summary: 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


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)