Issue Details (XML | Word | Printable)

Key: CORE-3810
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Vlad Khorsun
Reporter: Pavel Zotov
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

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

Created: 07/Apr/12 03:10 PM   Updated: 27/May/15 03:48 PM
Component/s: ISQL
Affects Version/s: 3.0 Initial, 2.5.0, 2.5.1
Fix Version/s: 2.5.2, 3.0 Alpha 1

File Attachments: 1. Zip Archive (2 kB)

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

 Description  « Hide
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;


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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Zotov added a comment - 07/Apr/12 03:15 PM
PS. Please see attach for backtrace details