Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Hung when saving files
Hung when saving files [message #106370] Tue, 15 June 2004 11:11 Go to next message
Eclipse UserFriend
This is a multipart message in MIME format.
--=_alternative 0054437785256EB4_=
Content-Type: text/plain; charset="US-ASCII"

I got very frustrated when I tried to save files and JRE hangs and I have
to kill eclipses and lose the changes. I am using eclipse RC2/CDT M9. I
reinstalled JRE 1.4.2_4, and issue is there, Anyone has the same
experience?
--=_alternative 0054437785256EB4_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I got very frustrated when I tried to
save files and JRE hangs and I have to kill eclipses and lose the changes.
I am using eclipse RC2/CDT M9. I reinstalled JRE 1.4.2_4, and issue is
there, Anyone has the same experience?</font>
--=_alternative 0054437785256EB4_=--
Re: Hung when saving files [message #106384 is a reply to message #106370] Tue, 15 June 2004 16:34 Go to previous messageGo to next message
Eclipse UserFriend
Most likely the hang is related to an infinite loop in the parser. If you
have a piece of source code that you can reproduce this with (that isn't
proprietary) I would suggest you raise a critical defect on CDT, CDT-Parser
w/the source attached.

Thanks
JohnC
<huani@us.ibm.com> wrote in message news:can3jp$fa3$1@eclipse.org...

I got very frustrated when I tried to save files and JRE hangs and I have to
kill eclipses and lose the changes. I am using eclipse RC2/CDT M9. I
reinstalled JRE 1.4.2_4, and issue is there, Anyone has the same experience?
Re: Hung when saving files [message #106522 is a reply to message #106370] Wed, 16 June 2004 16:10 Go to previous messageGo to next message
Eclipse UserFriend
This is a multi-part message in MIME format.

------=_NextPart_000_0048_01C453A3.574C7660
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I had the same problem with similar configuration (RC2 + M9 + JDK 1.4 + =
gcc3.3.3) on HP-UX.

Thanks,
Robert Fu
<huani@us.ibm.com> wrote in message news:can3jp$fa3$1@eclipse.org...

I got very frustrated when I tried to save files and JRE hangs and I =
have to kill eclipses and lose the changes. I am using eclipse RC2/CDT =
M9. I reinstalled JRE 1.4.2_4, and issue is there, Anyone has the same =
experience?
------=_NextPart_000_0048_01C453A3.574C7660
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I had the same problem with similar =
configuration=20
(RC2 + M9 + JDK 1.4 + gcc3.3.3) on HP-UX.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Robert Fu</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>&lt;<A href=3D"mailto:huani@us.ibm.com">huani@us.ibm.com</A>&gt; =
wrote in=20
message <A=20
=
href=3D"news:can3jp$fa3$1@eclipse.org">news:can3jp$fa3$1@eclipse.org</A>.=
...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>I got very frustrated when I tried to save =
files and=20
JRE hangs and I have to kill eclipses and lose the changes. I am using =
eclipse=20
RC2/CDT M9. I reinstalled JRE 1.4.2_4, and issue is there, Anyone has =
the same=20
experience?</FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0048_01C453A3.574C7660--
Re: Hung when saving files [message #106676 is a reply to message #106522] Thu, 17 June 2004 14:51 Go to previous messageGo to next message
Eclipse UserFriend
Does this happen for all files or just one in particular?
If so, in order to fix it I require the source code or a cleaned up example
if the source is proprietary...

JohnC

"Robert Fu" <qrobertfu@yahoo.com> wrote in message
news:caq91s$97u$1@eclipse.org...
I had the same problem with similar configuration (RC2 + M9 + JDK 1.4 +
gcc3.3.3) on HP-UX.

Thanks,
Robert Fu
<huani@us.ibm.com> wrote in message news:can3jp$fa3$1@eclipse.org...

I got very frustrated when I tried to save files and JRE hangs and I have to
kill eclipses and lose the changes. I am using eclipse RC2/CDT M9. I
reinstalled JRE 1.4.2_4, and issue is there, Anyone has the same experience?
Re: Hung when saving files [message #106704 is a reply to message #106676] Thu, 17 June 2004 16:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi John,

I tried it again, and it hung again. The status at the botton right corner
showed something like this: "C/C++ Indexer" 66%. Here is the code I
downloaded it from HP site to test if gdb/CDT works on HP-UX 11.11. The file
is also attached. My configuration is in my previous email.

BTW, do you know if anyone made debugging with CDT/gdb/gcc worked on HP-UX
11.11? I just want to know if it's possible.

Thanks a lot,
Robert Fu

------------------------ code -----------------
/* "average.c" */

#include <stdio.h>

#define num 10

#define first 0

#define last num-1

static int my_list[num] = {3,4,2,0,2,1,8,3,6,7};

int sum(int list[], int low, int high)

{

int i, s = 0;

for (i = low; i <= high; i++)

s += list[i];

return(s);

}

void print_average(int list[], int low, int high)

{

int total, num_elements, average;

total = sum(list, low, high);

num_elements = high - low; /* note this is an off-by-one bug */

average = total / num_elements;

printf("%10.d\n", average);

}

int main(void)

{

/* Try two test cases. */

print_average (my_list, first, last);

print_average (my_list, first, last - 3);


return 0;

}




"johnc" <jcamelon@ca.ibm.com> wrote in message
news:casp0l$3mk$1@eclipse.org...
> Does this happen for all files or just one in particular?
> If so, in order to fix it I require the source code or a cleaned up
example
> if the source is proprietary...
>
> JohnC
>
> "Robert Fu" <qrobertfu@yahoo.com> wrote in message
> news:caq91s$97u$1@eclipse.org...
> I had the same problem with similar configuration (RC2 + M9 + JDK 1.4 +
> gcc3.3.3) on HP-UX.
>
> Thanks,
> Robert Fu
> <huani@us.ibm.com> wrote in message news:can3jp$fa3$1@eclipse.org...
>
> I got very frustrated when I tried to save files and JRE hangs and I have
to
> kill eclipses and lose the changes. I am using eclipse RC2/CDT M9. I
> reinstalled JRE 1.4.2_4, and issue is there, Anyone has the same
experience?
>
>


  • Attachment: average.c
    (Size: 0.69KB, Downloaded 88 times)
Re: Hung when saving files [message #106759 is a reply to message #106704] Fri, 18 June 2004 16:44 Go to previous message
Eclipse UserFriend
I've fixed some things today regarding error handling and infinite hangs ...
with these fixes that I have committed, I do not get a hang saving this
source code. Try it out on a build next week and let me know what you
think.

Thanks
JohnC

"Robert Fu" <qrobertfu@yahoo.com> wrote in message
news:casvr4$c0f$1@eclipse.org...
> Hi John,
>
> I tried it again, and it hung again. The status at the botton right corner
> showed something like this: "C/C++ Indexer" 66%. Here is the code I
> downloaded it from HP site to test if gdb/CDT works on HP-UX 11.11. The
file
> is also attached. My configuration is in my previous email.
>
> BTW, do you know if anyone made debugging with CDT/gdb/gcc worked on HP-UX
> 11.11? I just want to know if it's possible.
>
> Thanks a lot,
> Robert Fu
>
> ------------------------ code -----------------
> /* "average.c" */
>
> #include <stdio.h>
>
> #define num 10
>
> #define first 0
>
> #define last num-1
>
> static int my_list[num] = {3,4,2,0,2,1,8,3,6,7};
>
> int sum(int list[], int low, int high)
>
> {
>
> int i, s = 0;
>
> for (i = low; i <= high; i++)
>
> s += list[i];
>
> return(s);
>
> }
>
> void print_average(int list[], int low, int high)
>
> {
>
> int total, num_elements, average;
>
> total = sum(list, low, high);
>
> num_elements = high - low; /* note this is an off-by-one bug */
>
> average = total / num_elements;
>
> printf("%10.d\n", average);
>
> }
>
> int main(void)
>
> {
>
> /* Try two test cases. */
>
> print_average (my_list, first, last);
>
> print_average (my_list, first, last - 3);
>
>
> return 0;
>
> }
>
>
>
>
> "johnc" <jcamelon@ca.ibm.com> wrote in message
> news:casp0l$3mk$1@eclipse.org...
> > Does this happen for all files or just one in particular?
> > If so, in order to fix it I require the source code or a cleaned up
> example
> > if the source is proprietary...
> >
> > JohnC
> >
> > "Robert Fu" <qrobertfu@yahoo.com> wrote in message
> > news:caq91s$97u$1@eclipse.org...
> > I had the same problem with similar configuration (RC2 + M9 + JDK 1.4 +
> > gcc3.3.3) on HP-UX.
> >
> > Thanks,
> > Robert Fu
> > <huani@us.ibm.com> wrote in message news:can3jp$fa3$1@eclipse.org...
> >
> > I got very frustrated when I tried to save files and JRE hangs and I
have
> to
> > kill eclipses and lose the changes. I am using eclipse RC2/CDT M9. I
> > reinstalled JRE 1.4.2_4, and issue is there, Anyone has the same
> experience?
> >
> >
>
>
>
Previous Topic:xml File Viewer
Next Topic:Received a SIGSEGV when starting debugging on HP-UX 11.11 with RC2 and M9
Goto Forum:
  


Current Time: Sun Jul 27 06:40:04 EDT 2025

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

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

Back to the top