http://www.perlmonks.org?node_id=1083758


in reply to Re^14: Strawberry Perl 64bit on Win7 crashes on DBI-function
in thread Strawberry Perl 64bit on Win7 crashes on DBI-function

Oh, I'm so sorry. You're right, how did i miss that. With that corrected it now runs through without crashing! Looks great. Will test further.
  • Comment on Re^15: Strawberry Perl 64bit on Win7 crashes on DBI-function

Replies are listed 'Best First'.
Re^16: Strawberry Perl 64bit on Win7 crashes on DBI-function
by mje (Curate) on Apr 25, 2014 at 08:40 UTC

    That is good news and thanks for sticking with it until we found a solution. All I changed in the original code was to stop putting the DSN scalars on the stack and allocate them instead (the rest of the code is identical). I didn't write that code but I was always suspicious as Windows is known for having a small stack.

    I will release this fix as 1.49_1 development release. It may have a few other changes from the one I sent you and in any case I didn't update the Changes file in the one I sent you.

      No, no, thank YOU. This is great and very quick.

      If it will go to a final new version i will install that when it comes out. For now i put the 1.49_1 in my "normal" perl environment at my own risk.

      Sorry for using windows, i don't have a choice at work... ;-)

        I have just uploaded DBD::ODBC 1.49_1 development release to the CPAN. It may take a while for it to appear on all mirrors.

        Thanks again for finding this and sticking with me until we found a fix.