On Tue, 15 Feb 2005, Leopold Toetsch wrote:

Andy Dougherty <[EMAIL PROTECTED]> wrote:
On Fri, 4 Feb 2005, Andy Dougherty wrote:

On Solaris/SPARC, I'm still seeing failure on the tests others have
reported problems for.

Failed 3/133 test scripts, 97.74% okay. 30/2167 subtests failed, 98.62%
okay.
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/dynclass/pybuiltin.t    3   768     6    3  50.00%  2 4-5
t/dynclass/pyclass.t      3   768     6    3  50.00%  2 5-6
t/dynclass/pyint.t       24  6144    25   24  96.00%  1-10 12-25
7 tests and 66 subtests skipped.

Here are some more details:

[EMAIL PROTECTED] ([EMAIL PROTECTED]) signal SEGV (no mapping at the fault 
address) in
    Parrot_switch_to_cs at line 2136 in file "packfile.c"
 2136       if (new_cs->base.pf != interpreter->code)

From which of the failing tests is this traceback? "parrot -t" should
also reveal the failing function call.

Most (if not all) of the tests failed at the same spot. (I didn't check every one, but every one I did check failed at the same spot.)


The parrot -t output for the two typical cases I have identified so far follows:

$ ./parrot -t t/dynclass/pybuiltin_2.imc
     0 new_pad 0
     2 loadlib P17, "python_group"      - P17=PMCNULL,
     5 find_global P0, "PyBuiltin", "__load__"          - P0=PMCNULL, ,
     9 invoke
Segmentation Fault(coredump)

$ ./parrot -t t/dynclass/pyint_25.imc
     0 loadlib P1, "python_group"       - P1=RetContinuation=PMC(0x78fca0 
Adr:0x0),
     3 find_type I30, "PyInt"   - I30=0,
     6 new P18, I30     - P18=PMCNULL, I30=85
     9 new P17, I30     - P17=PMCNULL, I30=85
    12 set P18, 31      - P18=PyInt=PMC(0x78c5e0),
    15 set P17, -13     - P17=PyInt=PMC(0x78c5c8),
    18 new P16, I30     - P16=PMCNULL, I30=85
    21 bxor P16, P18, P17       - P16=PyInt=PMC(0x78c5b0), 
P18=PyInt=PMC(0x78c5e0), P17=PyInt=PMC(0x78c5c8)
    25 print P16        - P16=PyInt=PMC(0x78c5b0)
    27 print " "
    29 set P5, P17      - P5=SArray=PMC(0x78fcb8), P17=PyInt=PMC(0x78c5c8)
    32 set I0, 1        - I0=0,
    35 set I1, 0        - I1=0,
    38 set I2, 0        - I2=0,
    41 set I3, 1        - I3=1,
    44 set I4, 0        - I4=0,
    47 set P2, P18      - P2=PMCNULL, P18=PyInt=PMC(0x78c5e0)
    50 callmethodcc "__xor__"
# find_method class 'PyInt' method '__xor__': no
# find_method class 'PyInt' method '__xor__': Sub
# find_method class 'PyNCI' method '__get__': no
# find_method class 'PyNCI' method '__get__': Sub
# Invoking __get__ on PyNCI
Segmentation Fault(coredump)

--
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to