zgb40302 commented on issue #985: crash
URL: https://github.com/apache/incubator-brpc/issues/985#issuecomment-565351806
每次core的时候,/var/log/message 里都会记录以下问题:
messages-20191208:Dec 4 19:02:59 131-15-98-huawei-core sunflower: terminate
called after throwing an instance of 'std::bad_alloc
zgb40302 commented on issue #985: crash
URL: https://github.com/apache/incubator-brpc/issues/985#issuecomment-565297679
1,asan 没有内存问题。
2,去掉 O2后,栈信息显示 operator() 的参数 obj=0x0,为啥还会core ?
35 template struct Destroyer {
36 void operator()(T* obj) const { if (obj) { obj->Destr
zgb40302 commented on issue #985: crash
URL: https://github.com/apache/incubator-brpc/issues/985#issuecomment-562428619
线上环境,去掉-O2会影响性能。30多台设备,不是每台都有,所以应用代码的概率应该不大。
This is an automated message from the Apache Git Service.
To