User forums > Help

Segfault in Codeblocks

<< < (2/2)

oBFusCATed:

--- Quote from: NeilK on October 12, 2016, 06:24:30 am ---Can I unexport and rerun my executable and send you the ldd output.

--- End quote ---
Yes, use the unset command.


--- Quote from: NeilK on October 12, 2016, 06:24:30 am --- The last four flags in Compiler settings in Project build options relate to AMD....(x86-64 instruction set)... These are all unchecked.

--- End quote ---
From this explanation it seems that you're using the default GNU GCC compiler. This compiler is meant to be used on Intel x86/x86_64 processors, not arms, and the flags are made for Intel processors. So you should not be using any of these. Can you post the full rebuild log?

The next step in debugging this is to start gdb from the command line.
Inspect the log of the debugger in C::B and repeat the commands in the command line and test if it crashes in a similar fashion. Then start removing commands and tell me which command is causing the problem.

NeilK:
Dear Obfuscator,
It appears this is a known problem for GDB and Ubuntu Mate.  See https://bugs.launchpad.net/gdb/+bug/1576432.  My son-in-law has now rebuilt my Raspberry with LXTerminal 0.2.0 and I am able to debug OpenCV C++ programs in CodeBlocks.  I look forward to a fruitful relationship with CodeBlocks.
Thanks again for all your help
NeilK

Navigation

[0] Message Index

[*] Previous page

Go to full version