Thanks for the suggestions.
My case ended up being a large local variable (stack data)that was fine
before and not fine on CentOS 7.
If found it by #ifdef entire main function, my program then ran. I then
just started letting in chunks of code to narrow it down.
jerry
Gordon Messmer wrote:
On 06/05/2015 04:18 AM, Jerry Geis wrote:
when I debug:
gdb program
break main
run
I get a seg fault at or before main
What might I be looking for in this case?
Even if it segfaults before main(), you should be able to examine the
stack to see what's going on.
On 06/05/2015 06:18 AM, Jerry Geis wrote:
Everything on Centos 7 seems fine - except - my program.
I am trying to compile and run on centos 7.
Everything compiles/runs on C6, the executable from C6 runs on C7.
when I compile and run on C7 - I get a SEG fault.
when I debug:
gdb program
On 06/05/2015 04:18 AM, Jerry Geis wrote:
when I debug:
gdb program
break main
run
I get a seg fault at or before main
What might I be looking for in this case?
Even if it segfaults before main(), you should be able to examine the
stack to see what's going on. Beyond that, any advice we
4 matches
Mail list logo