← Back to team overview

kicad-developers team mailing list archive

Re: library browser hang (stack overflow)

 

--5-1579129594-0556718530=:8 Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Try this
<http://f1.grp.yahoofs.com/v1/EJJyRd-_QOCJMmiHyg-qugXfivoXIzH6j0jC_BZQGf\
6kSpsFy2JVHeDaG846vxYo2soF4DaJcAqO4MCNh_1hltgUYIEDxYjs/macosx_view_lib_f\
rame_hang_fix.diff> patch instead. It's a simple hack. Drawing in the
main window still doesn't refresh as often as it should, but that's a
bug in a vanilla 2006-08-28 build for osx. Eagle has the same bug (in
osx)-- you have to click the refresh button occasionally.

--- In kicad-devel@xxxxxxxxxxxxxxx, "dilomenac" <dilomenac@...> wrote:
>
> Nix that; redraws are messed up now, so don't use that patch.
> *goes back to sifting for the bug*
>
> --- In kicad-devel@xxxxxxxxxxxxxxx, "dilomenac" dilomenac@ wrote:
> >
> >
> > Hi again,
> > I found a nasty event infinite loop in drawpanel, and fixed it by
> > commenting out the call to ReDraw in OnPaint. Everything draws fine,
> > now. Makes me wonder, though, how different wxWindows is on various
> > platforms. Clearly this wasn't broken on linux, but it certainly was
on
> > macosx. I have no idea if my patches break other platforms, so a bit
of
> > testing should be effectuated. Anywho, here
> >
>
<http://f1.grp.yahoofs.com/v1/AMJwRRBD_gccK1vRSJPZEliuAxt9sl6dt8JNOe4dgg\
\
> >
>
MhyHdu-VREgpgJTes823hSCaSIBDWMkQ5ydwzRmWKS5uYxwSwOSx9i/macosx_drawpanel_\
\
> > hang_fix.diff> it is.
> >
> > Cheers!
> >
>

--5-1579129594-0556718530=:8 Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Try <a href=3D"http://f1.grp.yahoofs.com/v1/EJJyRd-_QOCJMmiHyg-qugXfivoXIzH=
6j0jC_BZQGf6kSpsFy2JVHeDaG846vxYo2soF4DaJcAqO4MCNh_1hltgUYIEDxYjs/macosx_vi=
ew_lib_frame_hang_fix.diff">this</a> patch instead. It's a simple hack. Dra=
wing in the main window still doesn't refresh as often as it should, but th=
at's a bug in a vanilla 2006-08-28 build for osx. Eagle has the same bug (i=
n osx)-- you have to click the refresh button occasionally.<br>

<br>--- In kicad-devel@xxxxxxxxxxxxxxx, &quot;dilomenac&quot; &lt;dilomenac=
@...&gt; wrote:<br>&gt;<br>&gt; Nix that; redraws are messed up now, so don=
't use that patch.<br>&gt; *goes back to sifting for the bug*<br>&gt; <br>&=
gt; --- In kicad-devel@xxxxxxxxxxxxxxx, &quot;dilomenac&quot; dilomenac@ wr=
ote:<br>&gt; &gt;<br>&gt; &gt; <br>&gt; &gt; Hi again,<br>&gt; &gt; I found=
a nasty event infinite loop in drawpanel, and fixed it by<br>&gt; &gt; com=
menting out the call to ReDraw in OnPaint. Everything draws fine,<br>&gt; &=
gt; now. Makes me wonder, though, how different wxWindows is on various<br>=
&gt; &gt; platforms. Clearly this wasn't broken on linux, but it certainly =
was on<br>&gt; &gt; macosx. I have no idea if my patches break other platfo=
rms, so a bit of<br>&gt; &gt; testing should be effectuated. Anywho, here<b=
r>&gt; &gt;<br>&gt; &lt;http://f1.grp.yahoofs.com/v1/AMJwRRBD_gccK1vRSJPZEl=
iuAxt9sl6dt8JNOe4dgg\<br>&gt; &gt;<br>&gt; MhyHdu-VREgpgJTes823hSCaSIBDWMkQ=
5ydwzRmWKS5uYxwSwOSx9i/macosx_drawpanel_\<br>&gt; &gt; hang_fix.diff&gt; i=
t is.<br>&gt; &gt; <br>&gt; &gt; Cheers!<br>&gt; &gt;<br>&gt;<br>
 --5-1579129594-0556718530=:8-- 




References