Fatal error

This forum is for eXpress++ general support.
Post Reply
Message
Author
c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Fatal error

#1 Post by c-tec »

Hello,
in my program I get after some days of running sometimes an fatal error when I am setting the caption of a button. Has anybody an idea what could cause this error in setcaption() ?
regards
Rudolf

my code:

Code: Select all

if oMSGSAY:status() > 0
      oMSGSAY:setcaption(XTOC(cMsg))
...
the error:

Code: Select all

FATAL ERROR LOG
Not recoverable Error!
SYS Thread-ID: 976
Module: MOM
Error Codes: EH: 1006 Sub: 0(0) OS: 0 XPP: 15
Call Stack of Thread 1 (772):
@DC_GETLIST@I@EVENTLOOP(3963)
@DC_GETLIST@I@READGUI(3677)
DC_READGUI(101)
FORMCOMMANDER(3858)
(B)TaskBarMenu(997)
@DC_GETLIST@I@READGUI(3630)
DC_READGUI(101)
TASKBARMENU(997)
PROG_START(603)
PROGMAIN(129)
MAIN(79)
Call Stack of GUI Thread (976):
@XBPPRESSPACE@I@DRAWCAPTIONSTR(1763)
GRACAPTIONSTR(191)
@DC_XBPPUSHBUTTONXP@I@DRAW(1183)
@XBPPUSHBUTTON@I@HANDLEEVENT(968)
Call Stack of Thread 3 (1664):
@XBHTTPTHREAD@I@INIT(3581)
@XBSERVER@I@ACCEPT(3086)
@XBSERVER@I@EXECUTE(3198)
Call Stack of Thread 4 (2144):
@DC_XBPPUSHBUTTONXP@I@CONFIGURECAPTIONARRAY(1747)
@DC_XBPPUSHBUTTONXP@I@SETCAPTION(1484)
SET_MSG(1399)
CALLEVENT(5489)
READ_MAILSLOT(441)
@FCSYSTHREAD@I@EXECUTE(693)
Call Stack of Thread 5 (3056):
@JD_MAGICHELPTHREAD@I@EXECUTE(60)
(B)@JD_MAGICHELPTHREAD@I@INIT@0000(36)
Call Stack of Thread 6 (32208):
@XBHTTPTHREAD@I@EXECUTE(4338)
Call Stack of Thread 7 (130532):
File: C:\FormCommander\FormCommander.exe
TimeStamp: 20121212 05:53
End of FATAL ERROR LOG.

Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

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

Re: Fatal error

#2 Post by rdonnay »

The problem appears to be in the :configureCaptionArray() method of the DC_XbpPushButtonXP() class, but I don't see why. What version of eXpress++ are you using? I need this info so I can look at that line of code.

Does this happen every time you use the :setCaption() method?
The eXpress train is coming - and it has more cars.

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Fatal error

#3 Post by c-tec »

Hello Roger,
some time ago you sent me a new modified _dcxbutt.prg (attached), the problem occurs after some days of running, the caption is changed some thousand times a day. I would close the dialog automatically after some minutes, but the timeout does not work in my version. I will update in the next days to the latest version, then I think it will be easier for you to find the problem.
regards
Rudolf
Attachments
_dcxbutt.zip
(20.78 KiB) Downloaded 629 times
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

Post Reply