CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Segmentation Violation (http://www.cfd-online.com/Forums/fluent/48296-segmentation-violation.html)

Corentin May 21, 2008 03:55

Segmentation Violation
 
Hi,

I am having trouble in Fluent with a segmentation violation, I spent days on it and I still don't have a clue.

I don't get it at all, but may be you'll figure out what's wrong.

This is happening in a DPM UDF. I more or less get this message :

******

Advancing DPM iterations...

stack backtrace generated from id 5455 on signal 1

/lib64/libc.so.6(fclose+0x29)[0x369185e649]

(SEGMENTATION VIOLATION)

Error object : #f

*****

I see there is a 'fclose' problem, but I checked every pointers, and everything look fine.

Is there ANY way to get the line where the segmentation occurs? I have thousand of lines, I'm getting crazy.

I put lot of printing markers in the code, everything is fine in one time step, but at a point, I have this segmentation, and even the first marker in my code isn't reached (it's located just after the declaration of variables...)

If you have any clue, please let me know.

By the way, this forum rocks ^^

Thanks :)


redsnow February 13, 2011 02:07

I met exactly the same problem with you
 
I met exactly the same problem with you. Do you get a solution yet? Could you share it with me?


All times are GMT -4. The time now is 19:53.