Dr. Matyas Koniorczyk writes:
 > It is worse than a good old Fortran 77 compiler: I'm not sure but the limit 
 > is some 50 characters. 
 > But it happens only if it receives something from a pipe or file to stdin, 
 > if it comes from the keyboard interactively, everything is O.K. I found this 
 > from my experience while I was writing stored procedures and trying to feed 
 > the code to isql-fb from stdin. Moreover, the error message you receive does 
 > not reflect this issue, it simply acts as if you just had not written the 
 > rest of the command.
 > 
 > Since you cannot even break the line within the path to the database, maybe 
 > you should use another directory to store the databases, or cd to the 
 > database and omit the path to eliminate the problem.

Ok, using "/tmp" as the database directory worked around this
problem. I wonder why this never was a problem on FreeBSD?

Additionally I had to run "make check" from the firebird account. If I
try as a regular user, I run into the "cannot attach to password
database" problem. I have no idea whether firebird is supposed to work
like this, or whether I have to jump through additional hoops to be
able to access it as a regular user.

 > As for the segfault itself: 
 > unfortunately I didn't have the time to collect more experience yet, but as 
 > soon as I find out something, I'll let you know.
 > 

My results on Debian look like this:

Test 12: Retrieve data: 
libdbi: [query] SELECT * from test_datatypes
        Got result, try to access rows
/bin/sh: line 4:  2768 Segmentation fault      ${dir}$tst

This is different from your problem, and again different from the
problem I see on FreeBSD. But as both problems on Debian/Ubuntu happen
when trying to access rows, I reckon these are related. I'll try and
see whether I can gather some information from valgrind. As I'm not
exactly a firebird expert (let alone a firebird driver expert), any
help will be greatly appreciated.

regards,
Markus

-- 
Markus Hoenicka
markus.hoeni...@cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to