grasp icon indicating copy to clipboard operation
grasp copied to clipboard

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

Open AhmedSiddiq995 opened this issue 5 years ago • 2 comments

Hi, I am doing calculations on 4f^n6s^n systems, and in the end when I run jj2lsj I get the following error.

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

Backtrace for this error: #0 0x7f18add6832a #1 0x7f18add67503 #2 0x7f18ad5fcf1f #3 0x7f18adedcb8b #4 0x7f18adeddcbb #5 0x7f18adee10a8 #6 0x7f18adee272c #7 0x564dc56bc3ac #8 0x564dc56be025 #9 0x564dc56ad3ee #10 0x7f18ad5dfb96 #11 0x564dc56ad419 #12 0xffffffffffffffff Segmentation fault (core dumped)

Please help me out of this error. Regards Ahmed

AhmedSiddiq995 avatar May 08 '20 06:05 AhmedSiddiq995

Hi @AhmedSiddiq995 - open 4f systems are complex and requires a lot of experience with the codes. Unexpected things sometimes occur fot the cases which push the boundaries of the method if you don't familiarize yourself with the limits of the codes first. First check: do the code run for simpler cases?

jongrumer avatar May 18 '20 09:05 jongrumer

By now, the "Segmentation fault" issues found in grasp2K are always associated with the array size limited by integer*4. A quick solution: split the .cm files using rasfsplit tool, then try jj2lsj again. Note, it is only for the cases that the original .cm files consist of many blocks.

CYChenFudan avatar May 20 '20 03:05 CYChenFudan