jxjo / Xoptfoil-JX

Xoptfoil-JX - modified version
GNU General Public License v3.0
14 stars 5 forks source link

zsh: segmentation fault #27

Closed Mipme closed 3 years ago

Mipme commented 3 years ago

Hi Jojo,

i am getting this error when running an optimization on my MacBook M1. Freshly installed the current master.

I'm not absolutly sure, but it seems to only happen with hick-henne algorythm.

Any ideas how to fix this?

jxjo commented 3 years ago

Hi Mipme,

... do you compile the version?

If yes, then change the line in the build...job from -DCMAKE_BUILD_TYPE:STRING="Release" ^ to -DCMAKE_BUILD_TYPE:STRING="Debug" ^

This will give additional information when the program aborts.

regards

Jochen

Mipme commented 3 years ago

Hi Jochen,

did that. Hope this helps:

Genetic algorithm optimization progress:

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

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

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

Backtrace for this error:

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

Backtrace for this error:

Backtrace for this error:

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

Backtrace for this error:

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

Backtrace for this error:

Backtrace for this error:

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

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

Backtrace for this error:
#0  0x100c51aeb
#0  0x100c51aeb
#0  0x100c51aeb
#1  0x100c50dab
#1  0x100c50dab
#0  0x100c51aeb
#0  0x100c51aeb

Backtrace for this error:
#2  0x19bb21c43
#1  0x100c50dab
#2  0x19bb21c43
#0  0x100c51aeb

Program received signal SIGTRAP: Trace/breakpoint trap.

Program received signal SIGTRAP: Trace/breakpoint trap.
#0  0x100c51aeb
#1  0x100c50dab
#1  0x100c50dab

Backtrace for this error:
#2  0x19bb21c43
#1  0x100c50dab
#2  0x19bb21c43
#2  0x19bb21c43

Program received signal SIGTRAP: Trace/breakpoint trap.

Backtrace for this error:
#2  0x19bb21c43

Program received signal SIGTRAP: Trace/breakpoint trap.

Backtrace for this error:

Program received signal SIGTRAP: Trace/breakpoint trap.
#1  0x100c50dab

Backtrace for this error:
#0  0x100c51aeb
#0  0x100c51aeb
#1  0x100c50dab
#0  0x100c51aeb
#1  0x100c50dab
#2  0x19bb21c43
#3  0x1a5518b6b

Backtrace for this error:
#1  0x100c50dab
#2  0x19bb21c43

Program received signal SIGTRAP: Trace/breakpoint trap.

Backtrace for this error:
#1  0x100c50dab
#0  0x100c51aeb
#2  0x19bb21c43

Program received signal SIGTRAP: Trace/breakpoint trap.

Backtrace for this error:
#2  0x19bb21c43
#0  0x100c51aeb
#4  0x1a551b167
#0  0x100c51aeb
#5  0x100d40abf
#3  0x1a5518b6b
#1  0x100c50dab
#1  0x100c50dab
#3  0x1a5518b6b
#6  0x100c51aeb
#4  0x1a551b167
#7  0x100c50dab
#2  0x19bb21c43
#5  0x100d40abf
#8  0x19bb21c43
#3  0x1a5518b6b
#6  0x100c51aeb
#4  0x1a551b167
#7  0x100c50dab
#5  0x100d40abf
#1  0x100c50dab
#4  0x1a551b167
#8  0x19bb21c43
#5  0x100d40abf
#6  0x100c51aeb
#2  0x19bb21c43
#2  0x19bb21c43
#2  0x19bb21c43
#3  0x1a5518b6b
#4  0x1a551b167
#5  0x100d40abf
#6  0x100c51aeb
#0  0x100c51aeb
#7  0x100c50dab
#7  0x100c50dab
#1  0x100c50dab
#8  0x19bb21c43
#2  0x19bb21c43
#6  0x100c51aeb
#8  0x19bb21c43
#7  0x100c50dab
#8  0x19bb21c43
#3  0x1a5518b6b
#4  0x1a551b167
#5  0x100d40abf
#6  0x100c51aeb
#7  0x100c50dab
#8  0x19bb21c43
#3  0x1a5518b6b
#4  0x1a551b167
#5  0x100d40abf
#6  0x100c51aeb
#7  0x100c50dab
#8  0x19bb21c43

Program received signal SIGTRAP: Trace/breakpoint trap.

Backtrace for this error:
#0  0x100c51aeb
#1  0x100c50dab
#2  0x19bb21c43
#3  0x1a5518b6b
#4  0x1a551b167
#5  0x100d40abf
#6  0x100c51aeb
#7  0x100c50dab
#8  0x19bb21c43
jxjo commented 3 years ago

Hi,

... oh! I never used or tested "genetic algorithm ' in Xoptfoil-JX - but used only particle swarm. If you want to make trials with genetic, you should use the original Xoptfoil.

regards

Jochen