FelixYBW commented on issue #6477:
URL: 
https://github.com/apache/incubator-gluten/issues/6477#issuecomment-2251454810

   for record, the callstack:
   
   ```
   #0  0x00007fed2acd395d in syscall () from /lib/x86_64-linux-gnu/libc.so.6
   #1  0x00007fecbc2b955e in folly::detail::(anonymous 
namespace)::nativeFutexWaitImpl (waitMask=4294967295, absSteadyTime=0x0, 
absSystemTime=0x0, expected=4294967293, addr=0x7fecd45d2e68)
       at 
/home/binweiyang/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.05.20.00-935b4335b7.clean/folly/detail/Futex.cpp:126
   #2  folly::detail::futexWaitImpl (futex=futex@entry=0x7fecd45d2e68, 
expected=expected@entry=4294967293, absSystemTime=absSystemTime@entry=0x0, 
absSteadyTime=absSteadyTime@entry=0x0, waitMask=waitMask@entry=4294967295)
       at 
/home/binweiyang/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.05.20.00-935b4335b7.clean/folly/detail/Futex.cpp:254
   #3  0x00007fecbc3037b6 in folly::detail::futexWait<std::atomic<unsigned int> 
> (waitMask=4294967295, expected=4294967293, futex=0x7fecd45d2e68)
       at 
/home/binweiyang/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.05.20.00-935b4335b7.clean/folly/detail/Futex-inl.h:94
   #4  folly::detail::MemoryIdler::futexWait<std::atomic<unsigned int>, 
std::chrono::duration<long, std::ratio<1l, 1000000000l> > > 
(expected=4294967293, waitMask=4294967295, stackToRetain=1024, 
timeoutVariationFrac=0.5, idleTimeout=..., fut=...)
       at 
/home/binweiyang/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.05.20.00-935b4335b7.clean/folly/detail/MemoryIdler.h:128
   #5  folly::fibers::Baton::waitThread (this=this@entry=0x7fecd45d2e68) at 
/home/binweiyang/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.05.20.00-935b4335b7.clean/folly/fibers/Baton.cpp:70
   #6  0x00007fecbc303a80 in 
folly::fibers::Baton::wait<folly::fibers::Baton::wait()::<lambda()> > 
(mainContextFunc=..., this=0x7fecd45d2e68)
       at 
/home/binweiyang/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.05.20.00-935b4335b7.clean/folly/fibers/Baton-inl.h:54
   #7  folly::fibers::Baton::wait (this=this@entry=0x7fecd45d2e68) at 
/home/binweiyang/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.05.20.00-935b4335b7.clean/folly/fibers/Baton.cpp:46
   #8  0x00007fecb90024d1 in 
folly::futures::detail::waitImpl<folly::SemiFuture<folly::Unit>, folly::Unit> 
(f=...) at 
/home/binweiyang/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/include/folly/futures/Future-inl.h:2230
   #9  0x00007fecb90029f8 in folly::SemiFuture<folly::Unit>::wait() & 
(this=0x7fecd45d2fa8) at 
/home/binweiyang/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/include/folly/futures/Future-inl.h:2337
   #10 0x00007fecbaea6099 in folly::SemiFuture<folly::Unit>::wait() && 
(this=0x7fecd45d2fa8) at 
/home/binweiyang/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/include/folly/futures/Future-inl.h:2343
   #11 facebook::velox::exec::Task::MemoryReclaimer::reclaimTask 
(this=this@entry=0x7fecaab8ca60, task=..., 
targetBytes=targetBytes@entry=265080011, maxWaitMs=maxWaitMs@entry=0, stats=...)
       at 
/home/binweiyang/gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:2828
   #12 0x00007fecbaea6771 in 
facebook::velox::exec::Task::MemoryReclaimer::reclaim (this=0x7fecaab8ca60, 
pool=<optimized out>, targetBytes=265080011, maxWaitMs=0, stats=...)
       at 
/home/binweiyang/gluten/ep/build-velox/build/velox_ep/velox/exec/Task.cpp:2802
   #13 0x00007fecbc1fbc7a in facebook::velox::memory::MemoryReclaimer::reclaim 
(this=<optimized out>, pool=<optimized out>, targetBytes=<optimized out>, 
maxWaitMs=0, stats=...)
       at 
/home/binweiyang/gluten/ep/build-velox/build/velox_ep/velox/common/memory/MemoryArbitrator.cpp:267
   #14 0x00007fecb902a672 in gluten::ListenableArbitrator::shrinkCapacity 
(this=0x7fecaab9f220, pools=..., targetBytes=265080011, allowSpill=<optimized 
out>, allowAbort=<optimized out>)
       at /home/binweiyang/gluten/cpp/velox/memory/VeloxMemoryManager.cc:87
   #15 0x00007fecb900a5c6 in gluten::WholeStageResultIterator::spillFixedSize 
(this=<optimized out>, size=<optimized out>) at 
/home/binweiyang/gluten/cpp/velox/compute/WholeStageResultIterator.cc:258
   #16 0x00007fecc2b5ee75 in gluten::ResultIterator::spillFixedSize 
(size=265080011, this=0x7fecd41759d0) at 
/home/binweiyang/gluten/cpp/core/compute/ResultIterator.h:71
   #17 Java_org_apache_gluten_vectorized_ColumnarBatchOutIterator_nativeSpill 
(env=0x7feccb30da60, wrapper=<optimized out>, iterHandle=1013612281860, 
size=265080011) at /home/binweiyang/gluten/cpp/core/jni/JniWrapper.cc:503
   ```


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