yybear opened a new issue, #2650:
URL: https://github.com/apache/brpc/issues/2650

   **Describe the bug (描述bug)**
   服务使用了brpc库,使用容器绑定cpu部署(numa感知)。服务启动后会报Program terminated with signal 11, 
Segmentation fault.。
   
   **To Reproduce (复现方法)**
   容器绑定cpu部署(numa感知),必现。
   
   **Expected behavior (期望行为)**
   容器绑定cpu部署(numa感知)服务正常运行。
   
   **Versions (各种版本)**
   OS: 龙蜥os 7.9
   Compiler: 
   brpc: 
   protobuf: 
   
   **Additional context/screenshots (更多上下文/截图)**
   Program terminated with signal 11, Segmentation fault.
   #0  ticker_ticks (nticks=1, ticker=0x7fe6f2ffc088) at 
include/jemalloc/internal/ticker.h:66
   66      include/jemalloc/internal/ticker.h: No such file or directory.
   Missing separate debuginfos, use: debuginfo-install 
glibc-2.17-323.1.an7.1.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 
krb5-libs-1.15.1-55.0.1.an7.x86_64 libcom_err-1.43.5-8.4.an7.x86_64 
libgcc-4.8.5-44.0.1.an7.x86_64 libgomp-4.8.5-44.0.1.an7.x86_64 
libselinux-2.5-15.el7.x86_64 libstdc++-4.8.5-44.0.1.an7.x86_64 
openssl-libs-1.0.2k-26.an7.x86_64 pcre-8.32-17.el7.x86_64 
zlib-1.2.7-21.an7.x86_64
   (gdb) bt
   #0  ticker_ticks (nticks=1, ticker=0x7fe6f2ffc088) at 
include/jemalloc/internal/ticker.h:66
   #1  arena_decay_ticks (nticks=1, arena=0x7fe6230008c0, tsdn=0x7fe575669200) 
at include/jemalloc/internal/arena_inlines_b.h:125
   #2  arena_decay_tick (arena=0x7fe6230008c0, tsdn=0x7fe575669200) at 
include/jemalloc/internal/arena_inlines_b.h:135
   #3  je_arena_tcache_fill_small (tsdn=<optimized out>, arena=<optimized out>, 
tcache=<optimized out>, tbin=<optimized out>, binind=<optimized out>, 
prof_accumbytes=<optimized out>) at src/arena.c:1442
   #4  0x0000000001998964 in je_tcache_alloc_small_hard 
(tsdn=tsdn@entry=0x7fe575669200, arena=<optimized out>, 
tcache=tcache@entry=0x7fe5756693f0, tbin=tbin@entry=0x7fe575669550, 
binind=binind@entry=14,
       tcache_success=tcache_success@entry=0x7fe5756685a0) at src/tcache.c:94
   #5  0x00000000019493d7 in tcache_alloc_small (size=<optimized out>, 
slow_path=false, zero=false, binind=14, tcache=0x7fe5756693f0, arena=<optimized 
out>, tsd=0x7fe575669200)
       at include/jemalloc/internal/tcache_inlines.h:60
   #6  arena_malloc (slow_path=false, tcache=0x7fe5756693f0, zero=false, 
ind=14, size=<optimized out>, arena=0x0, tsdn=0x7fe575669200) at 
include/jemalloc/internal/arena_inlines_b.h:165
   #7  iallocztm (slow_path=false, arena=0x0, is_internal=false, 
tcache=0x7fe5756693f0, zero=false, ind=14, size=<optimized out>, 
tsdn=0x7fe575669200)
       at include/jemalloc/internal/jemalloc_internal_inlines_c.h:53
   #8  imalloc_no_sample (sopts=<optimized out>, ind=14, usize=384, 
size=<optimized out>, tsd=0x7fe575669200, dopts=<synthetic pointer>) at 
src/jemalloc.c:1949
   #9  imalloc_body (tsd=0x7fe575669200, dopts=<synthetic pointer>, 
sopts=<synthetic pointer>) at src/jemalloc.c:2149
   #10 imalloc (dopts=<synthetic pointer>, sopts=<synthetic pointer>) at 
src/jemalloc.c:2258
   #11 je_malloc_default (size=<optimized out>) at src/jemalloc.c:2289
   #12 0x00007fe7d8ec121d in operator new(unsigned long, std::nothrow_t const&) 
() from /lib64/libstdc++.so.6
   #13 0x0000000001bb467f in bthread::TaskControl::create_group 
(this=this@entry=0x7fe7b0b03c00) at src/bthread/task_control.cpp:89
   #14 0x0000000001bb47e1 in bthread::TaskControl::worker_thread 
(arg=0x7fe7b0b03c00) at src/bthread/task_control.cpp:65
   #15 0x00007fe7b67fbea5 in start_thread () from /lib64/libpthread.so.0
   #16 0x00007fe7b65249fd in __libc_ifunc_impl_list () from /lib64/libc.so.6
   


-- 
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: dev-unsubscr...@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to