Re: [code][textadept] Segfault with

From: Mitchell <m.att.foicica.com>
Date: Fri, 11 May 2018 11:54:00 -0400 (EDT)

Hi,

On Thu, 10 May 2018, Pedro Andres Aranda Gutierrez wrote:

> Hi Mitchell
>
> A quick test here to confirm:
>
> My buffer contained:
>
> 'Daß es nicht funktioniert ist nicht hilfreich'
>
> I opened the search and replace dialog
>
> Typed ß in Search and ss in Replace, ticked Regex and clicked on Search next
>
> and got 'Abort: trap 6'
>
> This doesn't happen when Regex is not ticked
>
> Happens the same with 'La cigüeña española' and search for 'ñ' with Regex
> ticked and unticked, so it is not just German :-)
>
> And it happens when non ASCII text is both on the 'Search' and the
> 'Replace' field

I think the problem is actually much worse than that. Regex searches of any kind cause a crash. It doesn't matter what the input or buffer text is. I've committed a patch[1] that should resolve the issue that will be in tonight's nightly.

Cheers,
Mitchell

[1]: https://foicica.com/hg/textadept/rev/35f8c9ddf22c

-- 
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 Fri 11 May 2018 - 11:54:00 EDT

This archive was generated by hypermail 2.2.0 : Sat 12 May 2018 - 06:27:16 EDT