Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c172e0e9c9fe32b353a62d004ccebed166a7a00b
Ticket: 1905797fffffffffffffffffffffffffffffffff
segfault in oo.test on object destroy for x86_64 arch
User & Date: v_f on 2008-03-08 21:31:36
Changes

  1. icomment:
    Logged In: YES 
    user_id=1923679
    Originator: YES
    
    There is another test script "oodestroy"
    attached, which shows quite consistent behavior
    independent of 32/64 bit arch and
    debug/optimized build. The script does NOT raise a
    segfault, but valgrind still reports illegal
    reads and memory leaks.
    
    Environment for x86_32:
    Gentoo 2007.0, gcc-4.1.2, glibc-2.6.1
    CFLAGS_DEBUG="-g -DPURIFY"
    CFLAGS_OPTIMIZE="-O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer"
    
    Environment for x86_64:
    Gentoo 2007.0, gcc-4.1.2, glibc-2.6.1
    CFLAGS_DEBUG="-g -DPURIFY"
    CFLAGS_OPTIMIZE="-O2 -march=athlon64 -mfpmath=sse -fomit-frame-pointer"
    
    Tcl and TclOO configuration:
    debug: ./configure --enable-shared --enable-symbols --disable-threads --disable-xft --srcdir=/usr/local/tcl/8.5.1-dbg/src/tcl/unix --prefix=/usr/local/tcl/8.5.1-dbg
    opt: ./configure --enable-shared --disable-symbols --disable-threads --disable-xft --srcdir=/usr/local/tcl/8.5.1/src/tcl/unix --prefix=/usr/local/tcl/8.5.1
    
    See attached valgrind reports for all four
    cases. Hope this helps.
    
    
    
  2. login: "v_f"
  3. mimetype: "text/plain"
  4. username: "v_f"