openmotif, .rdata, shared libs and runtime linking/loading problem

Avi Cohen Stuart avics@xs4all.nl
Wed Aug 16 09:27:00 GMT 2006


Hi Matthew,

>> [snip]
>> gdb reports the following:
>> Program received signal SIGSEGV, Segmentation fault.
>> [snip]
>>
>> The address it is trying to write to appears to be a read only address in 
>> the attempt to resolve some adresses and updating pointers it crashes.
>
> I've no idea why openmotif/whatever would be broken, but the above 
> sentence makes me wonder if '-fwritable-strings' (gcc option) would help. 
> If it does, shame on someone for writing bad code.

Note however that the SIGSEGV occurs during the loading of the binary and 
its shared libaries and not during execution of the code.

>> N.B. sorry for the repost. I suspect that a different subject draws more 
>> attention...
>
> Yes. It draws attention to the fact that you have now (potentially) 
> annoyed us by posting twice.

I appologize for that. At least I got an answer that I can try :-) but since 
it appears to be a linking and loading problem I doubt it will solve the 
problem.

Thanks. 




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list