[ 
https://issues.apache.org/jira/browse/GEODE-9268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Salazar de Torres updated GEODE-9268:
-------------------------------------------
    Description: 
*WHEN* A PdxInstance is fetched from a region
 *AND* The whole cluster is restarted, triggering PdxTypeRegistry cleanup.
 *AND* getFieldNames is called on the PdxInstance created just before
 *THEN* a coredump happens.

---

*Additional information:*

Callstack:
{noformat}
[ERROR 2021/05/05 12:57:12.781834 CEST main (139683590957120)] Segmentation 
fault happened
 0# handler(int) at /home/earmsla/Repositories/nc-pdx/main.cpp:225
 1# 0x00007F0A9F5F13C0 in /lib/x86_64-linux-gnu/libpthread.so.0
 2# apache::geode::client::PdxType::getPdxFieldTypes() const at 
/home/earmsla/Repositories/geode-native/cppcache/src/PdxType.hpp:181
 3# apache::geode::client::PdxInstanceImpl::getFieldNames() at 
/home/earmsla/Repositories/geode-native/cppcache/src/PdxInstanceImpl.cpp:1383
 4# main at /home/earmsla/Repositories/nc-pdx/main.cpp:374
 5# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
 6# _start in build/pdx{noformat}

  was:
*WHEN* A PdxInstance is fetched from a region
*AND* The whole cluster is restarted, triggering PdxTypeRegistry cleanup.
*AND* getFieldNames is called on the PdxInstance created just before
*THEN* a coredump happens.


> Fix coredump whenever getFieldNames is called after a cluster restart
> ---------------------------------------------------------------------
>
>                 Key: GEODE-9268
>                 URL: https://issues.apache.org/jira/browse/GEODE-9268
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Mario Salazar de Torres
>            Assignee: Mario Salazar de Torres
>            Priority: Major
>
> *WHEN* A PdxInstance is fetched from a region
>  *AND* The whole cluster is restarted, triggering PdxTypeRegistry cleanup.
>  *AND* getFieldNames is called on the PdxInstance created just before
>  *THEN* a coredump happens.
> ---
> *Additional information:*
> Callstack:
> {noformat}
> [ERROR 2021/05/05 12:57:12.781834 CEST main (139683590957120)] Segmentation 
> fault happened
>  0# handler(int) at /home/earmsla/Repositories/nc-pdx/main.cpp:225
>  1# 0x00007F0A9F5F13C0 in /lib/x86_64-linux-gnu/libpthread.so.0
>  2# apache::geode::client::PdxType::getPdxFieldTypes() const at 
> /home/earmsla/Repositories/geode-native/cppcache/src/PdxType.hpp:181
>  3# apache::geode::client::PdxInstanceImpl::getFieldNames() at 
> /home/earmsla/Repositories/geode-native/cppcache/src/PdxInstanceImpl.cpp:1383
>  4# main at /home/earmsla/Repositories/nc-pdx/main.cpp:374
>  5# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
>  6# _start in build/pdx{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to