[erlang-bugs] crash in ssl_session:valid_session/2

Attila Rajmund Nohl <>
Mon Feb 27 20:47:34 CET 2012


2012/2/27, Stefan Grundmann <>:
> environment: R14B04
>
> description:
>
> the ssl session cache validation process (spawned every minute by the
> ssl_manager process) will crash and log:
>
> Error in process <0.1107.0> on node '' with exit value:
> {badarith,[{ssl_session,valid_session,2},{ssl_manager,validate_session,3},{ssl_manager,session_validation,2},{lists,foldl,3},{ets,do_foldl,4},{ets,foldl,3}]}
>
> if #session.time_stamp is 'undefined' for an entry in the
> ssl_otp_session_cache table.
>
> such entries will exist (shortly) in the ssl_opt_session_cache table if
> a handshake failed with
>
>  SSL: certify: ./ssl_connection.erl:1646:Fatal error: bad certificate
> or
>  SSL: certify: ./ssl_connection.erl:1646:Fatal error: unknown ca
> and possibly others.

I think this was fixed in R15B.


More information about the erlang-bugs mailing list