sh.exe crash (WinARM Version 20060117)

OP #1171020
Rate this post
• ▲ useful
▼ not useful
I have experienced page faults on sh.exe when running make. It appears
that the issue is related to very long command lines (the particular
command line that caused the problems was a arm-elf-gcc invokation of
about 950 characters).

I experienced this on one machine, then it went away - I thought I'd
solved it by uninstalling Cygwin, but the problem reappered on another
machine. I suspect a buffer overrun or similar, hence the unpredictable
behaviour.

I replaced the sh.exe in the WinARM Version 20060117 distribution with
zsh.exe from http://unxutils.sourceforge.net/UnxUpdates.zip. This seems
to have solved the problem, but I have not tested it on a large sample.

I note that in the recent update you are now using MinGW. Probably wise,
but since it seems that I now have a stable toolchain, I'll stick with
it for now - unless anyone can give me a compelling reason to migrate?

Thanks for the great work BTW, getting rid of Cygwin dependency has
solved a number of issues for me.

Clifford
Guest #1171021
Rate this post
• ▲ useful
▼ not useful
Clifford Slocombe wrote:

> I replaced the sh.exe in the WinARM Version 20060117 distribution with
> zsh.exe from http://unxutils.sourceforge.net/UnxUpdates.zip. This seems
> to have solved the problem, but I have not tested it on a large sample.

Thanks for the information.

> I note that in the recent update you are now using MinGW. Probably wise,
> but since it seems that I now have a stable toolchain, I'll stick with
> it for now - unless anyone can give me a compelling reason to migrate?

Oh, I hope that it's not only "probably wise". I have got some
problem-reports for the previous WinARM-versions which could all be
solved with the mingw-tools. I have now decided to include the
mingw-Tools as default. WinAVR includes the mingw-tools too an a lot of
people use WinAVR so I guess it not a very unwise to follow them.

No problem if the old tools work for you, but I will stay with the
mingw-tools until there are new problems reported which are caused by
them. I will keep your suggestions about the unxupdates-zsh in mind.

> Thanks for the great work BTW, getting rid of Cygwin dependency has
> solved a number of issues for me.

Issues with the Cygwin-dependency have been one of the reasons to create
the first WinARM-collection. I'm glad that the WinARM-collection is
useful for you.

BTW: additional small examples for the WinARM-example-colletion are
always welcome for tests and as templates for own developments. I
currently do not own for example a STR7-board so some tested examples
for these targets would be a good. (And hitting the google-ads from time
to time is of cause welcome too...)

Martin Thomas

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.