Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
>>>> Could you perhaps compile src/messages.C with debug info.
>>>> $ touch src/messages.C
>>>> $ cd ${BUILDDIR}
>>>> $ make CXXFLAGS="-g -W -Wall"
>>>
>> | Did that. The interesting part of the backtrace:
>>>
>> Stuff like this can be hard to debug, and if you are using the
>> debugger you have to compile without optimization, and preferably with
>> inlining turned off.
>> 
>> -O0 -fno-inline -fno-default-inline
>> Please try this.
>
| Is it not sufficient to compile the file that is causing the SIGSEGV in this 
| way? If so, then the prescription above should be enough, no?

Perhaps, but you will easily get fooled by inlining.

-g is not enough.

-- 
        Lgb

Reply via email to