Skip to content

Getting unsafe memory access operation exception when trying to get data from ehcache #3312

Description

@sundharam-vm-8768

I am using a two tiered cache, heap and disk. Randomly getting the following exception. Based on previous issues i updated ehcache version to 3.11.1 and the issue still persists.

Unhandled Exception ::a fault occurred in a recent unsafe memory access operation in compiled Java code|
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code|
at org.ehcache.shadow.org.terracotta.offheapstore.OffHeapHashMap.isPresent(OffHeapHashMap.java:976)|
at org.ehcache.shadow.org.terracotta.offheapstore.OffHeapHashMap.computeIfPresentWithMetadata(OffHeapHashMap.java:2118)|
at org.ehcache.shadow.org.terracotta.offheapstore.AbstractLockedOffHeapHashMap.computeIfPresentWithMetadata(AbstractLockedOffHeapHashMap.java:543)|
at org.ehcache.shadow.org.terracotta.offheapstore.concurrent.AbstractConcurrentOffHeapMap.computeIfPresentWithMetadata(AbstractConcurrentOffHeapMap.java:782)|
at org.ehcache.impl.internal.store.disk.EhcachePersistentConcurrentOffHeapClockCache.computeIfPresent(EhcachePersistentConcurrentOffHeapClockCache.java:176)|
at org.ehcache.impl.internal.store.offheap.AbstractOffHeapStore.internalGet(AbstractOffHeapStore.java:185)|
at org.ehcache.impl.internal.store.offheap.AbstractOffHeapStore.containsKey(AbstractOffHeapStore.java:220)|
at org.ehcache.impl.internal.store.tiering.TieredStore.containsKey(TieredStore.java:108)|
at org.ehcache.core.EhcacheBase.containsKey(EhcacheBase.java:219)|

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions