Re: [CentOS] Migration to centos 7 and program seg faulting [solved]

2015-06-08 Thread Jerry Geis
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

Re: [CentOS] Migration to centos 7 and program seg faulting

2015-06-05 Thread m . roth
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.

Re: [CentOS] Migration to centos 7 and program seg faulting

2015-06-05 Thread Johnny Hughes
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

Re: [CentOS] Migration to centos 7 and program seg faulting

2015-06-05 Thread Gordon Messmer
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