Hey there,
2006/5/3, Trevor Harmon trevor@vocaro.com:
I seem to have discovered an infinite loop bug in ctags, which TextMate depends on.
- Create a new document
- Paste in the text "This is a buggy <Java> program"
- Change file type to Java
- Save
Can anyone reproduce this?
I just did some super-basic-testing on this: (I can be writing pure non sense)
I'm using TM 1.5.1 (985), and something's definitely weirdo in here.
1. I copied/pasted directly from your text, from my email message. TM went nuts as soon as i clicked on the Save button on the Save Dialog. Again, ctags consuming ~60%CPU and increasing RAM usage by seconds, till ~140 MiB, where i killed the ctags process.
2. I tried to paste exactly the same text, written and copied this time by me in another TM document created from scratch. This time, TM saved the file correctly, no problems at all.
3. Then, i pasted your text from my email message, and modified it till it read "Testing". Then, proceeded to save: again, the same memory leak.
4. Created a new fancy TM document, and wrote "This is a buggy <Java> program". Changed filetype, and saved correctly, no problems at all.
5. Created a new TM document. Pasted the text from your email message. This time, changed filetype from Plain Text to HTML, and saved correctly. Then, changed back from HTML to Java file type, and replaced. Again, the memory leak.
6. I'm out of ideas :P
-- "The Universe is a big place, perhaps the biggest" Kilgore Trout, Venus On The Half Shell