Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fbdcbaa39a09b76ddfe7fcf4dc252206c0f39982
Ticket: 1462248fffffffffffffffffffffffffffffffff
core dump on Linux while [read]ing file
User & Date: andreas_kupries on 2006-04-04 00:15:17
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Thanks for your efforts ... They were partly for naught. I
    am unable to repro the bug on my i386 machine using the
    crashme3 file with crash.tcl script. I get some nice output
    in the form
    
    3/12288 >>> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
    19 20 21 22 23 24 25 26 27 28 29 30 31 32
    2/8192 >>> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
    20 21 22 23 24 25 26 27 28 29 30 31 32 33
    1/4096 >>> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
    20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
    
    
    However, I can reproduce the seg.fault using the original
    large crashme file and using the trivial code in your
    initial report. Just one change was necessary, "fconfigure
    $f -encoding utf-8". This was on a i386 machine, i.e 32bit,
    tclsh 8.4.13 (not yet released, near CVS head essentially),
    compiled with a gcc 2.95.3.
    
    The only part which seems to be the same in both your and my
    crash is the encoding, utf-8. Based on that my guess is that
     it is the utf8 code which gets into trouble for specific
    byte-sequences in the input.
    
    This is the next thing to check, using a debug build and
    other instrumentation to get a look into the behaviour.
    
    So, for now I can definitely confirm that there is crash,
    even if the exact cause is not yet known.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"