A (very small) progress report.
On Tue, Feb 27, 2007 at 11:02:01PM +0100, Ralf Wildenhues wrote:
* Charles Wilson wrote on Tue, Feb 27, 2007 at 05:42:50AM CET:
> Ralf Wildenhues wrote:
> >The only thing that's then still worrying me is that on Cygwin, the
> >mdemo and mdemo_static programs sometimes throw segmentation faults
> >on my system. Not all the time though.
>
> Well, it's failing all the time for me, but I'm not sure it's a
> segfault. What does "Hangup" mean, when reported by the shell after
> executing the app:
Good question, I don't know. I suppose there is memory corruption
earlier, and due to it anything weird can happen later, so the exit
status is not really reliable.
It's exposed by try_iterate which calls lt_dlforeachfile. I think it's
somewhere in dirent code. I have a feeling that it's not caused by
anything in Libtool, but am not sure. (Only noting this because it may
ring a bell, not because I have any evidence.)
This works:
$ mdemo/mdemo mdemo/foo1.la
$ mdemo/mdemo `pwd`/mdemo/foo1.la
This fails:
$ mdemo/mdemo ./mdemo/foo1.la
Cheers,
Ralf