I don't know why I didn't see this before, but the bug seems to come from an extra variable declaration in an inner scope. Removing that declaration fixed the problem.
** Patch added: "Patch to remove errant variable declarations" https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/724517/+attachment/2599627/+files/fix-scope-bug.diff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to unixodbc in Ubuntu. https://bugs.launchpad.net/bugs/724517 Title: isql segfaults in batch mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/724517/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs