[wp-trac] [WordPress Trac] #47186: At least one function in /wp-includes/sodium_compat/src/Core32 times out on 32 bit servers

WordPress Trac noreply at wordpress.org
Wed May 8 16:41:19 UTC 2019


#47186: At least one function in /wp-includes/sodium_compat/src/Core32 times out on
32 bit servers
----------------------------+-----------------------------
 Reporter:  lovingboth      |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 The sodium_compat library was added in 5.2

 When attempting to update themes in WP 5.2 on a 32-bit Debian Stretch
 server (uses PHP 7.0.33) the process fails with errors like the following
 in the Apache error log:

 [Wed May 08 14:55:36.159261 2019] [proxy_fcgi:error] [pid 27002:tid
 2923363136] [client 1.2.3.4:54280] AH01071: Got error 'PHP message: PHP
 Fatal error:  Maximum execution time of 30 seconds exceeded in
 /home/user/public_html/example/wp-
 includes/sodium_compat/src/Core32/Int64.php on line 274\n', referer:
 https://example.com/wp-admin/update-core.php?action=do-theme-upgrade

 That's at the end of the function to multiply two 64-bit integers, and
 seems to be wanted by the Poly1305/State.php, X25519.php and
 Curve25519.php files.

 Whatever it's doing, it's not working correctly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47186>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list