Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste

2008-01-05 Thread Thomas Dickey
On Sat, Jan 05, 2008 at 04:50:09AM +0100, Caetano Jimenez Carezzato wrote: > I believe that when xterm is not in wide-character mode no memory is > allocated for the WIDEC pointer, meaning that SCRN_BUF_WIDEC(screen, row) > is going to translate to screen->visbuf[MAX_PTRS * (row) + OFF_WIDEC]

Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste

2008-01-04 Thread Caetano Jimenez Carezzato
I believe that when xterm is not in wide-character mode no memory is allocated for the WIDEC pointer, meaning that SCRN_BUF_WIDEC(screen, row) is going to translate to screen->visbuf[MAX_PTRS * (row) + OFF_WIDEC] which in this case is a lost pointer. MAX_PTRS can have differente sizes:

Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste

2008-01-04 Thread Thomas Dickey
On Fri, Jan 04, 2008 at 12:00:11PM +0100, Julien Cristau wrote: > Can you please rebuild xterm with debugging symbols and try to reproduce > the crash under gdb? I built a copy of xterm using the same configure options, run with valgrind and am not seeing the problem yet (so at least I didn't over

Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste

2008-01-04 Thread Caetano Jimenez Carezzato
If I downgrade xterm to 229-1 the problem doesn't happen. Here the bug under gdb (AMD64) [vrz002:~]$ gdb /tmp/deb/xterm-230/debian/xterm/usr/bin/xterm GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Processed: Re: Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste

2008-01-04 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > severity 459041 important Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste Severity set to `important' from `grave' > kthxbye Stopping processing here. Please contact me if you need assistance. Deb

Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste

2008-01-04 Thread Julien Cristau
severity 459041 important kthxbye On Fri, Jan 4, 2008 at 21:08:42 +1100, Tim Connors wrote: > Severity: grave > Justification: causes non-serious data loss > no. > Cutting text somewhere in an xterm causes it to segfault with the most > recent upgrade. It may involve either the cut or paste o

Bug#459041: xterm: version 230-1 segfaults somewhere when involving cut and paste

2008-01-04 Thread Tim Connors
Package: xterm Version: 230-1 Severity: grave Justification: causes non-serious data loss Cutting text somewhere in an xterm causes it to segfault with the most recent upgrade. It may involve either the cut or paste of long lines. I'm pretty sure it happens as soon as I click the mouse to make a