[rabbitmq-discuss] RabbitMQ Causing Segmentation Fault on FreeBSD

Matthias Radestock matthias at rabbitmq.com
Fri Apr 18 15:16:50 BST 2014


Brandon,

On 15/04/14 17:25, Brandon Munroe wrote:
> The message in the logs reads:
>
> ** Generic server rabbit_mgmt_external_stats terminating
> ** Last message in was emit_update
> ** When Server state == {state,707130}
> ** Reason for termination ==
> ** {function_clause,[{lists,nth,[1,[]],[{file,"lists.erl"},{line,168}]},
>
> {rabbit_mgmt_external_stats,'-get_used_fd/1-fun-1-',2,[]},
>                       {lists,'-filter/2-lc$^0/1-0-',2,
>                              [{file,"lists.erl"},{line,1271}]},
>                       {lists,'-filter/2-lc$^0/1-0-',2,
>                              [{file,"lists.erl"},{line,1271}]},
>                       {rabbit_mgmt_external_stats,get_used_fd,1,[]},
>
> {rabbit_mgmt_external_stats,'-infos/2-lc$^0/1-0-',2,[]},
>
> {rabbit_mgmt_external_stats,'-infos/2-lc$^0/1-0-',2,[]},
>                       {rabbit_mgmt_external_stats,emit_update,1,[]}]}

On BSD RabbitMQ invokes 'fstat -p <pid>' to determine the number of used 
file descriptors. In the above it is tripping over the parsing of the 
output. If you can, please post the output of that command just before 
rabbit dies. Meanwhile I've filed a bug to make our parsing code more 
robust.


Matthias.



More information about the rabbitmq-discuss mailing list