zgb40302 opened a new issue #985: crash 
URL: https://github.com/apache/incubator-brpc/issues/985
 
 
   **Describe the bug (描述bug)**
   #0  0x00007f8c26c211f7 in raise () from /lib64/libc.so.6
   #1  0x00007f8c26c228e8 in abort () from /lib64/libc.so.6
   #2  0x00000000011dc455 in __gnu_cxx::__verbose_terminate_handler () at 
../../../../libstdc++-v3/libsupc++/vterminate.cc:95
   #3  0x0000000001147756 in __cxxabiv1::__terminate (handler=<optimized out>) 
at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
   #4  0x00000000011525e9 in __cxa_call_terminate 
(ue_header=ue_header@entry=0x7f8b1b234410) at 
../../../../libstdc++-v3/libsupc++/eh_call.cc:54
   #5  0x0000000001146d88 in __cxxabiv1::__gxx_personality_v0 
(version=<optimized out>, actions=6, exception_class=5138137972254386944, 
       ue_header=0x7f8b1b234410, context=<optimized out>) at 
../../../../libstdc++-v3/libsupc++/eh_personality.cc:676
   #6  0x00007f8c271da8a3 in ?? () from /lib64/libgcc_s.so.1
   #7  0x00007f8c271dadd7 in _Unwind_Resume () from /lib64/libgcc_s.so.1
   #8  0x0000000000685169 in operator() (this=<optimized out>, obj=<optimized 
out>) at /data1/minggao/incubator-brpc-0.9.6/src/brpc/destroyable.h:36
   #9  ~unique_ptr (this=<synthetic pointer>, __in_chrg=<optimized out>) at 
/usr/include/c++/4.8.2/bits/unique_ptr.h:184
   #10 ~DestroyingPtr (this=<synthetic pointer>, __in_chrg=<optimized out>) at 
/data1/minggao/incubator-brpc-0.9.6/src/brpc/destroyable.h:42
   #11 brpc::policy::ProcessHttpRequest (msg=<optimized out>) at 
/data1/minggao/incubator-brpc-0.9.6/src/brpc/policy/http_rpc_protocol.cpp:1493
   #12 0x0000000000650e4a in brpc::ProcessInputMessage 
(void_arg=void_arg@entry=0x7f8b1be72750)
       at /data1/minggao/incubator-brpc-0.9.6/src/brpc/input_messenger.cpp:136
   #13 0x0000000000651c66 in operator() (this=<optimized out>, 
last_msg=0x7f8b1be72750)
       at /data1/minggao/incubator-brpc-0.9.6/src/brpc/input_messenger.cpp:142
   #14 brpc::InputMessenger::OnNewMessages (m=0x7f8ae401b080) at 
/usr/include/c++/4.8.2/bits/unique_ptr.h:184
   #15 0x00000000005af71d in brpc::Socket::ProcessEvent (arg=0x7f8ae401b080) at 
/data1/minggao/incubator-brpc-0.9.6/src/brpc/socket.cpp:1020
   #16 0x00000000005fe3bf in bthread::TaskGroup::task_runner 
(skip_remained=<optimized out>)
       at /data1/minggao/incubator-brpc-0.9.6/src/bthread/task_group.cpp:297
   #17 0x00000000005ecc71 in bthread_make_fcontext ()
   #18 0x0000000000000000 in ?? ()
   
   **To Reproduce (复现方法)**
   random to hanppen
   
   **Expected behavior (期望行为)**
   fix
   
   **Versions (各种版本)**
   OS:  centos 7.3
   Compiler:  gcc 4.8.5
   brpc:   0.9.6
   protobuf:  3.6.1.2
   
   **Additional context/screenshots (更多上下文/截图)**
   (gdb) x /50wx 0x7f8b1be72750
   0x7f8b1be72750: 0x01c6f330      0x00000000      0x9ab0f519      0x000001aa
   0x7f8b1be72760: 0x26c12ff6      0x00059734      0x00000000      0x00000000
   0x7f8b1be72770: 0x00683c80      0x00000000      0xe7368100      0x00007ffe
   0x7f8b1be72780: 0x00000077      0x00000000      0x00000007      0x00000000
   0x7f8b1be72790: 0x02793158      0x00000000      0x00000000      0x00000000
   0x7f8b1be727a0: 0x00000000      0x00000000      0x00000000      0x00000000
   0x7f8b1be727b0: 0x00000000      0x00000000      0x00000000      0x00007f8b
   0x7f8b1be727c0: 0x00000000      0x00000000      0x00000000      0x00000000
   0x7f8b1be727d0: 0x00000000      0x00000000      0xffffffff      0x00000000
   0x7f8b1be727e0: 0x02793158      0x00000000      0x02793158      0x00000000
   0x7f8b1be727f0: 0x02793158      0x00000000      0x02793158      0x00000000
   0x7f8b1be72800: 0x02793158      0x00000000      0x02793158      0x00000000
   0x7f8b1be72810: 0x00000000      0x00000000
   (gdb) x /20wx 0x01c6f330
   0x1c6f330 <_ZTVN4brpc11DestroyableE+16>:        0x0064ca20      0x00000000   
   0x0064cb20      0x00000000
   0x1c6f340 <_ZTVN4brpc11DestroyableE+32>:        0x01145950      0x00000000   
   0x00000000      0x00000000
   0x1c6f350:      0x00000000      0x00000000      0x00000000      0x00000000
   0x1c6f360 <_ZTVN4brpc13NamingServiceE>: 0x00000000      0x00000000      
0x01c6f240      0x00000000
   0x1c6f370 <_ZTVN4brpc13NamingServiceE+16>:      0x0064ca50      0x00000000   
   0x0064cb40      0x00000000
   (gdb) x /20wx 0x0064ca20
   0x64ca20 <brpc::Destroyable::~Destroyable()>:   0xf9058d48      0x55016228   
   0x48e58948      0x4810c083
   0x64ca30 <brpc::Destroyable::~Destroyable()+16>:        0xc35d0789      
0x1f0f2e66      0x00000084      0x90660000
   0x64ca40 <brpc::NamingService::RunNamingServiceReturnsQuickly()>:       
0x48c03155      0xc35de589      0x00841f0f      0x00000000
   0x64ca50 <brpc::NamingService::~NamingService()>:       0xc9058d48      
0x55016228      0x48e58948      0x4810c083
   0x64ca60 <brpc::NamingService::~NamingService()+16>:    0x48084789      
0x1e36058d      0x485d0162      0x4810c083
   (gdb) x /20wx 0x0064cb20
   0x64cb20 <brpc::Destroyable::~Destroyable()>:   0x058d4855      0x016227f8   
   0x5de58948      0x10c08348
   0x64cb30 <brpc::Destroyable::~Destroyable()+16>:        0xe9078948      
0x00af8d48      0x00841f0f      0x00000000
   0x64cb40 <brpc::NamingService::~NamingService()>:       0xd9058d48      
0x55016227      0x48e58948      0x4810c083
   0x64cb50 <brpc::NamingService::~NamingService()+16>:    0x48084789      
0x1d46058d      0x485d0162      0x4810c083
   0x64cb60 <brpc::NamingService::~NamingService()+32>:    0x19e90789      
0x6600af8d      0x00841f0f      0x00000000
   (gdb) x /20wx 0x01145950
   0x1145950 <__cxxabiv1::__cxa_pure_virtual()>:   0xce358d48      0x48006171   
   0xba08ec83      0x0000001b
   0x1145960 <__cxxabiv1::__cxa_pure_virtual()+16>:        0x000002bf      
0xf806e800      0x21e8ff38      0x9000001e
   0x1145970 <__cxxabiv1::__cxa_deleted_virtual()>:        0xd1358d48      
0x48006171      0xba08ec83      0x0000001e
   0x1145980 <__cxxabiv1::__cxa_deleted_virtual()+16>:     0x000002bf      
0xf7e6e800      0x01e8ff38      0x9000001e
   0x1145990 <operator delete(void*, std::nothrow_t const&)>:      0x38f20be9   
   0x0f2e66ff      0x0000841f      0x90000000
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to