Error restoring on FB 3.0 from FB 2.5: error parsing procedure/consistence 
check 
---------------------------------------------------------------------------------

                 Key: CORE-5414
                 URL: http://tracker.firebirdsql.org/browse/CORE-5414
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0.1
         Environment: backup was made on linux Debian 7 (kernel 3.2.0-4-amd64; 
glibc 2.13.38) under a FB 2.5.4.26856, in transportable mode. trying to restore 
on ubuntu 16.10 (kernel 4.4.0-45-generic x86_64; glibc 2.23) under a FB 
3.0.1.32609.
            Reporter: Cristiano Ferrari


I'm trying to restore a FB 2.5.4 backup (transportable) on a FB 3.0.1 and 
having this error:

gbak:  0.004 committing metadata
gbak: ERROR:Error while parsing procedure FZ_ESTOQUECONSOLIDADO's BLR
gbak: ERROR:    Error while parsing procedure LISTASALDOSECUSTOS2's BLR
gbak: ERROR:    internal Firebird consistency check ((CMP) copy: cannot remap 
(221), file: RecordSourceNodes.cpp line: 594)
gbak:Exiting before completion due to errors
gbak: ERROR:internal Firebird consistency check (can't continue after bugcheck)

I've tried to run gbak -C with -n and -m (and both) options and this error 
remain. Many procedures call UDFs from two 3rd part librarys: cpf_udf.so,  
rfunc.so,  tbudf.so, all of then compiled for 64 bits.

I already tried to change the owner for UDF folder (and all files inside it) to 
firebird:firebird.

The full source code for this SPs and the UDFs librarys is here: 
https://drive.google.com/drive/folders/0BxCWYNjpA1-SRll4QjZuOThWdzQ?usp=sharing

 

-- 
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

        

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to