Re: speeding up XS_DBI_dispatch()

demerphq <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <CANgJU+UxXENg_eyLvv58wZ1wHCXLjKzvL3ebvf1do3nhz4Y-Gg@mail.gmail.com>
On 9 February 2012 22:53, Martin J. Evans <[email protected]> wrote:
> Something between 1.616_901 and 1.616_902 changed which breaks fork() in DBI
> on Windows. The test 16destroy.t fails with a Windows error
>
> "This application has requested the Runtime to terminate in an unusual way"
>
> Initially I saw this in 1.617 but then I stepped backwards to find the
> problem occurred between these 2 versions. Some smokers have reported this
> problem in 5.10.1, 5.14.0 and 5.14.2. I can reproduce on my wife's netbook
> which is strawberry perl 5.12.0.
>
> As you'll see from the Changes file the only 2 entries added were:
>
>   Enhanced performance for threaded perls (Dave Mitchell, Tim Bunce)

Well perls fork() relies on threaded  perl so it could very easily be
Dave's patch. Dave do you have access to a win32 build environment?

>   Added note to DBI::Profile about async queries (Marcel Gr<FC>nauer).
>
> I've diffed the two versions but there were quite a lot of changes and so
> far I cannot locate the problem. I've given up for tonight but might find
> time to do more.
>
> I have a vastly reduced 16destroy.t which still demonstrates the problem if
> it helps anyone.

Is it possible to do something like git-bisect here?

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.