Skip to content

Segfault when opening damaged (last TIP is missing in RDB$PAGES, user's FW was OFF) database #8039

@AlexPeshkoff

Description

@AlexPeshkoff

When required TIP is not found by DPM_scan_pages() it's force-loaded by inventory_page() function but if that happens before TPC initialization is complete an attempt to compile request in DPM_pages() leads to segfault when getting attachment's ID from that cache.

Stack trace:
stack.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions