Kayvan A. Sylvan wrote:

> Hi Angus,
> 
> Here is another clue. I ran the lyx executable with strace under Cygwin.
> 
> The output was very interesting and seems to point to an infinite
> loop in startup:
> 
> [...]
>    39  433123 [main] lyx 3884 mount_info::conv_to_posix_path:
>    conv_to_posix_path (/usr/local/, keep-rel, add-slash)
>    25  433148 [main] lyx 3884 normalize_win32_path: \usr\local\ =
>    normalize_win32_path (/usr/local/)
>    22  433170 [main] lyx 3884 mount_info::conv_to_posix_path: /usr/local/
>    = conv_to_posix_path (/usr/local/)
>    35  433205 [main] lyx 3884 mount_info::conv_to_posix_path:
>    conv_to_posix_path (/usr/local/, keep-rel, add-slash)
>    24  433229 [main] lyx 3884 normalize_win32_path: \usr\local\ =
>    normalize_win32_path (/usr/local/)
>    23  433252 [main] lyx 3884 mount_info::conv_to_posix_path: /usr/local/
>    = conv_to_posix_path (/usr/local/)
>    36  433288 [main] lyx 3884 mount_info::conv_to_posix_path:
>    conv_to_posix_path (/usr/local/, keep-rel, add-slash)
>    25  433313 [main] lyx 3884 normalize_win32_path: \usr\local\ =
>    normalize_win32_path (/usr/local/)
>    22  433335 [main] lyx 3884 mount_info::conv_to_posix_path: /usr/local/
>    = conv_to_posix_path (/usr/local/)
>    35  433370 [main] lyx 3884 mount_info::conv_to_posix_path:
>    conv_to_posix_path (/usr/local/, keep-rel, add-slash)
>    25  433395 [main] lyx 3884 normalize_win32_path: \usr\local\ =
>    normalize_win32_path (/usr/local/)
>    22  433417 [main] lyx 3884 mount_info::conv_to_posix_path: /usr/local/
>    = conv_to_posix_path (/usr/local/)
> 
> 
> The above is repeated forever till (I presume) stack space is exhasuted
> and LyX does not start up.
> 
> Does this give you any ideas of where to look?

Sure. This means that the s/slashify_path/internal_path/ switch was less
carefully done that it needed to be. Mea culpa.

I'll try and come up with something in the next couple of hours.

-- 
Angus

Reply via email to