Re: [code] [textadept] Textadept 11.0 alpha 2

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Sat, 20 Jun 2020 09:27:23 +0200

Hi,

I found the culprit in my case

-- view.property['style.library'] = 'fore:%(color.base08)'

Commenting the access to style.library fixed it. Was this property removed
on purpose?

Thx, /PA

On Fri, 19 Jun 2020 at 19:20, Gabriel Dubatti <gdubatti.att.gmail.com> wrote:

> Hi Mitchell,
>
> Thanks for the feedback.
>
> Let me know when you have something to test.
>
> Cheers,
>
> Gabriel
>
>
> El 19/06/2020 a las 13:25, Mitchell escribiĆ³:
> > Hi Gabriel,
> >
> > On Fri, 19 Jun 2020, Gabriel Dubatti wrote:
> >
> >> Hi Mitchell,
> >>
> >> Here is a strange bug that I have seen for a while and was finally
> >> able to
> >> isolate.
> >>
> >> The bug is still present in TA 11.0 alpha 2.
> >>
> >> These are the steps I use to generate it:
> >>
> >> init.lua:
> >>
> >> keys.cf4 = reset
> >> for _, buff in ipairs(_BUFFERS) do buff:set_theme('dark') end
> >>
> >> Open any 2 files.
> >>
> >> Close TA. (It is not really necessary, it is just to facilitate the
> >> test)
> >>
> >> Open TA.
> >>
> >> press Ctrl+Alt+V (split vertically)
> >>
> >> press Ctrl+Alt+W (close split)
> >>
> >> press Ctrl+F4 (reset)
> >>
> >> This generates a SIGSEGV (Address boundary error) on Linux (and
> >> closes TA on
> >> Windows) every time.
> >>
> >> If you remove set_theme() from init the issue is gone.
> >>
> >> I have seen this issue when closing TA after closing views.
> >>
> >> In addition, if you open other buffers or change buffers or views before
> >> restarting, the problem does not always occur.
> >>
> >> Hope you can solve this problem or tell me some way to avoid it, I
> >> use this a
> >> lot for comparing files.
> >
> > I'm working on some local changes that will ultimately change
> > `buffer:set_theme()` to `view:set_theme()`. I experienced crashes that
> > seem familiar to what you were describing. I've just tested locally,
> > and cannot reproduce the crash. Hopefully my changes will work for you
> > too whenever I commit them.
> >
> > Cheers,
> > Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellet zu werden
Georg Kreisler
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 20 Jun 2020 - 03:27:23 EDT

This archive was generated by hypermail 2.2.0 : Sat 20 Jun 2020 - 06:27:55 EDT