You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/03/09 03:43:14 UTC

[GitHub] [incubator-brpc] lzw06061139 opened a new issue #1716: Segmentation fault: pthread_mutex_lock_imp

lzw06061139 opened a new issue #1716:
URL: https://github.com/apache/incubator-brpc/issues/1716


   **Describe the bug (描述bug)**
   
   Program received signal SIGSEGV, Segmentation fault.
   0x00007ffff58e9850 in pthread_mutex_lock_impl (mutex=0x8097f0) at ../source/brpc/src/bthread/mutex.cpp:554
   554	        return sys_pthread_mutex_lock(mutex)
   
   **To Reproduce (复现方法)**
   我在程序中,启动运行即出现,coredump见附件
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS: CentOS 7.6 3.10.0-957.el7.x86_64
   Compiler: 7.3.1
   brpc: tag 1.0.0
   braft: tag 1.2.0
   protobuf: protobuf-2.5.0-8.el7.x86_64 protobuf-compiler-2.5.0-8.el7.x86_64
   
   **Additional context/screenshots (更多上下文/截图)**
   [core_petrelfs-mgmtd_248630_1646794226.zip](https://github.com/apache/incubator-brpc/files/8211465/core_petrelfs-mgmtd_248630_1646794226.zip)
   
   


-- 
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-unsubscribe@brpc.apache.org

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



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


[GitHub] [incubator-brpc] lzw06061139 commented on issue #1716: Segmentation fault: pthread_mutex_lock_imp

Posted by GitBox <gi...@apache.org>.
lzw06061139 commented on issue #1716:
URL: https://github.com/apache/incubator-brpc/issues/1716#issuecomment-1062525723


   gdb attach core dump,看到的是上万的,这种调用:
   ![image](https://user-images.githubusercontent.com/4408194/157368917-d8249fda-463d-46e2-8790-dcb7f21b0461.png)
   


-- 
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-unsubscribe@brpc.apache.org

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



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


[GitHub] [incubator-brpc] lzw06061139 commented on issue #1716: Segmentation fault: pthread_mutex_lock_imp

Posted by GitBox <gi...@apache.org>.
lzw06061139 commented on issue #1716:
URL: https://github.com/apache/incubator-brpc/issues/1716#issuecomment-1062532951


   断点在第一行都异常:
   ![image](https://user-images.githubusercontent.com/4408194/157370616-4b82b2ff-64d2-4a2b-87d8-eec6a59f7c17.png)
   


-- 
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-unsubscribe@brpc.apache.org

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



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


[GitHub] [incubator-brpc] lzw06061139 commented on issue #1716: Segmentation fault: pthread_mutex_lock_imp

Posted by GitBox <gi...@apache.org>.
lzw06061139 commented on issue #1716:
URL: https://github.com/apache/incubator-brpc/issues/1716#issuecomment-1062524856


   程序的动态库依赖:
   ![image](https://user-images.githubusercontent.com/4408194/157368716-c4be43d9-3219-4e72-abd2-e6fb0dbe4a55.png)
   


-- 
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-unsubscribe@brpc.apache.org

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



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


[GitHub] [incubator-brpc] wwbmmm commented on issue #1716: Segmentation fault: pthread_mutex_lock_imp

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1716:
URL: https://github.com/apache/incubator-brpc/issues/1716#issuecomment-1063594501


   无限递归了,可能跟你同时链接了brpc.so和braft.so导致的,你看看能否链接成.a?


-- 
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-unsubscribe@brpc.apache.org

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



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