legionxiong commented on issue #3094: URL: https://github.com/apache/brpc/issues/3094#issuecomment-3590716203
> > 使用过bvar的线程退出的时候,会清理线程tls上的bvar数据。 > > 能稳定复现吗? > > 使用最新版本有这个问题吗? > > 1. 稳定复现 > 2. 没有试过最新版本。 是不是使用了局部静态变量, 我们的应用使用局部静态变量存放了一个 channel pool 对象, 在应用退出 channel pool 对象被析构时会出现 segfault,改成非静态变量就没问题了。 <img width="1754" height="590" alt="Image" src="https://github.com/user-attachments/assets/87486718-dc11-49a2-843f-0725d43b1e64" /> -- 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]
