Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain key presses crash Eclipse when using django-editor on 64bit systems #10

Closed
GoogleCodeExporter opened this issue Nov 24, 2015 · 27 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Load up any Django template file with django-editor
2. Start a new line. Indent once with Tab, then type "<table class=". The IDE 
will hang and require killing. Also works with any "attribute_name=". Crash 
seems to occur on pressing the equals key.

What is the expected output? What do you see instead?
- I expect the editor to continue to accept inputs, the line to be correctly 
syntax highlighted and Eclipse not to hang.

What version of the product are you using? On what operating system?
- Eclipse 3.8
- PyDev 2.7.1
- Ubuntu desktop 12.10, amd64 (i5 3210M)
- django-editor 1.1.0

Ubuntu does not raise an apport error. Instead the Eclipse window greys out and 
the program uses up an entire core of CPU. The taskbar at the top still 
responds and clicking "x" produces a dialogue that Eclipse is "not responding" 
and invites a "force close".

Original issue reported on code.google.com by michaelj...@gmail.com on 30 Dec 2012 at 6:12

@GoogleCodeExporter
Copy link
Author

I can replicate this issue as well. 

What version of the product are you using? On what operating system?
- MacOS 10.8.2
- Eclipse 4.2.1
- PyDev 2.7.2 (nightly build)

Original comment by kryst...@15five.com on 6 Feb 2013 at 4:26

@GoogleCodeExporter
Copy link
Author

On my macbook, too:

What steps will reproduce the problem?
Editing a django template:
1. inserting an if clause by typing "if", then selecting the django editor 
template by "ctrl-space" and the if template by "enter"
2. filling in the condition alright
3. outside the first block tag but still before the inserted "endif" tag I want 
to proceed with editing by inserting 'selected=""', but after insertion of the 
first '"' eclipse hangs and can only be restarted by OS X itself

What is the expected output? What do you see instead?
- Eclipse should not hang but proceed with editing the template.

What version of the product are you using? On what operating system?
- Intel Core 2 Duo
- OS X 10.6.8
- Eclipse Indigo Service Release 2
  (Build id: 20120216-1857)
- PyDev 2.7.1
- Django-Editor 1.1.0

Original comment by janos...@gmail.com on 7 Mar 2013 at 5:20

@GoogleCodeExporter
Copy link
Author

**BUMP** NEEDS FIXING ASAP

Is anything going to be done about this issue? It's also been recently reported 
here: http://code.google.com/p/django-editor/issues/detail?id=11

This is a bug which causes a crash and potential unsaved data loss. I think it 
is about time it is accepted, allocated to someone (seeing as it is now 5 
months since I originally reported it) and given a higher priority than 
"Medium".

It seems to occur on all 64-bit Linux and Mac systems, which is probably a 
significant proportion of users.

Original comment by michaelj...@gmail.com on 3 May 2013 at 8:00

@GoogleCodeExporter
Copy link
Author

Bump again. I'm experiencing the same on Eclipse 4.2.2, MacOS 10.7.5, PyDev 
2.7.3 and template editor 1.1.0.

This makes it entirely unusable. My only option is to uninstall the template 
editor.

Original comment by tarkatronic on 6 May 2013 at 4:12

@GoogleCodeExporter
Copy link
Author

**BUMP**

I've just e-mailed the author directly asking for this bug to be triaged or 
failing that, the source code to be released so we can patch it ourselves. I'm 
wondering if e-mails sent from Google Code are being forwarded to a unmonitored 
e-mail folder.

Make no mistake, django-editor is just unusable on 64bit systems thanks to this 
bug.

Original comment by michaelj...@gmail.com on 10 May 2013 at 8:52

@GoogleCodeExporter
Copy link
Author

Answer sent. 
Source code released. 
If anything else needed, please let me know (direct email is usually much 
faster).

Original comment by zbik...@gmail.com on 13 May 2013 at 10:36

@GoogleCodeExporter
Copy link
Author

Issue 11 has been merged into this issue.

Original comment by zbik...@gmail.com on 13 May 2013 at 10:38

@GoogleCodeExporter
Copy link
Author

I am still having this problem on a 64bit machine with the latest version 
available (1.1.0.101211221652).  Anyone else?

Original comment by brianela...@gmail.com on 3 Jun 2013 at 5:57

@GoogleCodeExporter
Copy link
Author

I haven't install it anymore. I'll just use html editor.

Original comment by jakethit...@gmail.com on 3 Jun 2013 at 6:30

@GoogleCodeExporter
Copy link
Author

zbik released the current source code, someone still needs to find the bug and 
publish a patch/fix. Anyone going to step up? because I've done zero eclipse 
plugin dev.

Original comment by tho...@tasgn.com on 6 Jun 2013 at 5:29

@GoogleCodeExporter
Copy link
Author

Still having the issue.

* Windows 7 64bits
* Eclipse Juno 4.2.2
* PyDev 2.7.6.2013060701
* Django Editor 1.1.0.201211221652

Hangs when typing the quote in: '<form action="'.

Original comment by mathieum...@gmail.com on 17 Jun 2013 at 9:04

@GoogleCodeExporter
Copy link
Author

It worked on a previous version, if a previous version is available, us 64-bit 
users can stick with that until this plugin is patched by someone who knows 
Eclipse plugin development.  I believe it was something like 0.8.1 I used and 
it worked without flaw, perhaps if someone can do a diff on both sources and 
see what was changed for it to break on 64-bit systems.  I really like this 
plugin and would like to use it again.

Original comment by kveron...@gmail.com on 20 Jul 2013 at 3:37

@GoogleCodeExporter
Copy link
Author

Mac 64-bit
Exactly same problem.

Original comment by sunshi...@gmail.com on 26 Jul 2013 at 9:58

@GoogleCodeExporter
Copy link
Author

Same problems here. Ubuntu 13.04 64-bit.

Original comment by aaron.ha...@gmail.com on 30 Jul 2013 at 2:17

@GoogleCodeExporter
Copy link
Author

Hi,
today I released a new version (1.2.0).
I believe I found the issue in the code, however I could not reproduce on my 
test PC (Win7-64bit).
Additionally I worked a bit on ContentAssist - still not perfect, but at least 
sth

Original comment by zbik...@gmail.com on 31 Jul 2013 at 11:02

@GoogleCodeExporter
Copy link
Author

I just installed the new version. The updates still says 1.1.0. I already had 
mine uninstalled and checked that the `hg pull` for my local repo did pull in 
the update. So I installed, it worked great for me! Thanks so much! I really 
appreciate it. 

Ubuntu 12.04
Ecplise 4.2.2 Build id: M20130204-1200

Linux havok 3.2.0-51-generic #77-Ubuntu SMP Wed Jul 24 20:18:19 UTC 2013 x86_64 
x86_64 x86_64 GNU/Linux

Original comment by patgmil...@gmail.com on 1 Aug 2013 at 3:09

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Still having the same problem here, I'm afraid. I updated through Eclipse. The 
version is definitely 1.2.0 after the update.

Example:

<div class="

*Eclipse locks up*

Ubuntu 13.04 64-bit with Eclipse Kepler.

Original comment by aaron.ha...@gmail.com on 1 Aug 2013 at 8:58

@GoogleCodeExporter
Copy link
Author

I am also still affected by this issue with the new version.

Eclipse Kepler x64 build id 20130614-0229
Django Editor 1.2.0

Original comment by t...@thomwiggers.nl on 2 Aug 2013 at 12:09

@GoogleCodeExporter
Copy link
Author

OK, so I installed Ubuntu 13.04 64-bit with Eclipse Kepler
and... found the issue.

Problem is a bit strange: in API flag EOF has value -1 (0xFFFFFFFF)
On Win7-64 it's OK to compare last character to EOF.
On Linux - it's not: the last char inside file is: 0xFFFF

Anyway, looks like Eclipse does not hang in anymore.

New version delivered: 1.2.1

Original comment by zbik...@gmail.com on 2 Aug 2013 at 10:43

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by zbik...@gmail.com on 2 Aug 2013 at 10:43

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Great, this seems to be fixed on my end too (Linux). Thanks for the fast turn 
around time!

Original comment by aaron.ha...@gmail.com on 8 Aug 2013 at 8:43

@GoogleCodeExporter
Copy link
Author

Yep, seems fixed here as well.

Thanks!

Original comment by t...@thomwiggers.nl on 10 Aug 2013 at 9:54

@GoogleCodeExporter
Copy link
Author

Original comment by zbik...@gmail.com on 18 Aug 2013 at 11:30

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Really very well done on this fix! 

Working excellently in Ubuntu 13.04 64bit and Ubuntu 12.04 64 bit.

Original comment by michaelj...@gmail.com on 18 Aug 2013 at 5:11

@GoogleCodeExporter
Copy link
Author

This bug seems to be back in version 1.3.0.

What version of the product are you using? On what operating system?
- Eclipse 4.3.1
- PyDev 2.8.2
- Ubuntu desktop 13.04, amd64
- django-editor 1.3.0

Original comment by nicholas...@gmail.com on 8 Oct 2013 at 10:57

@GoogleCodeExporter
Copy link
Author

Yes, I still have this problem with 1.3.0 version installed

What version of the product are you using? On what operating system?
- Eclipse 4.3.0
- PyDev 2.8.2
- Ubuntu desktop 12.04, amd64
- django-editor 1.3.0

I type <form action="{}">, then move cursor to put between braces, and type % - 
percent symbol, after pressing its eclipse have become not responding, and i 
only can kill its process.

Original comment by impossib...@gmail.com on 11 Oct 2013 at 10:06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant