← Back to team overview

ubuntu-x-swat team mailing list archive

Re: [Bug 599780] [NEW] reproducible crash with free(): invalid pointer

 

On Tue, 29 Jun 2010, Thomas Dickey wrote:

> On Tue, 29 Jun 2010, Thomas Dickey wrote:
>
>> On Tue, 29 Jun 2010, Timo Juhani Lindfors wrote:
>>
>>> Public bug reported:
>>>
>>> Binary package hint: xterm
>> ....
>>> Package: xterm 256-1ubuntu1
>>
>> The current patch-level upstream is #261; the last fix involving memory
>> issues was here (2010/5/1):
>>
>> http://invisible-island.net/xterm/xterm.log.html#xterm_258
>
> The description of the bug given here corresponds to
>
> Patch #257 - 2010/4/22
> compute value for first wide-character rather than assuming it is 256,
> fixes problem with -cjk_width introduced in patches 242 and 249 (report by
> Thomas Wolff).

fwiw, the hint is here:

==3820==  Address 0x460edb0 is 16 bytes before a block of size 384 free'd
==3820==    at 0x4024B3A: free (vg_replace_malloc.c:366)
==3820==    by 0x80803DD: ReallocateBufOffsets (screen.c:579)
==3820==    by 0x80804D3: ChangeToWide (screen.c:622)
==3820==    by 0x8059408: doparsing (charproc.c:3049)
==3820==    by 0x8059838: VTparse (charproc.c:3201)
==3820==    by 0x805DA88: VTRun (charproc.c:5314)
==3820==    by 0x8070ABF: main (main.c:2415)

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

-- 
reproducible crash with free(): invalid pointer
https://bugs.launchpad.net/bugs/599780
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xterm in ubuntu.



References