New Error

This forum is for eXpress++ general support.
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: New Error

#11 Post by rdonnay »

Please send me your DEBUG.LOG file now.

We don't need it to error for me to see what is being passed to _IsIcon().
The eXpress train is coming - and it has more cars.

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: New Error

#12 Post by omni »

Roger,

Got the error. Here is a copy of the error log section:

ERROR OBJECT:
oError:args :
-> VALTYPE: O CLASS: XbpIcon
oError:description : Internal data structures corrupted
oError:filename :
oError:genCode : 41
oError:operation : :destroy
CALLSTACK:
Called from XBPICON:DESTROY(2120)
Called from _ISICON(11917)
Called from DC_GETBITMAP(11800)
Called from DC_XBPPUSHBUTTON:INIT(1788)
Called from _EXPRESSPUSHBUTTON(12593)
Called from DC_GETLIST:READGUI(3260)
Called from DC_READGUI(103)
Called from STUPDAT(1216)
Called from (B)STUPDATE(519)
Called from DC_XBPPUSHBUTTON:ACTION(2238) Called from (B)DC_XBPPUSHBUTTON:INIT(1808) Called from XBPPUSHBUTTON:HANDLEEVENT(964) Called from DC_GETLIST:EVENTLOOP(4388) Called from DC_GETLIST:READGUI(3647) Called from DC_READGUI(103) Called from STUPDATE(588) Called from (B)MAIN(2101) WORKAREA STATUS:

Now, I have attached the debug.log. If you go to line 3752 you will find where i created a blank line before and after, and you will also see the error log being emailed.

Notice that the exact line that caused the error is the same as a multitude of the exact line (from the same user) all day without an error. The are in updating the same file (this user is) for a couple of days constantly, and eventually get the error message. Same for other users, different windows. This is just the first one today and it happens to be what she does.

Thanks

Fred
Attachments
debug.zip
This is just a .log file. renamed it in order to sent it. did not allow a .log file.
(1.04 MiB) Downloaded 539 times

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: New Error

#13 Post by omni »

Roger,

Received following error, pasted from emailed error log:

ERROR OBJECT:
oError:args :
-> VALTYPE: O CLASS: XbpIcon
oError:description : Internal data structures corrupted
oError:filename :
oError:genCode : 41
oError:operation : :destroy
CALLSTACK:
Called from XBPICON:DESTROY(2120)
Called from _ISICON(11917)
Called from DC_GETBITMAP(11800)
Called from DC_XBPPUSHBUTTON:INIT(1788)
Called from _EXPRESSPUSHBUTTON(12593)
Called from DC_GETLIST:READGUI(3260)
Called from DC_READGUI(103)
Called from STUPDAT(1216)
Called from (B)STUPDATE(519)
Called from DC_XBPPUSHBUTTON:ACTION(2238) Called from (B)DC_XBPPUSHBUTTON:INIT(1808) Called from XBPPUSHBUTTON:HANDLEEVENT(964) Called from DC_GETLIST:EVENTLOOP(4388) Called from DC_GETLIST:READGUI(3647) Called from DC_READGUI(103) Called from STUPDATE(588) Called from (B)MAIN(2101) WORKAREA STATUS:


Also, attached is the debug log file, renamed to zip just so it could be sent, so just rename it back to .log

You will notice the error at 3752, where i added some blank lines before and after. Then the email that was sent to us.

Thanks

Fred
Omni
Attachments
debug.zip
(1.04 MiB) Downloaded 542 times
debug.zip
(1.04 MiB) Downloaded 554 times

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: New Error

#14 Post by omni »

Roger,

It keeps telling me this post is being saved with attachment, but its never there. Guess I do not know how to do attachements right.

Here is error message:


ERROR OBJECT:
oError:args :
-> VALTYPE: O CLASS: XbpIcon
oError:description : Internal data structures corrupted
oError:filename :
oError:genCode : 41
oError:operation : :destroy
CALLSTACK:
Called from XBPICON:DESTROY(2120)
Called from _ISICON(11917)
Called from DC_GETBITMAP(11800)
Called from DC_XBPPUSHBUTTON:INIT(1788)
Called from _EXPRESSPUSHBUTTON(12593)
Called from DC_GETLIST:READGUI(3260)
Called from DC_READGUI(103)
Called from STUPDAT(1216)
Called from (B)STUPDATE(519)
Called from DC_XBPPUSHBUTTON:ACTION(2238) Called from (B)DC_XBPPUSHBUTTON:INIT(1808) Called from XBPPUSHBUTTON:HANDLEEVENT(964) Called from DC_GETLIST:EVENTLOOP(4388) Called from DC_GETLIST:READGUI(3647) Called from DC_READGUI(103) Called from STUPDATE(588) Called from (B)MAIN(2101) WORKAREA STATUS:


On line 3752 of the log file there is a blank line added just to help identify. This person does the same window all day and then eventually got this error. If you look above the error line, you will see the same thing on many occasions, none that caused errors. These are addbutton commands. So far this has only occurred on windows with addbutton as part of the dcread gui.

If you do not have the log file let me know, guess I can email it to you. Saved as a .zip file (just renamed it for convenience to get it to upload)

Fred
omni

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: New Error

#15 Post by omni »

For whatever reason I do not see the attachment that I sent, so let me know if you did not get it. Also do not see our messages going back and forth this afternoon.

Fred

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: New Error

#16 Post by rdonnay »

Ok, that's what I needed. I now see what we need to do.

Replace the STATIC FUNCTION _IsIcon() in _DCGETBX.PRG with the following:

Code: Select all

STATIC FUNCTION _IsIcon( nResource, cResFile, oIcon )

LOCAL lStatus := .f.

#if XPPVER > 1900345
IF nResource == NIL
  RETURN .f.
ENDIF

oIcon := XbpIcon():new():create()
lStatus := oIcon:load(cResFile,nResource)

IF !lStatus
  oIcon:destroy()
  oIcon := nil
ENDIF
#endif

RETURN lStatus
Then rebuild DCLIPX.DLL by running BUILD19_SL1.BAT.
The eXpress train is coming - and it has more cars.

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: New Error

#17 Post by omni »

Roger,

Made the change. Same error, just a new line#. So it got by the resource being nil.

Maybe we should add a similar line if the icon is nil? (since there is never an icon, at least not at the moment). Not sure, just asking.

Fred

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: New Error

#18 Post by rdonnay »

What is the error. What line of code?
The eXpress train is coming - and it has more cars.

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: New Error

#19 Post by omni »

Here it is. 4 errors today. same line# as this one, but all different programs in our app.


ERROR OBJECT:
oError:args :
-> VALTYPE: O CLASS: XbpIcon
oError:description : Internal data structures corrupted
oError:filename :
oError:genCode : 41
oError:operation : :destroy
CALLSTACK:
Called from XBPICON:DESTROY(2120)
Called from _ISICON(11922)
Called from DC_GETBITMAP(11800)
Called from DC_XBPPUSHBUTTON:INIT(1788)
Called from _EXPRESSPUSHBUTTON(12598)
Called from DC_GETLIST:READGUI(3284)
Called from DC_READGUI(103)

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: New Error

#20 Post by rdonnay »

This makes no sense. Send me your modified _DCGETBX.PRG and your DEBUG.LOG.
The eXpress train is coming - and it has more cars.

Post Reply