Server crashes on overflow of division result ---------------------------------------------
Key: CORE-6345 URL: http://tracker.firebirdsql.org/browse/CORE-6345 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 4.0 Beta 2 Environment: ISQL Version: WI-V4.0.0.2076 Firebird 4.0 Release Candidate 1 Server version: Firebird/Windows/AMD/Intel/x64 (access method), version "WI-V4.0.0.2076 Firebird 4.0 Release Candidate 1" Firebird/Windows/AMD/Intel/x64 (remote server), version "WI-V4.0.0.2076 Firebird 4.0 Release Candidate 1/tcp (DESKTOP-E3INAFT)/P16:C" Firebird/Windows/AMD/Intel/x64 (remote interface), version "WI-V4.0.0.2076 Firebird 4.0 Release Candidate 1/tcp (DESKTOP-E3INAFT)/P16:C" on disk structure version 13.0 Reporter: Simonov Denis Server crashes on overflow of division result SQL> select -922337203685477.5808/-1.0 from rdb$database; DIVIDE ============================================= Statement failed, SQLSTATE = 08006 Error reading data from the connection. firebird.log contains the following error entry DESKTOP-E3INAFT Thu Jun 25 19:27:24 2020 Interger overflow. The result of an integer operation caused the most significant bit of the result to carry. This exception will cause the Firebird server to terminate abnormally. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel