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

isql: zero divide + coredump when use "-pag 0" command switch & set heading on inside .sql script [CORE3810] #4153

Closed
firebird-automations opened this issue Apr 7, 2012 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @pavel-zotov

Attachments:
core-isql.zip

input file (`fld.sql`):
-----------
set heading on;
select rdb$field_name from rdb$fields;b
-----------

Try to extract all field names from new database
-- file = 'fld.sql':
create database 't1.fdb'; commit;
exit;

Command:

bash-3.2$ isql t1.fdb -pag 0 -i fld.sql > fld_o.txt
Floating point exception (core dumped)

Commits: c036c65 58dfe8a

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

Crash of ISQL (not server) is reproduced when make connect by ISQL of WI-V2.5.1.26351.
After ISQL crash firebird.log contains: INET/inet_error: read errno = 10054

@firebird-automations
Copy link
Collaborator Author

Commented by: @pavel-zotov

PS. Please see attach for backtrace details

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

Attachment: core-isql.zip [ 12126 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Component: ISQL [ 10003 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

Fix Version: 2.5.2 [ 10450 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

priority: Major [ 3 ] => Minor [ 4 ]

Version: 2.5.1 [ 10333 ]

Version: 2.5.0 [ 10221 ]

Version: 3.0 Initial [ 10301 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: Crash of ISQL (not server) is reproduced when make connect by ISQL of WI-V2.5.1.26351.
After ISQL crash firebird.log contains: INET/inet_error: read errno = 10054

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