Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#490 Stack overflow in trunk rev 2320

3.3.0
closed
nobody
5
2012-08-14
2008-01-29
Mark Miesfeld
No

There is an intermitent stack overflow with builds around svn 2320 in trunk.

It seems to happen with the OLE test cases in the test suite. The SpecialFolders test group in particular has a number of test case with a form similar to:

objShell = .oleObject~new('Shell.Application')
sp = '22'~x2d
objFolder = objShell~nameSpace(sp)

objCollection = objFolder~items
ctr = 0
do objItem over objCollection
    ctr += 1
end

These OLE collections can be large in size, although that could be unrelated.

The times I saw it, it only happened when I ran the whole test suite. Simplifying the failing test case would result in no error.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2008-01-29

    Logged In: YES
    user_id=191588
    Originator: YES

    I was going to open a separate bug for the following error:

    [error] [20080128 17:00:48.086000]
    Test: TESTDEFAULTPRINTER
    Class: Printers.testgroup
    File: E:\work.ooRexx...\extensions\platform\windows\ole\Printers.testGroup
    Event: [SYNTAX 98.909] raised unexpectedly.
    Class "ª<
    k \╚
    " not found
    Program:
    Line: 101
    101 - objWMIService = .oleObject~getObject("winmgmts:\.\root\cimv2")

    But, I think this is related to the stack overflow. The above error came from running:

    E:\ooRexxUnit\3.x>testOORexx.rex -f ooRexx\extensions\platform\windows\ole\SpecialFolders.testGroup

    But, now I get the stack overflow when I run the exact same command line several hours later.

    It goes without saying that the number of items in the OLE collections in the special folders is constantly changing. More cookies in the cookie folder, more or less items in the trash bin, more or less items in the Internet Explorer temporary files folder, etc. This varying nature of the number of OLE items being produced by the test case is probably the cause of the intermitent nature of this problem.

     
  • Mark Miesfeld
    Mark Miesfeld
    2008-01-31

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 2328.

     
  • Mark Miesfeld
    Mark Miesfeld
    2008-02-03

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 2328.

     
  • Mark Miesfeld
    Mark Miesfeld
    2008-02-03

    Logged In: YES
    user_id=191588
    Originator: YES

    Browser cache reopened this. ;-(

     


Anonymous


Cancel   Add attachments