From: Reini U. <ru...@x-...> - 2008-01-27 19:08:50
|
2008/1/27, Robert May <rob...@us...>: > On 13/01/2008, Reini Urban <ru...@x-...> 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/ |