[erlang-bugs] missing function clause in ssl_connection:handle_alert

Sergey Shilov <>
Thu Aug 2 09:09:32 CEST 2012


On Aug 2, 2012, at 1:35 AM, Matthias Radestock wrote:

> We got the following process crash report from a user running R15B01 (trimmed somewhat to hide private key material):
> 
> =CRASH REPORT==== 31-Jul-2012::11:49:27 ===
>  crasher:
>    initial call: ssl_connection:init/1
>    pid: <0.2005.0>
>    registered_name: []
>    exception exit: {function_clause,
>                     [{ssl_connection,handle_alert,
>                       [{alert,1,41,{"ssl_connection.erl",1678}},
>                        certify,
>                        {state,server,
>                         {#Ref<0.0.0.3519>,<0.2004.0>},
>                         gen_tcp,tcp,tcp_closed,tcp_error,"localhost",5673,
>                         #Port<0.6927>,
>                         {ssl_options,[],verify_peer,
>                          {#Fun<ssl.3.54384637>,
>                           #Fun<rabbit_networking.0.89858908>},
>                          false,false,undefined,1,
>                          "C:/certstore/server/cert.pem",undefined,


The problem is old and (probably) well-known

http://erlang.2086793.n4.nabble.com/ssl-connection-crash-on-client-connect-w-o-certificte-tt3570411.html#none

A possible solution included

-------------- next part --------------
A non-text attachment was scrubbed...
Name: otp-R15B-1c-ssl_crash_on_no_certificate.patch
Type: application/octet-stream
Size: 1830 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20120802/46212e9c/attachment.obj>
-------------- next part --------------



Regards,

Sergey.

http://packages.altlinux.org/en/Sisyphus/srpms/erlang


More information about the erlang-bugs mailing list