Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Has this been dealt with... invoking make locks up eclipse
Has this been dealt with... invoking make locks up eclipse [message #58800] Mon, 20 January 2003 08:50 Go to next message
Eclipse UserFriend
Originally posted by: nomail.bob.com

Hi there. I'm also having problems with make causing wsad to hang. I found
this from an earlier posting in the newsgroup 4/10/2002 (10/4/2002 for you
americans out there) and this still seems to be a problem for me. When
issuing command /c set I get my path cut off after 4 characters, cmd /c set
however works fine. From what was dicussed in the mentioned thread this is
likely to be causing the eclipse tooling to hang.
Thanks in advance
mail: coxsteph @uk.ibm.com (, remove the space)
---
Found something that might be of interest here:

On my Windows 2000 SP 3 system, "command.com /c set" results in truncated
data coming back for a number of the larger environment variables, most
notably PATH, especially when entries in the path had spaces in the
pathnames.

Had the hanging problem on the latest build (10/02), with "command.com /c
set" returning my PATH as:

PATH=C:\PRO

That's all, truncated right there, no obvious reason why. Got beyond this
by juggling things around in the path such that mingw and msys were near the
start, and the entries with spaces in the pathnames were at the end.

Interestingly, "cmd /c set" on this system returns complete data for all
environment variables, no truncation. Perhaps one of the Windows wizards
could shed some light on this.
---
Re: Has this been dealt with... invoking make locks up eclipse [message #58876 is a reply to message #58800] Mon, 20 January 2003 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Stephan,
The referenced is probably misleading/out of date.
I tried to debug the same thing and the code actually no longer does
"command.com /c set",
instead it knows to use "cmd /c set" correctly.

In my case, (Alex helped me debug and did the fixes) it was because
my environment was larger than 4K. You might want to try getting your
environment variables down below 4K.
See the thread "CVS tags for builds and java/Exception bug in
Win32ProcessEx.c"
specifically the posts on "1/15/2003 5:10pm" and "1/16/2003 12:53pm" for the
final
fix (until it gets into a driver) that fixed the problem for me.

--

"The stuff we call "software" is not like anything that human society
is used to thinking about. Software is something like a machine, and
something like mathematics, and something like language, and
something like thought, and art, and information...
but software is not in fact any of those other things."
Bruce Sterling - The Hacker Crackdown

Fred A. Kulack - IBM eServer iSeries ERP, Java DB2 access, Jdbc, JTA, etc...
IBM in Rochester, MN (Phone: 507.253.5982 T/L 553-5982)
mailto:kulack@us.ibm.com Personal: mailto:kulack@magnaspeed.net
AOL Instant Messenger: Home:FKulack Work:FKulackWrk


"Stephen Cox" <nomail@bob.com> wrote in message
news:b0gtjb$rb4$1@rogue.oti.com...
> Hi there. I'm also having problems with make causing wsad to hang. I found
> this from an earlier posting in the newsgroup 4/10/2002 (10/4/2002 for you
> americans out there) and this still seems to be a problem for me. When
> issuing command /c set I get my path cut off after 4 characters, cmd /c
set
> however works fine. From what was dicussed in the mentioned thread this is
> likely to be causing the eclipse tooling to hang.
> Thanks in advance
> mail: coxsteph @uk.ibm.com (, remove the space)
> ---
> Found something that might be of interest here:
>
> On my Windows 2000 SP 3 system, "command.com /c set" results in truncated
> data coming back for a number of the larger environment variables, most
> notably PATH, especially when entries in the path had spaces in the
> pathnames.
>
> Had the hanging problem on the latest build (10/02), with "command.com /c
> set" returning my PATH as:
>
> PATH=C:\PRO
>
> That's all, truncated right there, no obvious reason why. Got beyond this
> by juggling things around in the path such that mingw and msys were near
the
> start, and the entries with spaces in the pathnames were at the end.
>
> Interestingly, "cmd /c set" on this system returns complete data for all
> environment variables, no truncation. Perhaps one of the Windows wizards
> could shed some light on this.
> ---
>
>
Re: Has this been dealt with... invoking make locks up eclipse [message #58925 is a reply to message #58800] Mon, 20 January 2003 12:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ash371952.hotmail.com

Could you please elaborate your message?
1) Do you experience hanging during build process? If yes, could you please
provide a little bit more details? Is it possible to get sample project from
you?

2) command.com is deprecated command for Win2000. I guess it exist for DOS
compatibility. Why do you try to use it? In CDT we use cmd.exe for Windows
2000.

"Stephen Cox" <nomail@bob.com> wrote in message
news:b0gtjb$rb4$1@rogue.oti.com...
> Hi there. I'm also having problems with make causing wsad to hang. I found
> this from an earlier posting in the newsgroup 4/10/2002 (10/4/2002 for you
> americans out there) and this still seems to be a problem for me. When
> issuing command /c set I get my path cut off after 4 characters, cmd /c
set
> however works fine. From what was dicussed in the mentioned thread this is
> likely to be causing the eclipse tooling to hang.
> Thanks in advance
> mail: coxsteph @uk.ibm.com (, remove the space)
> ---
> Found something that might be of interest here:
>
> On my Windows 2000 SP 3 system, "command.com /c set" results in truncated
> data coming back for a number of the larger environment variables, most
> notably PATH, especially when entries in the path had spaces in the
> pathnames.
>
> Had the hanging problem on the latest build (10/02), with "command.com /c
> set" returning my PATH as:
>
> PATH=C:\PRO
>
> That's all, truncated right there, no obvious reason why. Got beyond this
> by juggling things around in the path such that mingw and msys were near
the
> start, and the entries with spaces in the pathnames were at the end.
>
> Interestingly, "cmd /c set" on this system returns complete data for all
> environment variables, no truncation. Perhaps one of the Windows wizards
> could shed some light on this.
> ---
>
>
Re: Has this been dealt with... invoking make locks up eclipse [message #59074 is a reply to message #58925] Tue, 21 January 2003 08:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nomail.bob.com

I've installed F1 from the downloads site from eclipse. Currently my path is
weighing in at 4020 bytes which is under the 4k limit mentioned in the
newsgroups: CVS tags for builds and java/Exception bug in Win2Process.ex.c.
This is with all paths reduced to short path names.
I create a new c++ project in wsad v5. I then try to create a file called
hello.cpp this is when it attempts to invoke make and wsad just hangs with
no cpu usage. The crash comes whenever I try to create a file or anything
that kicks off invoking make. I have cygwin installed from www.cygwin.com in
the directory c:\utils\cygwin and my path points to c:\cutils\cygwin\bin
If you need I'll try and create a project where this is re-creatable, but I
do not believe it is due to the project settings themselves, I'm just using
the defaults. I thought that the problem may have been the command /c set
but I've been corrected regarding this.
Now I'm not really sure what is going wrong, maybe it's wsad 5??
Thanks in advance


"Alex Chapiro" <ash371952@hotmail.com> wrote in message
news:b0h9sf$5nt$1@rogue.oti.com...
> Could you please elaborate your message?
> 1) Do you experience hanging during build process? If yes, could you
please
> provide a little bit more details? Is it possible to get sample project
from
> you?
>
> 2) command.com is deprecated command for Win2000. I guess it exist for DOS
> compatibility. Why do you try to use it? In CDT we use cmd.exe for Windows
> 2000.
>
> "Stephen Cox" <nomail@bob.com> wrote in message
> news:b0gtjb$rb4$1@rogue.oti.com...
> > Hi there. I'm also having problems with make causing wsad to hang. I
found
> > this from an earlier posting in the newsgroup 4/10/2002 (10/4/2002 for
you
> > americans out there) and this still seems to be a problem for me. When
> > issuing command /c set I get my path cut off after 4 characters, cmd /c
> set
> > however works fine. From what was dicussed in the mentioned thread this
is
> > likely to be causing the eclipse tooling to hang.
> > Thanks in advance
> > mail: coxsteph @uk.ibm.com (, remove the space)
> > ---
> > Found something that might be of interest here:
> >
> > On my Windows 2000 SP 3 system, "command.com /c set" results in
truncated
> > data coming back for a number of the larger environment variables, most
> > notably PATH, especially when entries in the path had spaces in the
> > pathnames.
> >
> > Had the hanging problem on the latest build (10/02), with "command.com
/c
> > set" returning my PATH as:
> >
> > PATH=C:\PRO
> >
> > That's all, truncated right there, no obvious reason why. Got beyond
this
> > by juggling things around in the path such that mingw and msys were near
> the
> > start, and the entries with spaces in the pathnames were at the end.
> >
> > Interestingly, "cmd /c set" on this system returns complete data for all
> > environment variables, no truncation. Perhaps one of the Windows
wizards
> > could shed some light on this.
> > ---
> >
> >
>
>
Re: Has this been dealt with... invoking make locks up eclipse [message #59099 is a reply to message #59074] Tue, 21 January 2003 09:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ash371952.hotmail.com

I don't understand: is 4020 a size of your PATH, or total size environment
(all that set command displays)?
Could you also try the latest version of spawner.dll and starter.exe (I
attached both to this message)?

Alex

"Stephen Cox" <nomail@bob.com> wrote in message
news:b0jgpk$er4$1@rogue.oti.com...
> I've installed F1 from the downloads site from eclipse. Currently my path
is
> weighing in at 4020 bytes which is under the 4k limit mentioned in the
> newsgroups: CVS tags for builds and java/Exception bug in
Win2Process.ex.c.
> This is with all paths reduced to short path names.
> I create a new c++ project in wsad v5. I then try to create a file called
> hello.cpp this is when it attempts to invoke make and wsad just hangs with
> no cpu usage. The crash comes whenever I try to create a file or anything
> that kicks off invoking make. I have cygwin installed from www.cygwin.com
in
> the directory c:\utils\cygwin and my path points to c:\cutils\cygwin\bin
> If you need I'll try and create a project where this is re-creatable, but
I
> do not believe it is due to the project settings themselves, I'm just
using
> the defaults. I thought that the problem may have been the command /c set
> but I've been corrected regarding this.
> Now I'm not really sure what is going wrong, maybe it's wsad 5??
> Thanks in advance
>
>
> "Alex Chapiro" <ash371952@hotmail.com> wrote in message
> news:b0h9sf$5nt$1@rogue.oti.com...
> > Could you please elaborate your message?
> > 1) Do you experience hanging during build process? If yes, could you
> please
> > provide a little bit more details? Is it possible to get sample project
> from
> > you?
> >
> > 2) command.com is deprecated command for Win2000. I guess it exist for
DOS
> > compatibility. Why do you try to use it? In CDT we use cmd.exe for
Windows
> > 2000.
> >
> > "Stephen Cox" <nomail@bob.com> wrote in message
> > news:b0gtjb$rb4$1@rogue.oti.com...
> > > Hi there. I'm also having problems with make causing wsad to hang. I
> found
> > > this from an earlier posting in the newsgroup 4/10/2002 (10/4/2002 for
> you
> > > americans out there) and this still seems to be a problem for me. When
> > > issuing command /c set I get my path cut off after 4 characters, cmd
/c
> > set
> > > however works fine. From what was dicussed in the mentioned thread
this
> is
> > > likely to be causing the eclipse tooling to hang.
> > > Thanks in advance
> > > mail: coxsteph @uk.ibm.com (, remove the space)
> > > ---
> > > Found something that might be of interest here:
> > >
> > > On my Windows 2000 SP 3 system, "command.com /c set" results in
> truncated
> > > data coming back for a number of the larger environment variables,
most
> > > notably PATH, especially when entries in the path had spaces in the
> > > pathnames.
> > >
> > > Had the hanging problem on the latest build (10/02), with "command.com
> /c
> > > set" returning my PATH as:
> > >
> > > PATH=C:\PRO
> > >
> > > That's all, truncated right there, no obvious reason why. Got beyond
> this
> > > by juggling things around in the path such that mingw and msys were
near
> > the
> > > start, and the entries with spaces in the pathnames were at the end.
> > >
> > > Interestingly, "cmd /c set" on this system returns complete data for
all
> > > environment variables, no truncation. Perhaps one of the Windows
> wizards
> > > could shed some light on this.
> > > ---
> > >
> > >
> >
> >
>
>
>



  • Attachment: starter.exe
    (Size: 16.00KB, Downloaded 126 times)
  • Attachment: spawner.dll
    (Size: 52.00KB, Downloaded 190 times)
Re: Has this been dealt with... invoking make locks up eclipse [message #59146 is a reply to message #59099] Tue, 21 January 2003 09:30 Go to previous message
Eclipse UserFriend
Originally posted by: nomail.bob.com

I got the size of the environment by running: cmd /c set | wc -c
As mentioned in another newsgroup thread. The files you gave me solve the
problem with invoking make, thanks! Now I guess I can get my hands dirty,
sorry for being a pain.
Do I need to do anything to close the bug on bugzilla?

"Alex Chapiro" <ash371952@hotmail.com> wrote in message
news:b0ji5n$g51$1@rogue.oti.com...
> I don't understand: is 4020 a size of your PATH, or total size environment
> (all that set command displays)?
> Could you also try the latest version of spawner.dll and starter.exe (I
> attached both to this message)?
>
> Alex
>
> "Stephen Cox" <nomail@bob.com> wrote in message
> news:b0jgpk$er4$1@rogue.oti.com...
> > I've installed F1 from the downloads site from eclipse. Currently my
path
> is
> > weighing in at 4020 bytes which is under the 4k limit mentioned in the
> > newsgroups: CVS tags for builds and java/Exception bug in
> Win2Process.ex.c.
> > This is with all paths reduced to short path names.
> > I create a new c++ project in wsad v5. I then try to create a file
called
> > hello.cpp this is when it attempts to invoke make and wsad just hangs
with
> > no cpu usage. The crash comes whenever I try to create a file or
anything
> > that kicks off invoking make. I have cygwin installed from
www.cygwin.com
> in
> > the directory c:\utils\cygwin and my path points to c:\cutils\cygwin\bin
> > If you need I'll try and create a project where this is re-creatable,
but
> I
> > do not believe it is due to the project settings themselves, I'm just
> using
> > the defaults. I thought that the problem may have been the command /c
set
> > but I've been corrected regarding this.
> > Now I'm not really sure what is going wrong, maybe it's wsad 5??
> > Thanks in advance
> >
> >
> > "Alex Chapiro" <ash371952@hotmail.com> wrote in message
> > news:b0h9sf$5nt$1@rogue.oti.com...
> > > Could you please elaborate your message?
> > > 1) Do you experience hanging during build process? If yes, could you
> > please
> > > provide a little bit more details? Is it possible to get sample
project
> > from
> > > you?
> > >
> > > 2) command.com is deprecated command for Win2000. I guess it exist for
> DOS
> > > compatibility. Why do you try to use it? In CDT we use cmd.exe for
> Windows
> > > 2000.
> > >
> > > "Stephen Cox" <nomail@bob.com> wrote in message
> > > news:b0gtjb$rb4$1@rogue.oti.com...
> > > > Hi there. I'm also having problems with make causing wsad to hang. I
> > found
> > > > this from an earlier posting in the newsgroup 4/10/2002 (10/4/2002
for
> > you
> > > > americans out there) and this still seems to be a problem for me.
When
> > > > issuing command /c set I get my path cut off after 4 characters, cmd
> /c
> > > set
> > > > however works fine. From what was dicussed in the mentioned thread
> this
> > is
> > > > likely to be causing the eclipse tooling to hang.
> > > > Thanks in advance
> > > > mail: coxsteph @uk.ibm.com (, remove the space)
> > > > ---
> > > > Found something that might be of interest here:
> > > >
> > > > On my Windows 2000 SP 3 system, "command.com /c set" results in
> > truncated
> > > > data coming back for a number of the larger environment variables,
> most
> > > > notably PATH, especially when entries in the path had spaces in the
> > > > pathnames.
> > > >
> > > > Had the hanging problem on the latest build (10/02), with
"command.com
> > /c
> > > > set" returning my PATH as:
> > > >
> > > > PATH=C:\PRO
> > > >
> > > > That's all, truncated right there, no obvious reason why. Got
beyond
> > this
> > > > by juggling things around in the path such that mingw and msys were
> near
> > > the
> > > > start, and the entries with spaces in the pathnames were at the end.
> > > >
> > > > Interestingly, "cmd /c set" on this system returns complete data for
> all
> > > > environment variables, no truncation. Perhaps one of the Windows
> > wizards
> > > > could shed some light on this.
> > > > ---
> > > >
> > > >
> > >
> > >
> >
> >
> >
>
>
>
Previous Topic:code assist
Next Topic:Use bugzilla for bugs report(PR)
Goto Forum:
  


Current Time: Sat Jun 07 06:49:49 EDT 2025

Powered by FUDForum. Page generated in 0.03384 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top