[CentOS] Migration to centos 7 and program seg faulting

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Jun 5 17:12:45 UTC 2015


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.  Beyond that, any advice we give you would
> be blind guessing.  My blind guess would be a symbol conflict between
> your application and glibc.

Have you run lint?

        mark "we don' need no steenkin' switches!"




More information about the CentOS mailing list