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

Crash for "gbak -se -b database nul" [CORE5939] #6195

Closed
firebird-automations opened this issue Oct 10, 2018 · 7 comments
Closed

Crash for "gbak -se -b database nul" [CORE5939] #6195

firebird-automations opened this issue Oct 10, 2018 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Basil A. Sidorov (basid)

For some test I use nul device as target for backup:
gbak -b host/port:alias nul

It's work fine:
--
2.5.8\bin\gbak -z -b -g -e -st tdwr -v -y .log localhost/12580:employee nul
--
gbak:gbak version WI-V2.5.8.27089 Firebird 2.5
gbak: Version(s) for database "localhost/12580:employee"
Firebird/x86-64/Windows NT (access method), version "WI-V2.5.8.27089 Firebird 2.5"
Firebird/x86-64/Windows NT (remote server), version "WI-V2.5.8.27089 Firebird 2.5/tcp (basid)/P12"
Firebird/x86-64/Windows NT (remote interface), version "WI-V2.5.8.27089 Firebird 2.5/tcp (basid)/P12"
on disk structure version 11.2
gbak: time delta reads writes
gbak: 0.026 0.026 43 0 readied database localhost/12580:employee for backup
gbak: 0.026 0.000 0 0 creating file nul
gbak: 0.026 0.000 0 0 starting transaction
gbak: 0.029 0.002 14 1 database localhost/12580:employee has a page size of 4096 bytes.
...
gbak: 0.136 0.000 0 0 closing file, committing, and finishing. 83968 bytes written
gbak: 0.137 0.000 169 2 total statistics
--

It will crash on gbak 2.5.8 if I add -se option:
--
2.5.8\bin\gbak -z -b -g -e -st tdwr -v -y .log localhost/12580:employee nul -se
--
gbak: ERROR:service name parameter missing
gbak:Exiting before completion due to errors
--
Fault app: gbak.exe, version: 2.5.8.27089, timestamp: 0x5a4f41f1
Fault module: KERNELBASE.dll, версия: 6.1.7601.24231, timestamp 0x5b6db5dd
Exception code: 0xe06d7363
Error offset: 0x000000000001a06d
PID: 0x108c
Run timestamp: 0x01d460d4d7fb0b57
Fault app path: C:\Program Files\FB\2.5.8\bin\gbak.exe
Fault module path: C:\Windows\system32\KERNELBASE.dll
Report code: 1677c72a-ccc8-11e8-8c71-1c1b0d4b372c
gbak.exe
2.5.8.27089
5a4f41f1
KERNELBASE.dll
6.1.7601.24231
5b6db5dd
e06d7363
000000000001a06d
108c
01d460d4d7fb0b57
C:\Program Files\FB\2.5.8\bin\gbak.exe
C:\Windows\system32\KERNELBASE.dll
1677c72a-ccc8-11e8-8c71-1c1b0d4b372c

P.S.
GBAK 3.0.4 print (same) error message without crash.

Commits: d3d8548

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

Note. Bug still reproduced on WI-V2.5.9.27117 Classic (snapshot date: 29-sep-2018).

@firebird-automations
Copy link
Collaborator Author

Commented by: Basil A. Sidorov (basid)

Mea culpa: bad syntax - bad result.
But crash - bad also.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Needs no front-porting - appropriate changes are already present starting with FB3.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 2.5.9 [ 10862 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully => Done with caveats

Test Details: Note. Bug still reproduced on WI-V2.5.9.27117 Classic (snapshot date: 29-sep-2018).

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

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

No branches or pull requests

2 participants