Re: *****SPAM***** RE: DBD::Pg - $dbh-quote() causes core dump

2004-02-17 Thread Ian Sealy
Dear Rafael,

 There was some memory allocation related funkiness in DBD::Pg that the
 attached patch fixes. You can apply it to both 1.31 and 1.32_1.

 Bug posted on CPAN:
 http://rt.cpan.org/NoAuth/Bug.html?id=5357

All the tests now pass and everything works perfectly. Thanks very much
for your help. Much appreciated.

Cheers,
Ian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: DBD::Pg - $dbh-quote() causes core dump

2004-02-16 Thread Ian Sealy
Dear all,

 Is anyone using the DBD::Pg Perl module under Cygwin? I'm trying to use
 it on Windows XP with Perl 5.8.2-1 and DBI 1.40. The Cygwin DLL version
 is 1.5.7.

 The module seems to build OK, but lots of the tests fail. The most
 serious (from my point of view, because I tried to use the module
 anyway) is that $dbh-quote() causes a core dump:

 Exception: STATUS_ACCESS_VIOLATION at eip=610AB121
 eax=4C554E27 ebx=4C557573 ecx=BDD4BB01 edx=274C esi=0A2A0930 edi=0A2A3074
 ebp=0022EAF8 esp=0022EAE0 program=D:\cygwin\bin\perl.exe
 cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
 Stack trace:
 Frame Function  Args
 0022EAF8  610AB121  (, 0A2EA954, 0022EB18, 6109E779)
 0022EB28  61054C25  (0A2A0930, 0A2EA954, 0003, 0002)
 0022EB58  61086391  (0A040268, 0A28CC50, 0A13CF90, )
 0022ED38  0093E12E  (0A040268, 0A180540, 0A040268, )
 0022EDA8  6EC71086  (0A040268, 0A040268, 0022EDD8, 6EC04998)
 0022EDB8  6EC69529  (0A040268, 61110400, 0022EDD8, 61087CB6)
 0022EDD8  6EC04998  (0A040268, 0001, 0022EED8, 0001)
 0022EF08  6EC04775  (0A040268, 00401220, 0003, 61673F04)
 0022EF40  004011E2  (0003, 61673F04, 0A0400A8, 0022EF98)
 0022EF80  61005DF0  (0022EF98, C0150008, , 536CD652)
 0022FF90  61005EE8  (, , , )
 End of stack trace

 Any idea what's wrong?

I've just realised that I've missed out one bit of, perhaps crucial,
information. I'm building DBD::Pg against PostgreSQL 7.4.1-3.

Any ideas? Thanks in advance.

Cheers,
Ian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



DBD::Pg - $dbh-quote() causes core dump

2004-02-15 Thread Ian Sealy
Hi,

Is anyone using the DBD::Pg Perl module under Cygwin? I'm trying to use
it on Windows XP with Perl 5.8.2-1 and DBI 1.40. The Cygwin DLL version
is 1.5.7.

The module seems to build OK, but lots of the tests fail. The most
serious (from my point of view, because I tried to use the module
anyway) is that $dbh-quote() causes a core dump:

Exception: STATUS_ACCESS_VIOLATION at eip=610AB121
eax=4C554E27 ebx=4C557573 ecx=BDD4BB01 edx=274C esi=0A2A0930 edi=0A2A3074
ebp=0022EAF8 esp=0022EAE0 program=D:\cygwin\bin\perl.exe
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0022EAF8  610AB121  (, 0A2EA954, 0022EB18, 6109E779)
0022EB28  61054C25  (0A2A0930, 0A2EA954, 0003, 0002)
0022EB58  61086391  (0A040268, 0A28CC50, 0A13CF90, )
0022ED38  0093E12E  (0A040268, 0A180540, 0A040268, )
0022EDA8  6EC71086  (0A040268, 0A040268, 0022EDD8, 6EC04998)
0022EDB8  6EC69529  (0A040268, 61110400, 0022EDD8, 61087CB6)
0022EDD8  6EC04998  (0A040268, 0001, 0022EED8, 0001)
0022EF08  6EC04775  (0A040268, 00401220, 0003, 61673F04)
0022EF40  004011E2  (0003, 61673F04, 0A0400A8, 0022EF98)
0022EF80  61005DF0  (0022EF98, C0150008, , 536CD652)
0022FF90  61005EE8  (, , , )
End of stack trace

Any idea what's wrong?

Cheers,
Ian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Building Courier-IMAP

2003-10-17 Thread Ian Sealy
Hi,

I'm trying to build Courier-IMAP 
http://www.inter7.com/courierimap.html  using Cygwin on Windows XP. The
Cygwin DLL version is 1.5.5 and I'm using gcc 3.3.1-2.

Apparently Courier-IMAP has been built under Cygwin in the past:
http://sourceforge.net/mailarchive/message.php?msg_id=1732486
(The patch that this refers to has been incorporated according to the
README.cygwin that comes with Courier-IMAP.)

make dies saying:

Making all in libhmac
make[1]: Entering directory `/cygdrive/d/usr/local/src/courier-imap-2.1.2/libhmac'
make  all-am
make[2]: Entering directory `/cygdrive/d/usr/local/src/courier-imap-2.1.2/libhmac'
Compiling hmac.c
rm -f libhmac.a
ar cru libhmac.a hmac.o
ranlib libhmac.a
gcc -Wall -g -O2 -I./.. -I..   md5hmactest.c   -o md5hmactest
In file included from md5hmactest.c:11:
../md5/md5.h:36: error: parse error before MD5_WORD
../md5/md5.h:36: warning: no semicolon at end of struct or union
../md5/md5.h:40: error: parse error before '}' token
make[2]: *** [md5hmactest] Error 1
make[2]: Leaving directory `/cygdrive/d/usr/local/src/courier-imap-2.1.2/libhmac'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/d/usr/local/src/courier-imap-2.1.2/libhmac'
make: *** [all-recursive] Error 1

Has anyone got any suggestions?

Cheers,
Ian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/