Your message dated Tue, 20 Sep 2011 11:47:39 +0900
with message-id <87fwjs3p6c.wl%[email protected]>
and subject line unreproducible
has caused the Debian Bug report #539332,
regarding asciijump: segfault (sl_init ... free) on startup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
539332: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539332
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: asciijump
Version: 0.0.6-4
Severity: normal

Steps to reproduce:
1) run asciijump

Expected results:
1) asciijump starts 

Actual results:
1) asciijump prints

    a s c i i j u m p
v e r s i o n   0 . 0 . 6

and then segfaults

More info:
1) When I build both asciijump and libslang2 with
DEB_BUILD_OPTIONS="nostrip debug noopt" gdb shows

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff77b11a3 in free () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff77b11a3 in free () from /lib/libc.so.6
#1  0x00007ffff7ad8ae2 in _pSLtt_tifreeent (t=0x60c010) at 
/home/lindi/debian/debian-libslang2/slang2-2.1.4/build-tree/slang-2.1.4/src/sltermin.c:254
#2  0x00007ffff7adab63 in SLtt_initialize (term=<value optimized out>) at 
/home/lindi/debian/debian-libslang2/slang2-2.1.4/build-tree/slang-2.1.4/src/sldisply.c:2398
#3  0x00007ffff7adb68d in SLtt_get_terminfo () at 
/home/lindi/debian/debian-libslang2/slang2-2.1.4/build-tree/slang-2.1.4/src/sldisply.c:2326
#4  0x0000000000407d49 in sl_init () at slang.c:105
#5  0x0000000000406a2c in resize () at main.c:84
#6  0x0000000000406b4f in main (argc=1, argv=0x7fffffffe528) at main.c:115
(gdb)

2) the game does not crash under valgrind but its log contains

==3977== Invalid free() / delete / delete[]
==3977==    at 0x4C2261F: free (vg_replace_malloc.c:323)
==3977==    by 0x4E70AE1: _pSLtt_tifreeent (sltermin.c:254)
==3977==    by 0x4E72B62: SLtt_initialize (sldisply.c:2398)
==3977==    by 0x4E7368C: SLtt_get_terminfo (sldisply.c:2326)
==3977==    by 0x407D48: sl_init (slang.c:105)
==3977==    by 0x406A2B: resize (main.c:84)
==3977==    by 0x406B4E: main (main.c:115)
==3977==  Address 0x59510dd is 45 bytes inside a block of size 1,483 alloc'd
==3977==    at 0x4C2391E: malloc (vg_replace_malloc.c:207)
==3977==    by 0x4ED2D97: SLmalloc (slcommon.c:170)
==3977==    by 0x4E71135: _pSLtt_tigetent (sltermin.c:1053)
==3977==    by 0x4E72B6A: SLtt_initialize (sldisply.c:2400)
==3977==    by 0x4E7368C: SLtt_get_terminfo (sldisply.c:2326)
==3977==    by 0x407D48: sl_init (slang.c:105)
==3977==    by 0x406911: init (main.c:54)
==3977==    by 0x406B26: main (main.c:109)
==3977== 
==3977== Invalid free() / delete / delete[]
==3977==    at 0x4C2261F: free (vg_replace_malloc.c:323)
==3977==    by 0x4E70AF3: _pSLtt_tifreeent (sltermin.c:256)
==3977==    by 0x4E72B62: SLtt_initialize (sldisply.c:2398)
==3977==    by 0x4E7368C: SLtt_get_terminfo (sldisply.c:2326)
==3977==    by 0x407D48: sl_init (slang.c:105)
==3977==    by 0x406A2B: resize (main.c:84)
==3977==    by 0x406B4E: main (main.c:115)
==3977==  Address 0x5951476 is 966 bytes inside a block of size 1,483 alloc'd
==3977==    at 0x4C2391E: malloc (vg_replace_malloc.c:207)
==3977==    by 0x4ED2D97: SLmalloc (slcommon.c:170)
==3977==    by 0x4E71135: _pSLtt_tigetent (sltermin.c:1053)
==3977==    by 0x4E72B6A: SLtt_initialize (sldisply.c:2400)
==3977==    by 0x4E7368C: SLtt_get_terminfo (sldisply.c:2326)
==3977==    by 0x407D48: sl_init (slang.c:105)
==3977==    by 0x406911: init (main.c:54)
==3977==    by 0x406B26: main (main.c:109)
==3977== 
==3977== Invalid free() / delete / delete[]
==3977==    at 0x4C2261F: free (vg_replace_malloc.c:323)
==3977==    by 0x4E70AFC: _pSLtt_tifreeent (sltermin.c:257)
==3977==    by 0x4E72B62: SLtt_initialize (sldisply.c:2398)
==3977==    by 0x4E7368C: SLtt_get_terminfo (sldisply.c:2326)
==3977==    by 0x407D48: sl_init (slang.c:105)
==3977==    by 0x406A2B: resize (main.c:84)
==3977==    by 0x406B4E: main (main.c:115)
==3977==  Address 0x5951493 is 995 bytes inside a block of size 1,483 alloc'd
==3977==    at 0x4C2391E: malloc (vg_replace_malloc.c:207)
==3977==    by 0x4ED2D97: SLmalloc (slcommon.c:170)
==3977==    by 0x4E71135: _pSLtt_tigetent (sltermin.c:1053)
==3977==    by 0x4E72B6A: SLtt_initialize (sldisply.c:2400)
==3977==    by 0x4E7368C: SLtt_get_terminfo (sldisply.c:2326)
==3977==    by 0x407D48: sl_init (slang.c:105)
==3977==    by 0x406911: init (main.c:54)
==3977==    by 0x406B26: main (main.c:109)
==3977== 
==3977== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 8 from 1)
==3977== malloc/free: in use at exit: 98,154 bytes in 993 blocks.
==3977== malloc/free: 1,949 allocs, 959 frees, 1,043,953 bytes allocated.
==3977== For counts of detected errors, rerun with: -v
==3977== searching for pointers to 993 not-freed blocks.
==3977== checked 701,016 bytes.
==3977== 
==3977== LEAK SUMMARY:
==3977==    definitely lost: 4,557 bytes in 66 blocks.
==3977==      possibly lost: 0 bytes in 0 blocks.
==3977==    still reachable: 93,597 bytes in 927 blocks.
==3977==         suppressed: 0 bytes in 0 blocks.
==3977== Rerun with --leak-check=full to see details of leaked memory.




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages asciijump depends on:
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libslang2                     2.1.4-3    The S-Lang programming library - r

asciijump recommends no packages.

asciijump suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
This bug is unreproducible.


--- End Message ---

Reply via email to