Segmentation fault in crypto:dh_generate_key R13B4

Max Lapshin <>
Mon Jul 5 22:36:11 CEST 2010

Erlang R13B4, OS X 10.6, erlang build from homebrew

otool -L /usr/local/lib/erlang/lib/crypto-1.6.4/priv/lib/
	/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current
version 0.9.8)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.0.0)

Starting attached file leads to Segmentation Fault:

maxbp:erlyvideo max$ ./dh_check.erl
Segmentation fault

What should I do more to fix this problem?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh_check.erl
Type: application/octet-stream
Size: 1255 bytes
Desc: not available
URL: <>

More information about the erlang-questions mailing list