Hi John,

I have a strange crash in slang which i'm trying to debug and maybe you
can help.

Basically, its:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557960

Its triggered by  a python-newt module, but the error is in slang, I think.
Within screen, run the python fragment and it crashes, with a free() error.

With an unstripped copy of slang, running under gdb python, I get:
#3  0xb7c759d5 in __libc_message (do_abort=2, fmt=0xb7d4aa90 "*** glibc
detected *** %s: %s: 0x%s ***\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4  0xb7c7fac1 in malloc_printerr (action=<optimized out>, str=0x6
<Address 0x6 out of bounds>, ptr=0x8359185) at malloc.c:6283
#5  0xb7c80d3e in munmap_chunk (p=<optimized out>) at malloc.c:3540
#6  0xb76652ef in SLfree (p=0x8359185 "DO\t\033[%dB") at
/home/amckinstry/slang/slang2-2.2.4/src/slcommon.c:187
#7  0xb75ef769 in _pSLtt_tifreeent (t=0x82e6178) at
/home/amckinstry/slang/slang2-2.2.4/src/sltermin.c:256
#8  0xb75f450b in SLtt_initialize (term=<optimized out>) at
/home/amckinstry/slang/slang2-2.2.4/src/sldisply.c:2548
#9  0xb75f4fe2 in SLtt_get_terminfo () at
/home/amckinstry/slang/slang2-2.2.4/src/sldisply.c:2476

It appears screen is not needed; just TERM=screen will trigger it,
TERM=xterm will not.
sltermin.c:256 is freeing t->string_table for the terminfo, which to my
untutored eyes looks valid in
both cases.

Have you any ideas as to whats going on?

regards
Alastair



-- 
Alastair McKinstry  , <alast...@sceal.ie> , <mckins...@debian.org>    
http://blog.sceal.ie

Anyone who believes exponential growth can go on forever in a finite world
is either a madman or an economist - Kenneth Boulter, Economist.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to