Weird application crashing with madexcept 4 and madexcept 5
-
- Posts: 6
- Joined: Thu Feb 14, 2019 8:45 pm
Weird application crashing with madexcept 4 and madexcept 5
Hello,
I'm using madexcept 5.0 in my application and recently the application started to hang or stop working and I do not know the causes.
The problem does not happen in a specific place, every time it happens in a different place.
I'm not sure if the problem is really related to MADEXCEPT.
Attached is one of the reports I've been able to capture and some bugreports.
I have tried with version 5 and 4 but the problem happens in both.
Any help is welcome at this time.
I'm using madexcept 5.0 in my application and recently the application started to hang or stop working and I do not know the causes.
The problem does not happen in a specific place, every time it happens in a different place.
I'm not sure if the problem is really related to MADEXCEPT.
Attached is one of the reports I've been able to capture and some bugreports.
I have tried with version 5 and 4 but the problem happens in both.
Any help is welcome at this time.
- Attachments
-
- Windows Events.zip
- (6.07 KiB) Downloaded 294 times
Re: Weird application crashing with madexcept 4 and madexcep
There's no indication that madExcept would be at fault here. Have you tried compiling your program without madExcept to double check?
FWIW, looking at your bug reports, my best guess would be that there's a window which has a NULL window proc, or something weird like that. I don't know if that's even possible. But at least it seems that the message loop directly jumps to code address 0, or something near to that.
FWIW, looking at your bug reports, my best guess would be that there's a window which has a NULL window proc, or something weird like that. I don't know if that's even possible. But at least it seems that the message loop directly jumps to code address 0, or something near to that.
-
- Posts: 6
- Joined: Thu Feb 14, 2019 8:45 pm
Re: Weird application crashing with madexcept 4 and madexcep
My God, this problem is driving me crazy.
So far I have not got any information that will give me any clue.
Your opinion is very important to me. I do not know what else to do.
So far I have not got any information that will give me any clue.
Your opinion is very important to me. I do not know what else to do.
Re: Weird application crashing with madexcept 4 and madexcep
Well, you're saying "recently the application started to hang or stop working". So the problem is probably caused by something you changed recently? The best approach would probably be to revert to whatever state was still working fine, and then try to find out which change caused the problem.
-
- Posts: 6
- Joined: Thu Feb 14, 2019 8:45 pm
Re: Weird application crashing with madexcept 4 and madexcep
Thank you for your attention.
I will try to investigate the SVN changes.
I will try to investigate the SVN changes.
-
- Posts: 6
- Joined: Thu Feb 14, 2019 8:45 pm
Re: Weird application crashing with madexcept 4 and madexcep
Hello,
I'm sorry to insist.
Do you know any other way I can identify the cause of this problem?
I've reviewed, each line of code changed since the last version, but I did not find anything.
The problem only happens on some computers, and I can not play it internally. It looks like something with the windows version, or something.
Another detail, after the error happens, if you close the application and reopen and redo exactly the same operations, the error does not occur.
I know this is not the purpose of the forum, but maybe someone knows a tool that can give me some clue.
Thank you very much for the help.
Attached is a new bugreport...
I'm sorry to insist.
Do you know any other way I can identify the cause of this problem?
I've reviewed, each line of code changed since the last version, but I did not find anything.
The problem only happens on some computers, and I can not play it internally. It looks like something with the windows version, or something.
Another detail, after the error happens, if you close the application and reopen and redo exactly the same operations, the error does not occur.
I know this is not the purpose of the forum, but maybe someone knows a tool that can give me some clue.
Thank you very much for the help.
Attached is a new bugreport...
Re: Weird application crashing with madexcept 4 and madexcep
Is there any older version of your software which you know for sure does not have this problem?
-
- Posts: 6
- Joined: Thu Feb 14, 2019 8:45 pm
Re: Weird application crashing with madexcept 4 and madexcep
Yes, the problem started with version 6.1.0 of our software.
Analyzing SVN, I did not find anything that could cause the problem, so I started to think that it could be some external component.
Many times the software simply closes when you switch the window to another screen like SKYPE for example.
Another strange situation is that even with the software out of focus, it throws exceptions when I try to copy text in another window.
Today I saved a bugreport and when I switched the window to copy the file, the application raised an exception when I pressed ctrl + c, even though it was not in the application. It's really really weird.
It even seems crazy.
Analyzing SVN, I did not find anything that could cause the problem, so I started to think that it could be some external component.
Many times the software simply closes when you switch the window to another screen like SKYPE for example.
Another strange situation is that even with the software out of focus, it throws exceptions when I try to copy text in another window.
Today I saved a bugreport and when I switched the window to copy the file, the application raised an exception when I pressed ctrl + c, even though it was not in the application. It's really really weird.
It even seems crazy.
Re: Weird application crashing with madexcept 4 and madexcep
What happens if you recompile the 6.1.0 sources, but keep all external components at the same version you're using now? Does the problem still occur?
-
- Posts: 6
- Joined: Thu Feb 14, 2019 8:45 pm
Re: Weird application crashing with madexcept 4 and madexcep
Hello, Madshi.
Thank you very much for your attention.
Today I solved the problem, it was related to the fastreport component. A report file that was loaded at system startup caused all this impact.
In fact I did not get it right, the reason for the problem, but the important thing is that I found the solution.
Thank you immensely for your dedication.
Hugs
Thank you very much for your attention.
Today I solved the problem, it was related to the fastreport component. A report file that was loaded at system startup caused all this impact.
In fact I did not get it right, the reason for the problem, but the important thing is that I found the solution.
Thank you immensely for your dedication.
Hugs
Re: Weird application crashing with madexcept 4 and madexcep
Glad to hear you got it solved!