Attempt to read after the end of file when nbackup state is stalled -------------------------------------------------------------------
Key: CORE-3468 URL: http://tracker.firebirdsql.org/browse/CORE-3468 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 2.1.4, 2.5.0, 2.0.6, 2.1.3, 2.1.2, 2.0.5, 2.1.1, 2.0.4, 2.1.0 Environment: SuperServer Reporter: Vlad Khorsun When relation is extended new page is allocated (and faked) and passed into DPM\extend_relation() function. Then it is released, and free slot on some pointer page is searched. When free slot is found just allocated page is fetched again and linked into pointer page. When nbackup state is stalled database file pre-allocation feature is disabled to left database file in consistent state while it is copied for backup purpose. Therefore new pages could be allocated after end of database file. As all new pages will be written into delta and later merged back into database file this is OK. The issue is that new data page buffer could be evicted from page cache after it was released at the start of extend_relation(). When page is fetched again it should be read from disk. In stalled state page first reads from delta. Delta have preallocated space and read succeeds. As page was never written its image contains zero's only. In this case attempt to read page from database file is performed. Here we have IO read error : attempt to read after the end of file. -- 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 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel