[Gambas-user] stack overflow error on gambas2 svn rev 1620

Benoit Minisini gambas at ...1...
Sat Oct 4 23:05:22 CEST 2008


On jeudi 02 octobre 2008, M0E Lnx wrote:
> Since rev 1601 or so, I've been getting this stack overflow error
>
> Here is the output from the terminal
>
>  ERROR: #3: Stack overflow
> 0: ?
> 1: FOutput.Insert.55
> 2: Design.Insert.809
> 3: Design.Process_Error.100
> 4: FOutput.Insert.55
> 5: Design.Insert.809
> 6: Design.Process_Error.100
> 7: FOutput.Insert.55
> 8: Design.Insert.809
> 9: Design.Process_Error.100
> 10: FOutput.Insert.55
> 11: Design.Insert.809
> 12: Design.Process_Error.100
> 13: FOutput.Insert.55
> 14: Design.Insert.809
> 15: Design.Process_Error.100
> 16: FOutput.Insert.55
> 17: Design.Insert.809
> 18: Design.Process_Error.100
> 19: FOutput.Insert.55
> 20: Design.Insert.809
> 21: Design.Process_Error.100
> 22: FOutput.Insert.55
> 23: Design.Insert.809
> 24: Design.Process_Error.100
> 25: FOutput.Insert.55
> 26: Design.Insert.809
> 27: Design.Process_Error.100
> 28: FOutput.Insert.55
> 29: Design.Insert.809
> 30: Design.Process_Error.100
> 31: FOutput.Insert.55
> 32: Design.Insert.809
> 33: Design.Process_Error.100
> 34: FOutput.Insert.55
> 35: Design.Insert.809
> 36: Design.Process_Error.100
> 37: FOutput.Insert.55
> 38: Design.Insert.809
> 39: Design.Process_Error.100
> 40: FOutput.Insert.55
> 41: Design.Insert.809
> 42: Design.Process_Error.100
> 43: FOutput.Insert.55
> 44: Design.Insert.809
> 45: Design.Process_Error.100
> 46: FOutput.Insert.55
> 47: Design.Insert.809
> 48: Design.Process_Error.100
> 49: FOutput.Insert.55
> 50: Design.Insert.809
> 51: Design.Process_Error.100
> 52: FOutput.Insert.55
> 53: Design.Insert.809
> 54: Design.Process_Error.100
> 55: FOutput.Insert.55
> 56: Design.Insert.809
> 57: Design.Process_Error.100
> 58: FOutput.Insert.55
> 59: Design.Insert.809
> 60: Design.Process_Error.100
> 61: FOutput.Insert.55
> 62: Design.Insert.809
> 63: Design.Process_Error.100
> 64: FOutput.Insert.55
> 65: Design.Insert.809
> 66: Design.Process_Error.100
> 67: FOutput.Insert.55
> 68: Design.Insert.809
> 69: Design.Process_Error.100
> 70: FOutput.Insert.55
> 71: Design.Insert.809
> 72: Design.Process_Error.100
> 73: FOutput.Insert.55
> 74: Design.Insert.809
> 75: Design.Process_Error.100
> 76: FOutput.Insert.55
> 77: Design.Insert.809
> 78: Design.Process_Error.100
> 79: FOutput.Insert.55
> 80: Design.Insert.809
> 81: Design.Process_Error.100
> 82: FOutput.Insert.55
> 83: Design.Insert.809
> 84: Design.Process_Error.100
> 85: FOutput.Insert.55
> 86: Design.Insert.809
> 87: Design.Process_Error.100
> 88: FOutput.Insert.55
> 89: Design.Insert.809
> 90: Design.Process_Error.100
> 91: FOutput.Insert.55
> 92: Design.Insert.809
> 93: Design.Process_Error.100
> 94: FOutput.Insert.55
> 95: Design.Insert.809
> 96: Design.Process_Error.100
> 97: FOutput.Insert.55
> 98: Design.Insert.809
> 99: Design.Process_Error.100
> 100: FOutput.Insert.55
> 101: Design.Insert.809
> 102: Design.Process_Error.100
> 103: FOutput.Insert.55
> 104: Design.Insert.809
> 105: Design.Process_Error.100
> 106: FOutput.Insert.55
> 107: Design.Insert.809
> 108: Design.Process_Error.100
> 109: FOutput.Insert.55
> 110: Design.Insert.809
> 111: Design.Process_Error.100
> 112: FOutput.Insert.55
> 113: Design.Insert.809
> 114: Design.Process_Error.100
> 115: FOutput.Insert.55
> 116: Design.Insert.809
> 117: Design.Process_Error.100
> 118: FOutput.Insert.55
> 119: Design.Insert.809
> 120: Design.Process_Error.100
> 121: FOutput.Insert.55
> 122: Design.Insert.809
> 123: Design.Process_Error.100
> 124: FOutput.Insert.55
> 125: Design.Insert.809
> 126: Design.Process_Error.100
> 127: FOutput.Insert.55
> 128: Design.Insert.809
> 129: Design.Process_Error.100
> 130: FOutput.Insert.55
> 131: Design.Insert.809
> 132: Design.Process_Error.100
>
>
> The error is not really consistent, but as far as I can tell,  it
> happens during the following course of events
> My application is kind of like a wizard, first step allows you to
> switch the system language.
>
> So, when the user selects a language listed in a lisbox, click next,
> the forms are destroyed, and then re-created with the new
> system.language setting
> And that's when all of this happens
>
> I'd like to know if this is something wrong in my code or is it a bug
> in the gambas code?
>

It was a bug. I have just fixed it in revision 1629.

Regards,

-- 
Benoit Minisini




More information about the User mailing list