Issue Details (XML | Word | Printable)

Key: CORE-5760
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Andrei Kireev
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Server process crashes while restoring database

Created: 26/Feb/18 04:42 PM   Updated: 28/Feb/18 08:24 AM
Component/s: Engine
Affects Version/s: 3.0.4
Fix Version/s: 3.0.4, 4.0 Beta 1

Environment: Windows Server 2016

QA Status: Cannot be tested


 Description  « Hide
Server process crashes while restoring database. Huge page buffer 20 000 000 * 8 192 = 163 Gb was used. Also 64 Gb where allocated for temp cache.

Firebird 3.0.4.32920 64 bit.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vlad Khorsun added a comment - 26/Feb/18 04:49 PM
The crash call stack

 # Call Site
00 ntdll!NtWaitForMultipleObjects+0x14
01 KERNELBASE!WaitForMultipleObjectsEx+0xef
02 KERNELBASE!WaitForMultipleObjects+0xe
03 kernel32!BasepReportFault+0x58c
04 kernel32!BasepReportFault+0xa3
05 KERNELBASE!UnhandledExceptionFilter+0x23b
06 ntdll!memset+0x239b
07 ntdll!_C_specific_handler+0x96
08 ntdll!_chkstk+0x11d
09 ntdll!RtlImageNtHeaderEx+0x483
0a ntdll!KiUserExceptionDispatcher+0x3a
0b engine12!flushPages+0x1da [c:\snapshots\firebird\src\jrd\cch.cpp @ 2629]
0c engine12!flushAll+0x243 [c:\snapshots\firebird\src\jrd\cch.cpp @ 2583]
0d engine12!CCH_flush+0x88 [c:\snapshots\firebird\src\jrd\cch.cpp @ 1015]
0e engine12!fast_load+0x1db3 [c:\snapshots\firebird\src\jrd\btr.cpp @ 3977]
0f engine12!BTR_create+0x45 [c:\snapshots\firebird\src\jrd\btr.cpp @ 402]
10 engine12!IDX_create_index+0x1097 [c:\snapshots\firebird\src\jrd\idx.cpp @ 514]
11 engine12!create_index+0x137b [c:\snapshots\firebird\gen\jrd\dfw.cpp @ 7510]
12 engine12!modify_index+0xc6 [c:\snapshots\firebird\gen\jrd\dfw.cpp @ 7016]
13 engine12!DFW_perform_work+0x17e [c:\snapshots\firebird\gen\jrd\dfw.cpp @ 4787]
14 engine12!TRA_commit+0x195 [c:\snapshots\firebird\src\jrd\tra.cpp @ 380]

Vlad Khorsun added a comment - 26/Feb/18 04:58 PM
The bug was introduced with patch for CORE-5660