Login Register Actian.com  

Actian Community Forum


Go Back   Actian Community Forums > Development Tools > Application Development using OpenROAD
 

Reply
 
LinkBack Thread Tools Display Modes
Old 2012-02-07   #1 (permalink)
Ingres Community
 
Join Date: Mar 2009
Location: UK
Posts: 129
Default E_WT0057 An internal error has occurred in routine initvars

E_WT0057 An internal error has occurred in routine
initvars(invalid
if_declarer).
Contact technical support.

Hi,

While I'm thinking about doing as it says, anyone know what this might refer to?

What is an 'if_declarer'?

You can stop reading now if you want.

It happens when calling a local procedure recursively (on the callproc statement)

It has been caused by a parameter which is a pointer to an object.

The object was created using an InsertRow() with no parameters on an array of object.

The array of object reference came from a dynamic expression that returns an array of some other userclass.

Have I lost you yet?

I was hoping someone might be able to provide a little more detail around the error message in case there was anything I could do to man-handle the software into behaving.

The object pointer looks fine in the debugger, reporting the correct userclass etc, it's only when you step into the callproc that it crashes the product.

Thanks

Adrian
Adrian Williamson is offline   Reply With Quote
Old 2012-02-07   #2 (permalink)
Ingres Corp
 
Join Date: Feb 2007
Location: California
Posts: 173
Default

Hi Adrian,

This is one of our internal structure.
The problem may be related to some fixes we made recently: either you do not have the fix or the fix has introduced this problem. Could also not be related.
Do you have contructor in the userclasses?
What patch /version are you using?
I suggest you open an issue with Service Desk.

Thanks
__________________
Brigitte
Brigitte is offline   Reply With Quote
Old 2012-02-07   #3 (permalink)
Ingres Community
 
Join Date: Mar 2009
Location: UK
Posts: 129
Default

Hello Brigitte,

When I tried to isolate this down to a single recursive procedure of a few lines of code I got a different behaviour, the product declared that the procedure had compilation errors when it tried to call itself. (i.e. the second iteration)

But only if I included our main application; I'm working on a portable example to open the call to support with.

Thanks

Adrian
Adrian Williamson is offline   Reply With Quote
Old 2012-02-08   #4 (permalink)
Ingres Corp
 
Join Date: Feb 2007
Location: California
Posts: 173
Default

Thanks for opening the Service Desk issue and sending the testcase.
I have reproduced the problem and problem is going to be debugged.
__________________
Brigitte
Brigitte is offline   Reply With Quote
Old 2012-02-09   #5 (permalink)
Ingres Community
 
Join Date: Mar 2009
Location: UK
Posts: 129
Default

Thanks Brigitte.
Adrian Williamson is offline   Reply With Quote

Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2011 Actian Corporation. All Rights Reserved