Dapper: hitting q: in (g)vim causes a long cpu hang when syntax highlighting is enabled

Bug #35925 reported by Simon Ruggier
6
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

1. open vim or gvim
2. type ":syntax on" without the quotes, if needed
3. hit q: (start editing an Ex command-line)

Result: on my Athlon 64 3400+, vim hangs for 9 seconds. On a slower computer, this could easily end up being twice as long.

Expected: instantaneous response from the command. try hitting q/

I've never seen this happen before, not even on Breezy. It started happening when I upgraded to Dapper.

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 35925] Dapper: hitting q: in (g)vim causes a long cpu hang when syntax highlighting is enabled

I don't see this on dapper (i386) at all... Random guess: could you try
without vimrc?

Revision history for this message
Simon Ruggier (simon80) wrote :

I did that, that's how I figured out that it was related to syntax highlighting. Next time I use Ubuntu I'll try to profile it or something (if possible).

Revision history for this message
Matt Zimmerman (mdz) wrote :

I don't see any such delay here

Revision history for this message
Francois-Denis Gonthier (fdgonthier) wrote :

I don't see any delay on my 3200+. If this is related to the content of the user .vimrc, then I think we will need more detail to investigate this bug.

Changed in vim:
status: Unconfirmed → Needs Info
Revision history for this message
Simon Ruggier (simon80) wrote :

I tried to make it clear in my bug description, but here are the two important cases:

type :syntax on - The hangup bug occurs when q: is typed

type :syntax off - the hangup bug does not occur when q: is typed

This bug has nothing to do with my vimrc, save for the fact that I run 'syntax on' in it.

Simon Ruggier (simon80)
description: updated
Revision history for this message
Simon Ruggier (simon80) wrote :

I happen to be viewing this page, so I might as well point out that I no longer see this bug.

Revision history for this message
Constantine Evans (cevans) wrote :

Since the reporter was the only one to see this, and is no longer seeing it, and I am also unable to see it in Edgy, I am closing it as Fix Released.

Changed in vim:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.