boneanxs opened a new issue, #12911:
URL: https://github.com/apache/gluten/issues/12911

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   ```
   emory Allocator[MALLOC capacity UNLIMITED allocated bytes 2097152 allocated 
pages 4 mapped pages 0]
   ARBITRATOR[GLUTEN] CAPACITY 8388608.00TB numRequests 0 numRunning 0 
numSucceded 0 numAborted 0 numFailures 0 numNonReclaimableAttempts 0 
reclaimedFreeCapacity 0B reclaimedUsedCapacity 0B maxCapacity 0B freeCapacity 
0B freeReservedCapacity 0B], Source: RUNTIME, ErrorCode: INVALID_STATE
   terminate called after throwing an instance of 
'facebook::velox::VeloxRuntimeError'
     what():  Exception: VeloxRuntimeError
   Error Source: RUNTIME
   Error Code: INVALID_STATE
   Reason: pools_.size() != 0 (1 vs 0). There are unexpected alive memory pools 
allocated by user on memory manager destruction:
   Memory Manager[capacity UNLIMITED alignment 64B usedBytes 16.00KB number of 
pools 4
   List of root pools:
   __sys_root__ usage 0B reserved 0B peak 0B
       __sys_shared_leaf__0 usage 0B reserved 0B peak 0B
       __sys_tracing__ usage 0B reserved 0B peak 0B
       __sys_caching__ usage 0B reserved 0B peak 0B
       __sys_spilling__ usage 0B reserved 0B peak 0B
   
   
   Top 1 leaf memory pool usages:
       op.0.0.0.TableScan usage 16.00KB reserved 1.00MB peak 151.18MB
   
   root usage 16.00KB reserved 1.00MB peak 154.00MB
       task.test_cursor_605 usage 16.00KB reserved 1.00MB peak 154.00MB
           node.0 usage 16.00KB reserved 1.00MB peak 152.00MB
               op.0.0.0.TableScan usage 16.00KB reserved 1.00MB peak 151.18MB
   
        refcount 2
   Memory Allocator[MALLOC capacity UNLIMITED allocated bytes 2097152 allocated 
pages 4 mapped pages 0]
   ARBITRATOR[GLUTEN] CAPACITY 8388608.00TB numRequests 0 numRunning 0 
numSucceded 0 numAborted 0 numFailures 0 numNonReclaimableAttempts 0 
reclaimedFreeCapacity 0B reclaimedUsedCapacity 0B maxCapacity 0B freeCapacity 
0B freeReservedCapacity 0B]
   Retriable: False
   Function: ~MemoryManager
   File: 
/workspaces/gluten/ep/build-velox/build/velox_ep/velox/common/memory/Memory.cpp
   Line: 196
   Stack trace:
   # 0  _ZN8facebook5velox7process10StackTraceC1Ei
   # 1  
_ZN8facebook5velox14VeloxExceptionC1EPKcmS3_St17basic_string_viewIcSt11char_traitsIcEES7_S7_S7_bNS1_4TypeES7_
   # 2  
_ZN8facebook5velox6detail14veloxCheckFailINS0_17VeloxRuntimeErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKNS1_18VeloxCheckFailArgsET0_
   # 3  0x000000000229e776
   # 4  _ZN6gluten18VeloxMemoryManagerD1Ev
   # 5  _ZN6gluten18VeloxMemoryManagerD0Ev
   # 6  _ZN6gluten13MemoryManager7releaseEPS0_
   # 7  Java_org_apache_gluten_memory_NativeMemoryManagerJniWrapper_release
   # 8  0x00007f21842497ea
   # 9  0x00007f217d9d9ca4
   ```
   
   Looks this issue still persist even after the 
https://github.com/apache/gluten/issues/9316#issuecomment-5073624916
   
   cc @FelixYBW @rui-mo 
   
   ### Gluten version
   
   main branch
   
   ### Spark version
   
   Spark-4.1.x
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to