Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating Firebird 2.5.2 to 3.0.1 gbak restore crashes at the end always [CORE5456] #5727

Closed
firebird-issue-importer opened this issue Jan 17, 2017 · 18 comments

Comments

@firebird-issue-importer

Submitted by: erkankurtaga (erkankurtaga)

Attachments:
29122016_171826.zip

When Migrating Firebird 2.5.2 to 3.0.1 gbak restore crashes at the end always. We use Delphi XE4 and over and our database components IBSQL and Firedac, I tried restore with command prompt, components restore api and IBExpert restore at its editor manually. Always the same error :

gbak:creating indexes
gbak:committing metadata
gbak:fixing views dbkey length
gbak:updating ownership of packages, procedures and tables
gbak:adding missing privileges
gbak:fixing system generators
IBE: Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements.
Error reading data from the connection.

Commits: 5dd8daf 214921b 3e15291 cebbbf5 2cb8c9c 37e2aa3 7539585 e8dd0b1

====== Test Details ======

Restoring process takes about 1 minute (too long).
After discuss with dimitr it was decided to try another method, without using supplied .fbk
Waiting for sketch / suggestion from dimitr, letter: 10-feb-2016 11:16

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 17, 2017

Modified by: erkankurtaga (erkankurtaga)

Version: 3.0.1 [ 10730 ]

Version: 2.5.2 [ 10450 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 17, 2017

Commented by: @dyemanov

Did you try restoring with any recent v3.0.2 snapshot build?

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 17, 2017

Commented by: erkankurtaga (erkankurtaga)

No, I didn't try. I setup the recent v3.0.2 snapshot build, but user adding to firebird very difficult . I use "gsec -add SYSDBA -pass masterkey" command but gsec gives error like that :

use gsec -? to get help
Your user name and password are not defined. Ask your database administrator to
set up a Firebird login.
unable to open database

Because of this ı didn't try. Sorry

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 17, 2017

Commented by: erkankurtaga (erkankurtaga)

I could create SYSDBA and tried restore with 3.0.2 snapshot. Result is the same. We couldn't restore database !

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 17, 2017

Commented by: erkankurtaga (erkankurtaga)

Here is the gbak restore with command at the end Windows 7 Pro error:

Problem Event Name: APPCRASH
Application Name: gbak.exe
Application Version: 3.0.1.32609
Application Time Stamp: 57ea2882
Error Module Name: Engine12.DLL
Error Module Version: 3.0.1.32609
Error Module Time Stamp: 57ea2830
Exception Status Code: c0000005
Exception Status: 000d4db4
OS Version: 6.1.7601.2.1.0.256.1
Local ID: 1055
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Further Information 4: 0a9e372d3b4ad19135b953a78882e789

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2017

Commented by: erkankurtaga (erkankurtaga)

Anyone else who answer me, please...

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2017

Commented by: @dyemanov

Please also try metadata only restore (-m switch) - whether it crashes or not. And main question: can you provide your backup to FB developers in order to fix the issue?

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2017

Commented by: erkankurtaga (erkankurtaga)

Metadata Restore has the same error. FBK is at the attachment.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2017

Modified by: erkankurtaga (erkankurtaga)

Attachment: 29122016_171826.zip [ 13058 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2017

Commented by: @dyemanov

Confirmed.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2017

Commented by: @hvlad

Looks like CORE5457: same assert in CMP_format() at debug build.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2017

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 20, 2017

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0.2 [ 10785 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 20, 2017

Commented by: erkankurtaga (erkankurtaga)

I tried new snapshot but the problem is continue:

Problem Event Name: APPCRASH
   Application Name: gbak.exe
   Application Version: 3.0.2.32672
   Application Time Stamp: 58819ccf
   Error Module Name: Engine12.DLL
   Error Module Version: 3.0.2.32672
   Error Module Time Stamp: 58819c87
   Exception Status Code: c0000005
   Exception Status: 000d5534
   OS Version: 6.1.7601.2.1.0.256.1
   Local ID: 1055
   Additional Information 1: 0a9e
   Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
   Additional Information 3: 0a9e
   Further Information 4: 0a9e372d3b4ad19135b953a78882e789

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 20, 2017

Commented by: @dyemanov

Snapshot containing the bugfix will be available tomorrow.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 9, 2017

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Deferred

Test Details: Waiting for reply on letter to dimitr, 09-feb-2017 22:13

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 9, 2017

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

Test Details: Waiting for reply on letter to dimitr, 09-feb-2017 22:13 => Waiting for reply on letter to dimitr, 09-feb-2017 23:13

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 10, 2017

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

Test Details: Waiting for reply on letter to dimitr, 09-feb-2017 23:13 => Restoring process takes about 1 minute (too long).
After discuss with dimitr it was decided to try another method, without using supplied .fbk
Waiting for sketch / suggestion from dimitr, letter: 10-feb-2016 11:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants