Submitted by: @pavel-zotov
Duplicates CORE395
Attachments:
eval-too-long-expr-leads-fb-to-crash.7z
There is completely pointless expression like this:
select x+x+ ... repeated lot of times ... + x+x
from (
select cast(1. as double precision) / cast(5. as double precision) as x from rdb$database
);
After number of terms ('x') in this expression will achieve ~20'037 FB will crash.
First will 'give up' Classic, then SuperServer.
Checked on:
WI-T4.0.0.1714 Cs
WI-T4.0.0.1715 SS
WI-V3.0.5.33221 - CS and SS
Dumps and stack traces can be found here:
https://drive.google.com/open?id=1GMhYG3hIoKYonSmxGoKtXMw-6QowzFmj
Expressions (two .sql scripts, they differs only in one term which causes crash in 3.0 CS; see that link) are in file:
eval-too-long-expr-leads-fb-to-crash.7z (see also attach to this ticket)
Submitted by: @pavel-zotov
Duplicates CORE395
Attachments:
eval-too-long-expr-leads-fb-to-crash.7z
There is completely pointless expression like this:
select x+x+ ... repeated lot of times ... + x+x
from (
select cast(1. as double precision) / cast(5. as double precision) as x from rdb$database
);
After number of terms ('x') in this expression will achieve ~20'037 FB will crash.
First will 'give up' Classic, then SuperServer.
Checked on:
WI-T4.0.0.1714 Cs
WI-T4.0.0.1715 SS
WI-V3.0.5.33221 - CS and SS
Dumps and stack traces can be found here:
https://drive.google.com/open?id=1GMhYG3hIoKYonSmxGoKtXMw-6QowzFmj
Expressions (two .sql scripts, they differs only in one term which causes crash in 3.0 CS; see that link) are in file:
eval-too-long-expr-leads-fb-to-crash.7z (see also attach to this ticket)