Signal SIGSEGV: Segmentation fault

Dear all,

I just encountered following error while executing a TOUGH-ECO2M sample problem: 

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7F9A6C75F0F7
#1  0x7F9A6C75F6D4
#2  0x7F9A6BEAB49F
#3  0x4522FA in rz2d_ at meshm.f:218
#4  0x4530D8 in meshm_ at meshm.f:45
#5  0x4166FC in input_ at t2fm.f:1130
#6  0x41C7EF in tough2 at t2fm.f:557
Segmentation fault (core dumped)

I build a model with 1200 grid blocks successfully but when I increased the number of grid blocks to 12000 I got this error. I also set up the number of elements and connections in T2 but it didn't help. 

I would be thankful if someone helps me to solve this issue.



1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Ramin,


    Edit file meshm.f, and globally replace all 8 occurrences of




    Recompile, and it should work.



Like1 Follow
  • 7 yrs agoLast active
  • 1Replies
  • 1168Views
  • 3 Following