Patch package OTP 22.1 released

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Patch package OTP 22.1 released

Henrik Nord X
Erlang/OTP 22.1 is the first service release for the 22 major release with new features, improvements as well as bugfixes


Potential Incompatibilities

  • Mnesia: Transactions with sticky locks could with async_asym transactions be committed in the wrong order, since asym transactions are spawned on the remote nodes. To fix this bug the communication protocol between mnesia nodes had to be updated, thus mnesia will no longer be able to connect to nodes earlier than mnesia-4.14 , OTP-19.0.
  • Stdlib: Debugging of time-outs in gen_statem has been improved. Starting a time-out is now logged in sys:log and sys:trace. Running time-outs are visible in server crash logs, and with sys:get_status. Due to this system events {start_timer, Action, State} and {insert_timout, Event, State} have been added, which may surprise tools that rely on the format of these events. New features: The EventContent of a running time-out can be updated with {TimeoutType, update, NewEventContent}. Running time-outs can be cancelled with {TimeoutType, cancel} which is more readable than using Time = infinity.{rel, Name, Vsn, RelApps, Opts}.

Highlights


Compiler:

  • erlc can now automatically use a compile server to avoid starting an Erlang system for each file to be compiled in a multi-file project. See the documentation for how to enable it.

Standard libraries:

  • SSL: Basic support for TLS 1.3 Client for experimental use. For more information see the Standards Compliance chapter of the User's Guide.
  • crypto: The Message Authentication Codes (MAC) CMAC, HMAC and Poly1305 are unified into common functions in the New Crypto API. See the manual for CRYPTO. cipher_info/1 functions returns maps with information about the hash or cipher in the argument.


For more details see
http://erlang.org/download/otp_src_22.1.readme

Pre built versions for Windows can be fetched here:
http://erlang.org/download/otp_win32_22.1.exe
http://erlang.org/download/otp_win64_22.1.exe

Online documentation can be browsed here:
http://erlang.org/doc/search/

The source tarball can be fetched here:

http://erlang.org/download/otp_src_22.1.tar.gz

The documentation can be fetched here:

http://erlang.org/download/otp_doc_html_22.1.tar.gz

The man pages can be fetched here:

http://erlang.org/download/otp_doc_man_22.1.tar.gz

The Erlang/OTP source can also be found at GitHub on the official Erlang repository:

https://github.com/erlang/otp

OTP-22.1


Thank you for all your contributions!


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Frank Muller
Anything changed regarding wx (wxmac 3.0.4 from brew) on macOS 10.13.6 with this release?


Checking out Erlang/OTP git repository from https://github.com/erlang/otp.git...
Building Erlang/OTP 22.1 from git, please wait...
APPLICATIONS DISABLED (See: /Users/frankm/.kerl/builds/22.1/otp_build_git.log)
 * debugger       : User gave --without-debugger option

DOCUMENTATION INFORMATION (See: /Users/frankm/.kerl/builds/22.1/otp_build_git.log)
 * documentation  :
 *                  fop is missing.
 *                  Using fakefop to generate placeholder PDF files.

Build failed.
  "_ei_x_new", referenced from:
      _main in erl_call-cda0e1.o
  "_ei_x_new_with_version", referenced from:
      _main in erl_call-cda0e1.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/frankm/.kerl/builds/22.1/otp_src_git/lib/erl_interface/bin/x86_64-apple-darwin17.7.0/erl_call] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [build_erl_interface] Error 2


22.0.7 compiled perfectly?

/Frank 

Erlang/OTP 22.1 is the first service release for the 22 major release with new features, improvements as well as bugfixes


Potential Incompatibilities

  • Mnesia: Transactions with sticky locks could with async_asym transactions be committed in the wrong order, since asym transactions are spawned on the remote nodes. To fix this bug the communication protocol between mnesia nodes had to be updated, thus mnesia will no longer be able to connect to nodes earlier than mnesia-4.14 , OTP-19.0.
  • Stdlib: Debugging of time-outs in gen_statem has been improved. Starting a time-out is now logged in sys:log and sys:trace. Running time-outs are visible in server crash logs, and with sys:get_status. Due to this system events {start_timer, Action, State} and {insert_timout, Event, State} have been added, which may surprise tools that rely on the format of these events. New features: The EventContent of a running time-out can be updated with {TimeoutType, update, NewEventContent}. Running time-outs can be cancelled with {TimeoutType, cancel} which is more readable than using Time = infinity.{rel, Name, Vsn, RelApps, Opts}.

Highlights


Compiler:

  • erlc can now automatically use a compile server to avoid starting an Erlang system for each file to be compiled in a multi-file project. See the documentation for how to enable it.

Standard libraries:

  • SSL: Basic support for TLS 1.3 Client for experimental use. For more information see the Standards Compliance chapter of the User's Guide.
  • crypto: The Message Authentication Codes (MAC) CMAC, HMAC and Poly1305 are unified into common functions in the New Crypto API. See the manual for CRYPTO. cipher_info/1 functions returns maps with information about the hash or cipher in the argument.


For more details see
http://erlang.org/download/otp_src_22.1.readme

Pre built versions for Windows can be fetched here:
http://erlang.org/download/otp_win32_22.1.exe
http://erlang.org/download/otp_win64_22.1.exe

Online documentation can be browsed here:
http://erlang.org/doc/search/

The source tarball can be fetched here:

http://erlang.org/download/otp_src_22.1.tar.gz

The documentation can be fetched here:

http://erlang.org/download/otp_doc_html_22.1.tar.gz

The man pages can be fetched here:

http://erlang.org/download/otp_doc_man_22.1.tar.gz

The Erlang/OTP source can also be found at GitHub on the official Erlang repository:

https://github.com/erlang/otp

OTP-22.1


Thank you for all your contributions!

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Max Lapshin-2
Cannot compile flussonic with 22.1



_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Sam Overdorf
I just tried 22.1 today.
My program uses the ftp client.
It gets stuck and consumes all of my memory while trying to execute
the following command.
  User = ftp:user(Pid, "ftp", ""),
I have to control-c to stop it.
At his point all of the memory comes back.
I have been having this problem since "21,3".

Thanks,
Sam Overdorf
[hidden email]




On Sat, Sep 21, 2019 at 9:06 AM Max Lapshin <[hidden email]> wrote:
>
> Cannot compile flussonic with 22.1
>
> https://bugs.erlang.org/browse/ERL-1050
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Ingela Andin
Hi!


And please include more details about the what FTP server you are trying to connect too.  Reproducible bugs are much easier to find and fix.

Regards Ingela - Erlang/OTP team - Ericsson AB

Den sön 22 sep. 2019 kl 01:06 skrev Sam Overdorf <[hidden email]>:
I just tried 22.1 today.
My program uses the ftp client.
It gets stuck and consumes all of my memory while trying to execute
the following command.
  User = ftp:user(Pid, "ftp", ""),
I have to control-c to stop it.
At his point all of the memory comes back.
I have been having this problem since "21,3".

Thanks,
Sam Overdorf
[hidden email]




On Sat, Sep 21, 2019 at 9:06 AM Max Lapshin <[hidden email]> wrote:
>
> Cannot compile flussonic with 22.1
>
> https://bugs.erlang.org/browse/ERL-1050
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Sam Overdorf
I looked in the debug info and I am seeing the ftp hang bug in all
versions of OTP since 21.3. ERL-909.




On Mon, Sep 23, 2019 at 1:48 AM Ingela Andin <[hidden email]> wrote:

>
> Hi!
>
> Please report bugs here: https://bugs.erlang.org/secure/Dashboard.jspa
>
> And please include more details about the what FTP server you are trying to connect too.  Reproducible bugs are much easier to find and fix.
>
> Regards Ingela - Erlang/OTP team - Ericsson AB
>
> Den sön 22 sep. 2019 kl 01:06 skrev Sam Overdorf <[hidden email]>:
>>
>> I just tried 22.1 today.
>> My program uses the ftp client.
>> It gets stuck and consumes all of my memory while trying to execute
>> the following command.
>>   User = ftp:user(Pid, "ftp", ""),
>> I have to control-c to stop it.
>> At his point all of the memory comes back.
>> I have been having this problem since "21,3".
>>
>> Thanks,
>> Sam Overdorf
>> [hidden email]
>>
>>
>>
>>
>> On Sat, Sep 21, 2019 at 9:06 AM Max Lapshin <[hidden email]> wrote:
>> >
>> > Cannot compile flussonic with 22.1
>> >
>> > https://bugs.erlang.org/browse/ERL-1050
>> >
>> > _______________________________________________
>> > erlang-questions mailing list
>> > [hidden email]
>> > http://erlang.org/mailman/listinfo/erlang-questions
>> _______________________________________________
>> erlang-questions mailing list
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Sam Overdorf
I am connecting to "ftp.freebsd.org".
Some times it works sometimes it does not work.
OTP-21.2 seems to work just fine.

Thanks,
Sam
[hidden email]




On Mon, Sep 23, 2019 at 3:16 PM Sam Overdorf <[hidden email]> wrote:

>
> I looked in the debug info and I am seeing the ftp hang bug in all
> versions of OTP since 21.3. ERL-909.
>
>
>
>
> On Mon, Sep 23, 2019 at 1:48 AM Ingela Andin <[hidden email]> wrote:
> >
> > Hi!
> >
> > Please report bugs here: https://bugs.erlang.org/secure/Dashboard.jspa
> >
> > And please include more details about the what FTP server you are trying to connect too.  Reproducible bugs are much easier to find and fix.
> >
> > Regards Ingela - Erlang/OTP team - Ericsson AB
> >
> > Den sön 22 sep. 2019 kl 01:06 skrev Sam Overdorf <[hidden email]>:
> >>
> >> I just tried 22.1 today.
> >> My program uses the ftp client.
> >> It gets stuck and consumes all of my memory while trying to execute
> >> the following command.
> >>   User = ftp:user(Pid, "ftp", ""),
> >> I have to control-c to stop it.
> >> At his point all of the memory comes back.
> >> I have been having this problem since "21,3".
> >>
> >> Thanks,
> >> Sam Overdorf
> >> [hidden email]
> >>
> >>
> >>
> >>
> >> On Sat, Sep 21, 2019 at 9:06 AM Max Lapshin <[hidden email]> wrote:
> >> >
> >> > Cannot compile flussonic with 22.1
> >> >
> >> > https://bugs.erlang.org/browse/ERL-1050
> >> >
> >> > _______________________________________________
> >> > erlang-questions mailing list
> >> > [hidden email]
> >> > http://erlang.org/mailman/listinfo/erlang-questions
> >> _______________________________________________
> >> erlang-questions mailing list
> >> [hidden email]
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >
> > _______________________________________________
> > erlang-questions mailing list
> > [hidden email]
> > http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Sam Overdorf
I forgot to mention that I am using Windows-7 64bit.

Sam




On Mon, Sep 23, 2019 at 3:19 PM Sam Overdorf <[hidden email]> wrote:

>
> I am connecting to "ftp.freebsd.org".
> Some times it works sometimes it does not work.
> OTP-21.2 seems to work just fine.
>
> Thanks,
> Sam
> [hidden email]
>
>
>
>
> On Mon, Sep 23, 2019 at 3:16 PM Sam Overdorf <[hidden email]> wrote:
> >
> > I looked in the debug info and I am seeing the ftp hang bug in all
> > versions of OTP since 21.3. ERL-909.
> >
> >
> >
> >
> > On Mon, Sep 23, 2019 at 1:48 AM Ingela Andin <[hidden email]> wrote:
> > >
> > > Hi!
> > >
> > > Please report bugs here: https://bugs.erlang.org/secure/Dashboard.jspa
> > >
> > > And please include more details about the what FTP server you are trying to connect too.  Reproducible bugs are much easier to find and fix.
> > >
> > > Regards Ingela - Erlang/OTP team - Ericsson AB
> > >
> > > Den sön 22 sep. 2019 kl 01:06 skrev Sam Overdorf <[hidden email]>:
> > >>
> > >> I just tried 22.1 today.
> > >> My program uses the ftp client.
> > >> It gets stuck and consumes all of my memory while trying to execute
> > >> the following command.
> > >>   User = ftp:user(Pid, "ftp", ""),
> > >> I have to control-c to stop it.
> > >> At his point all of the memory comes back.
> > >> I have been having this problem since "21,3".
> > >>
> > >> Thanks,
> > >> Sam Overdorf
> > >> [hidden email]
> > >>
> > >>
> > >>
> > >>
> > >> On Sat, Sep 21, 2019 at 9:06 AM Max Lapshin <[hidden email]> wrote:
> > >> >
> > >> > Cannot compile flussonic with 22.1
> > >> >
> > >> > https://bugs.erlang.org/browse/ERL-1050
> > >> >
> > >> > _______________________________________________
> > >> > erlang-questions mailing list
> > >> > [hidden email]
> > >> > http://erlang.org/mailman/listinfo/erlang-questions
> > >> _______________________________________________
> > >> erlang-questions mailing list
> > >> [hidden email]
> > >> http://erlang.org/mailman/listinfo/erlang-questions
> > >
> > > _______________________________________________
> > > erlang-questions mailing list
> > > [hidden email]
> > > http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Patch package OTP 22.1 released

Hans Nilsson R (AL/EAB)
In reply to this post by Sam Overdorf
That hanging bug should have been fixed in OTP-22.1.

Please file a bug report in https://bugs.erlang.org/secure/Dashboard.jspa so we can start to handle it. Or fix it yourself and do a Pull Request in github.com/otp/erlang 🙂

Regards,Hans Nilsson
Erlang/OTP Team, Ericsson AB

Från: [hidden email] <[hidden email]> för Sam Overdorf <[hidden email]>
Skickat: den 24 september 2019 00:16
Till: Ingela Andin <[hidden email]>
Kopia: Erlang-Questions Questions <[hidden email]>
Ämne: Re: [erlang-questions] Patch package OTP 22.1 released
 
I looked in the debug info and I am seeing the ftp hang bug in all
versions of OTP since 21.3. ERL-909.




On Mon, Sep 23, 2019 at 1:48 AM Ingela Andin <[hidden email]> wrote:
>
> Hi!
>
> Please report bugs here: https://protect2.fireeye.com/url?k=c39c1e8e-9f15b114-c39c5e15-0cc47ad93e74-ecabdc8c7f3dfc9c&q=1&u=https%3A%2F%2Fbugs.erlang.org%2Fsecure%2FDashboard.jspa
>
> And please include more details about the what FTP server you are trying to connect too.  Reproducible bugs are much easier to find and fix.
>
> Regards Ingela - Erlang/OTP team - Ericsson AB
>
> Den sön 22 sep. 2019 kl 01:06 skrev Sam Overdorf <[hidden email]>:
>>
>> I just tried 22.1 today.
>> My program uses the ftp client.
>> It gets stuck and consumes all of my memory while trying to execute
>> the following command.
>>   User = ftp:user(Pid, "ftp", ""),
>> I have to control-c to stop it.
>> At his point all of the memory comes back.
>> I have been having this problem since "21,3".
>>
>> Thanks,
>> Sam Overdorf
>> [hidden email]
>>
>>
>>
>>
>> On Sat, Sep 21, 2019 at 9:06 AM Max Lapshin <[hidden email]> wrote:
>> >
>> > Cannot compile flussonic with 22.1
>> >
>> > https://protect2.fireeye.com/url?k=ecea006f-b063aff5-ecea40f4-0cc47ad93e74-c1ce7cb27875658a&q=1&u=https%3A%2F%2Fbugs.erlang.org%2Fbrowse%2FERL-1050
>> >
>> > _______________________________________________
>> > erlang-questions mailing list
>> > [hidden email]
>> > https://protect2.fireeye.com/url?k=a7ef900b-fb663f91-a7efd090-0cc47ad93e74-280ffeb4f54ae6e3&q=1&u=http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions
>> _______________________________________________
>> erlang-questions mailing list
>> [hidden email]
>> https://protect2.fireeye.com/url?k=ef7e7259-b3f7ddc3-ef7e32c2-0cc47ad93e74-8c929a7d0a01b6d7&q=1&u=http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> https://protect2.fireeye.com/url?k=f7cf6d98-ab46c202-f7cf2d03-0cc47ad93e74-d04f61fa4c5fc5c6&q=1&u=http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
https://protect2.fireeye.com/url?k=81c8be10-dd41118a-81c8fe8b-0cc47ad93e74-00ada7c14abbd53c&q=1&u=http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions