Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
On Fri, Jul 14, 2023 at 09:02:31PM +0200, Robin Jarry wrote: > Nilesh Patra, Jul 14, 2023 at 20:35: > > On Fri, Jul 14, 2023 at 08:13:16PM +0200, Robin Jarry wrote: > > > Nilesh Patra, Jul 14, 2023 at 19:59: > > > > There you go > > > > > > > >

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Tim Culverhouse
On Fri Jul 14, 2023 at 1:35 PM CDT, Nilesh Patra wrote: > On Fri, Jul 14, 2023 at 08:13:16PM +0200, Robin Jarry wrote: > > Nilesh Patra, Jul 14, 2023 at 19:59: > > > There you go > > > > > > https://pb.envs.net/?816fb8c61575e2ba#4kD2xS4wJMGrsCd8tBhPfqHDJZ7qeM6qERaobgoYj46F > > > > Thanks a lot

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Robin Jarry
Nilesh Patra, Jul 14, 2023 at 20:35: > On Fri, Jul 14, 2023 at 08:13:16PM +0200, Robin Jarry wrote: > > Nilesh Patra, Jul 14, 2023 at 19:59: > > > There you go > > > > > > https://pb.envs.net/?816fb8c61575e2ba#4kD2xS4wJMGrsCd8tBhPfqHDJZ7qeM6qERaobgoYj46F > > > > Thanks a lot that helps. It looks

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
On Fri, Jul 14, 2023 at 08:13:16PM +0200, Robin Jarry wrote: > Nilesh Patra, Jul 14, 2023 at 19:59: > > There you go > > > > https://pb.envs.net/?816fb8c61575e2ba#4kD2xS4wJMGrsCd8tBhPfqHDJZ7qeM6qERaobgoYj46F > > Thanks a lot that helps. It looks like there is a deadlock due to two > goroutines

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
On Fri, Jul 14, 2023 at 11:22:09PM +0530, Nilesh Patra wrote: > I fiddled a bit and noticed that it works OK on aerc 0.14.0 and I notice > the odd behavior on aerc 0.15.0. > > Something changed between these two which causes it to explode. I did a bisect meanwhile and found the commit that broke

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Robin Jarry
Nilesh Patra, Jul 14, 2023 at 19:59: > There you go > > https://pb.envs.net/?816fb8c61575e2ba#4kD2xS4wJMGrsCd8tBhPfqHDJZ7qeM6qERaobgoYj46F Thanks a lot that helps. It looks like there is a deadlock due to two goroutines trying to interact with the terminal: goroutine 1 [sync.Mutex.Lock]:

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Koni Marti
On Fri Jul 14, 2023 at 7:59 PM CEST, Nilesh Patra wrote: > On Fri, Jul 14, 2023 at 07:47:33PM +0200, Robin Jarry wrote: > > After aerc has died, share the trace.log file contents. Ideally via > > paste service, lists.sr.ht bounce emails that have attachments. > > There you go > >

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
On Fri, Jul 14, 2023 at 07:47:33PM +0200, Robin Jarry wrote: > After aerc has died, share the trace.log file contents. Ideally via > paste service, lists.sr.ht bounce emails that have attachments. There you go https://pb.envs.net/?816fb8c61575e2ba#4kD2xS4wJMGrsCd8tBhPfqHDJZ7qeM6qERaobgoYj46F

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
I fiddled a bit and noticed that it works OK on aerc 0.14.0 and I notice the odd behavior on aerc 0.15.0. Something changed between these two which causes it to explode. Best, Nilesh signature.asc Description: PGP signature

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Robin Jarry
If you manage to reproduce this easily, could you try the following: 1) aerc >trace.log 2>&1 2) Compose a message reproduce the freeze. 3) From another terminal, kill aerc with SIGQUIT. After aerc has died, share the trace.log file contents. Ideally via paste service, lists.sr.ht bounce emails

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Robin Jarry
Nilesh Patra, Jul 14, 2023 at 19:14: > Are you using debian though? No, I am on Fedora 38. Linux ringo 6.3.11-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jul 2 13:17:31 UTC 2023 x86_64 GNU/Linux go version go1.20.5 linux/amd64 sway version 1.8.1 foot version: 1.14.0 -pgo +ime +graphemes

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
On Fri, Jul 14, 2023 at 12:25:37PM -0500, Tim Culverhouse wrote: > On Fri Jul 14, 2023 at 12:14 PM CDT, Nilesh Patra wrote: > > And... I tried with wezterm. It worked on first try, but on trying to > > paste the text 2-3 times in a row (on the same compose area) I'm able to > > see a hang. > >

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Tim Culverhouse
On Fri Jul 14, 2023 at 12:14 PM CDT, Nilesh Patra wrote: > On Fri, Jul 14, 2023 at 11:19:32AM -0500, Tim Culverhouse wrote: > > I also can't repro. I tried pasting "hello world\n"x100, and "hello > > world"x100 > > (all on the same line), both in vim and nvim, and in foot and wezterm - all > >

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Tim Culverhouse
On Fri Jul 14, 2023 at 11:36 AM CDT, Robin Jarry wrote: > pelle, Jul 14, 2023 at 18:23: > > > Robin and I are both on wayland...I'm guessing with xclip you are on > > > X? I wonder if that comes into play at all? > > > > I'm having the issue in Sway. I've noticed that the freeze happens in > > vim

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
On Fri, Jul 14, 2023 at 11:19:32AM -0500, Tim Culverhouse wrote: > I also can't repro. I tried pasting "hello world\n"x100, and "hello world"x100 > (all on the same line), both in vim and nvim, and in foot and wezterm - all of > those combinations work. I tried with qterminal, kitty and

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Robin Jarry
pelle, Jul 14, 2023 at 18:23: > > Robin and I are both on wayland...I'm guessing with xclip you are on > > X? I wonder if that comes into play at all? > > I'm having the issue in Sway. I've noticed that the freeze happens in > vim when pasting with `CTRL+V` or `SHIFT+INSERT` while pasting works >

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread pelle
> Robin and I are both on wayland...I'm guessing with xclip you are on X? I > wonder > if that comes into play at all? I'm having the issue in Sway. I've noticed that the freeze happens in vim when pasting with `CTRL+V` or `SHIFT+INSERT` while pasting works fine with `p`.

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Tim Culverhouse
On Fri Jul 14, 2023 at 11:06 AM CDT, Nilesh Patra wrote: > On Fri, Jul 14, 2023 at 05:49:41PM +0200, Robin Jarry wrote: > > I cannot reproduce this but maybe Tim can have a look. > > This is an upstream bug, and I can repro it by building aerc via make, > i.e. there are no debian go packages at

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Nilesh Patra
On Fri, Jul 14, 2023 at 05:49:41PM +0200, Robin Jarry wrote: > I cannot reproduce this but maybe Tim can have a look. This is an upstream bug, and I can repro it by building aerc via make, i.e. there are no debian go packages at play here. Interestingly, this bug does not get triggered when I

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-14 Thread Robin Jarry
Nilesh Patra, Jul 13, 2023 at 19:27: > Hi, > > On Wed, 12 Jul 2023 11:09:03 +0200 Pelle wrote: > > Package: aerc > > Version: 0.15.2-1 > > Severity: normal > > > > I find that aerc almost always freezes when pasting into the compose area. > > > > It can easily be reproduced here: > >* Open

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-13 Thread Nilesh Patra
Hi, On Wed, 12 Jul 2023 11:09:03 +0200 Pelle wrote: > Package: aerc > Version: 0.15.2-1 > Severity: normal > > I find that aerc almost always freezes when pasting into the compose area. > > It can easily be reproduced here: >* Open aerc. >* Compose an email. >* Move cursor from

Bug#1040907: aerc: Freeze when pasting to body on email compose

2023-07-12 Thread Pelle
Package: aerc Version: 0.15.2-1 Severity: normal Dear aerc maintainer, I find that aerc almost always freezes when pasting into the compose area. It can easily be reproduced here: * Open aerc. * Compose an email. * Move cursor from headers onto the email body compose area. * In