Decompression overran buffer after rollback [CORE5422] #2082
Submitted by: prenosil (prenosil)
I copied test from CORE5420 with some minor changes (adding primary key is removed because it is unnecessary, and force write is set ON (in my tests on FB2.5.6 i can''t reproduce the crash with FW OFF).
shell del E:\TEMP\Test.fdb 2>nul;
connect 'localhost:E:\TEMP\Test.fdb' no garbage_collect;
create domain dm_longutf as varchar(8000) character set utf8;
set echo on;
set term ^;
alter table test add b dm_longutf default '' not null;
update test set a=2;
set list on;
====== Test Details ======
Bug is 100% reproduced on 22.214.171.124030 (18-dec-2016), fixed on 27038.
The text was updated successfully, but these errors were encountered:
Commented by: @dyemanov
Ivan, just FYI: CORE5392 was a regression, the problematic code does not exist in v2.x. So it seems that v2.5 also has races with background GC thread that can lead to the same issue, but the reason is somewhat different (although possibly related). Thus so far I doubt it's fixed by the patch for CORE5392, maybe it's just hidden in v3 now.
BTW, is the "Enviroment" ticket field really correct? Based on your description, it should rather contain "GC set to Mixed / Background".
Commented by: @hvlad
Looking at bug nature and a patch (just committed into B2_5_Release) i'd say it is very old.
Modified by: @hvlad
Version: 3.0.1 [ 10730 ]
Version: 3.0.0 [ 10740 ]
Version: 4.0 Initial [ 10621 ]
Version: 2.5.5 [ 10670 ]
Version: 2.5.4 [ 10585 ]
Version: 2.5.3 Update 1 [ 10650 ]
Version: 2.1.7 [ 10651 ]
Version: 2.5.3 [ 10461 ]
Version: 2.5.2 Update 1 [ 10521 ]
Version: 2.5.2 [ 10450 ]
Version: 2.5.1 [ 10333 ]
Version: 2.5.0 [ 10221 ]
Fix Version: 3.0.2 [ 10785 ]
Fix Version: 4.0 Alpha 1 [ 10731 ]
Fix Version: 2.5.7 [ 10770 ]
Modified by: @pavel-zotov
status: Resolved [ 5 ] => Resolved [ 5 ]
QA Status: No test => Covered by another test(s)
Test Details: Bug is 100% reproduced on 126.96.36.199030 (18-dec-2016), fixed on 27038.
Test Specifics: [Architecture (SS/CS) specific]