Bug#720608: eclipse source editor screws up

Dieter Teuchert dieter at cadt.de
Fri Aug 23 20:41:40 UTC 2013


Package: eclipse
Version: 3.8.0~rc4-1
Severity: important

Some days ago and yesterday once more i noticed text in a C source file
that wasn't meant to be there. First i did not trust myself enough to
believe there could be a bug in the eclipse source editor, but it
repeated. When i worked on a large source file yesterday, each of about
30 procedures in that file had a trace statement like

        g_debug("===>...some text label...\n");

on entry. For profiling i had to change all of them to

        g_debug("===>...some text label... %i usec\n",ElapsedUsec());

I did that by hand, selecting the '\n"' with the mouse and then Ctrl-v
to paste the ' %i usec\n",ElapsedUsec()' string as a replacement,
working through the file from top to bottom. After saving the file, i
started a "Build Project" and got two compile errors, because two of the
~30 '\n"' instances that were meant to be replaced/disappear showed up
at random locations in the source file ("extra"). I deleted them and
continued to work without any further problem.

So it's a random, rare error, yet rises some doubts on eclipse.

Although the machine is fast (AMD A8-5600K with 8 GB) there may be a
race condition between user editing and source checking and formatting
wizards. I am an experienced software developper and do that kind of
editing quickly. I have also been using the + and - block folding.
Eclipse is used with cdt, gcc and gdb, with two perspectives, all pretty
standard. The project is a GTK+ application using Cairo and ALSA, no
Java, no interprocess.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eclipse depends on:
ii  eclipse-jdt  3.8.0~rc4-1
ii  eclipse-pde  3.8.0~rc4-1

eclipse recommends no packages.

eclipse suggests no packages.

Versions of packages eclipse-platform depends on:
ii  ant                            1.8.2-4
ii  ant-optional                   1.8.2-4
ii  default-jre [java6-runtime]    1:1.6-47
ii  eclipse-platform-data          3.8.0~rc4-1
ii  eclipse-rcp                    3.8.0~rc4-1
ii  gconf-service                  3.2.5-1+build1
ii  java-common                    0.47
ii  libc6                          2.13-38
ii  libcommons-codec-java          1.6-1
ii  libcommons-httpclient-java     3.1-10.2
ii  libcommons-logging-java        1.1.1-9
ii  libgconf-2-4                   3.2.5-1+build1
ii  libglib2.0-0                   2.33.12+really2.32.4-5
ii  libjetty8-java                 8.1.3-4
ii  libjsch-java                   0.1.42-2
ii  liblucene2-java                2.9.4+ds1-4
ii  libservlet3.0-java             7.0.28-4
ii  multiarch-support              2.13-38
ii  openjdk-6-jre [java6-runtime]  6b27-1.12.6-1~deb7u1
ii  sat4j                          2.3.1-1

Versions of packages eclipse-platform recommends:
ii  eclipse-pde  3.8.0~rc4-1

Versions of packages eclipse-platform suggests:
ii  eclipse-jdt  3.8.0~rc4-1

Versions of packages eclipse-pde depends on:
ii  default-jre [java6-runtime]    1:1.6-47
ii  eclipse-jdt                    3.8.0~rc4-1
ii  eclipse-platform               3.8.0~rc4-1
ii  libasm3-java                   3.3.2-1
ii  openjdk-6-jre [java6-runtime]  6b27-1.12.6-1~deb7u1

eclipse-pde suggests no packages.

Versions of packages eclipse-jdt depends on:
ii  default-jre [java6-runtime]    1:1.6-47
ii  eclipse-platform               3.8.0~rc4-1
ii  junit                          3.8.2-8
ii  junit4                         4.10-3
ii  libhamcrest-java               1.2-2
ii  openjdk-6-jre [java6-runtime]  6b27-1.12.6-1~deb7u1

Versions of packages eclipse-jdt recommends:
pn  default-jdk | sun-java6-jdk  <none>

eclipse-jdt suggests no packages.

-- no debconf information

Dieter Teuchert
Dipl.-Phys.

*CADT Software und Systeme*
Rommelstr. 6, 76571 Gaggenau, Germany
Phone:  +49 7225 989253
E-Mail: dieter at cadt.de <mailto:dieter at cadt.de>
Web:    http://www.cadt.de

------------------------------------------------------------------------
Achtung:
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Empfänger sind bzw.
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte umgehend
den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren
sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

Note:
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient or you received this e-mail by error
please notify the sender immediately and delete this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



More information about the pkg-java-maintainers mailing list