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-issue-importer opened this issue Apr 7, 2012 · 8 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Apr 7, 2012

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 7, 2012

Commented by: @pavel-zotov

PS. Please see attach for backtrace details

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 7, 2012

Modified by: @pavel-zotov

Attachment: core-isql.zip [ 12126 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 7, 2012

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 7, 2012

Modified by: @dyemanov

Component: ISQL [ 10003 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 7, 2012

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 7, 2012

Modified by: @hvlad

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

Version: 2.5.1 [ 10333 ]

Version: 2.5.0 [ 10221 ]

Version: 3.0 Initial [ 10301 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 23, 2013

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 27, 2015

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants