Grant Hopwood wrote:
> This looks to be a DBI truncation error.  By default, an exception is
> raised whenever data is truncated due to its length being longer than the
> default.
> 
> Read the DBI documentation on the LongReadLen() and LongTruncOk() handle
> methods.

Yup, setting LongReadLen to a reasonable value fixed it.  Thanks!

However, I'm now getting another problem...  I'm runing DBI::Proxyserver
on an NT box in forking mode.  The first time I make a connection it
works fine, gets the info from the Database and prints it out quite
happily.  On the server console I see various debug messages ending
with:

        Fri Apr 28 15:46:43 2000 debug, Client executes method DestroyHandle
        Fri Apr 28 15:46:43 2000 debug, Child terminating


Then if I try to make another connection later by running the same (or a
different) script again I get the following

        Fri Apr 28 15:46:43 2000 debug, Connection from 192.168.1.134, port
1408
        Fri Apr 28 15:46:43 2000 debug, Child clone:
DBI::ProxyServer=HASH(0x9355648)

        Bizarre SvTYPE [144] at c:\perl\lib\net\Daemon.pm line 454

And I get a Dr. Watson Application error and perl exits.

Line 454 is 'my $pid = fork();' so it appears that forking isn't
entirely happy, but then again, it forks the first time I run the script
too and has no problems.

As it happens I did have a bit of a problem while compiling
Net::Daemon.  Well, the nmake seemed fine, but nmake test got as far as 
't\fork.........ok 5/5' then hung and I had to ^C to get out of it.  I
was compiling on a different, but similarly set up machine to the one
I'm now running on.

Has anyone else encountered something like this while using forking in
perl 5.6?  Anyone know what the problem could be?  I suppose I should
start off by trying to recompile Net::Daemon on a different machine and
see if I still get that problem with nmake test, but if anyone has any
other suggestions I'd be very grateful...

Thanks,
Kathryn.

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to