How to fix this error "A segmentation fault occured in "edgcpfe.x​86-mingw32​.exe" "

Hello Matlab team, Am using polyspace R2012b software for "C" source code compilation. I created a project and kept using it for continuous verification. In midst, i face this error [A segmentation fault occured in "edgcpfe.x86-mingw32.exe"]. Please assist me how to fix this ?

답변 (1개)

Alexandre De Barros
Alexandre De Barros 2014년 9월 22일
Hi !
With this kind of problem, you should contact the support, and send them the log of the verification.
Best regards,
Alex

댓글 수: 4

Hi Alex Debarros,
When i encountered this issue, i recreated my project and it was working fine later. Also, in the help manuals this error is provided with a solution.
i.e
Fail with an error if no memory space is available: o
Windows — Error: A segmentation fault occured in "edgcpfe.x86-mingw32.exe"
o
Linux — Error: The process "edgcpfe.x86-linux" received the signal 11.
*
Take a long time to complete.
To avoid this issue, rerun your verification with the following option:
-cfe-extra-flags --truncate_huge_initializer
And this is where i have a problem. How to use "-cfe-extra-flags --truncate_huge_initializer" these flags. So Alex, any assistance regarding these flags is very helpful to me.
Hi !
To specify this extra option, with the release R2012b, go to "Machine Configuration" then "Non-official options".
Regards,
Alex
Carl
Carl 2014년 10월 14일
편집: Carl 2014년 10월 14일
I have the same issue, I'm also running R2012b getting the same Segmentation fault message.
I tried entering the above fix into the non-official options, however I still get the same segmentation fault.
From what I could find online, it appears the mingw stack might be too small. The fix for this (outside Polyspace), is adding -Wl, --stack, STACKSIZE, where stacksize is some number, to your make.
Is there any way to increase the stack size of mingw or is this some other error?
After some investigations with Carl, we found that it is due to the Compilation assistant.
To disable it, go to Preferences, then to the "Project and Results Folder" tab and uncheck "Use Compilation Assistant". Please note that disabling the assistant will not impact the results, since it is just a feature that suggests setup options.
--- Alex

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Troubleshooting in Polyspace Products for Ada에 대해 자세히 알아보기

질문:

2014년 9월 22일

편집:

2014년 10월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by