2008/1/27, Robert May <[EMAIL PROTECTED]>:
> On 13/01/2008, Reini Urban <[EMAIL PROTECTED]> wrote:
> > [Sorry for TOFU]
> > I found and fixed the error. (Scintilla crash)
> >
> > Remove the line with #define PERL_GET_NO_CONTEXT at the top of Scintilla.xs
> >
> > The reason why you cannot reproduce it, it because MSVC obviously is
> > compiled with PERL_OBJECT (see GUI.h for the perlud struct),
> > Without PERL_OBJECT you may not change the setting of
> > PERL_GET_NO_CONTEXT to the one in GUI.xs. Otherwise you are accessing
> > the struct with and without the my_perl field, causing Scintilla to
> > crash.
> >
> > It was not the stack corrupt, just perlud.
> >
> > When I got a decent internet connection tomorrow I'll post my full patch
> > with added testcase which catches this problem.
>
> I'll apply your fix.  If you have the time to write a test case that
> would be much appreciated.

Attached are my tests.

-- 
Reini Urban
http://phpwiki.org/              http://murbreak.at/
http://spacemovie.mur.at/   http://helsinki.at/

Attachment: 02_new.t
Description: Troff document

Attachment: 03_perl.t
Description: Troff document

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to