Share

Exuberant Ctags

Tracker: Bugs

5 busy endless spin when parsing .sql file - ID: 1324663
Last Update: Comment added ( dfishburn )

If i put the following text in example.sql, and run
ctags example.sql, i get an endless hang.

The text is these five characters:

'\'/*'

These don't look like valid sql, but i narrowed this
down from a real SQL file that was causing problems.
The SQL file contained a set of comments on various tables.

If I add characters to the start so that there are an
even number of \' pairs, then there is no hang. With
an odd number, there is a hang.

So, this does not cause a hang.

'\'\'/*'

But this hangs.

'\'\'\'/*'


If I rename the file to example.py, there is no hang.


Steve Alexander ( stevea_zope ) - 2005-10-12 09:18

5

Closed

None

David Fishburn

None

None

Public


Comments ( 3 )

Date: 2006-10-06 15:26
Sender: dfishburn

Logged In: YES
user_id=983517

This has been fixed in revision 463. Should be included in
the version after 5.6.




Date: 2005-10-12 09:28
Sender: stevea_zope

Logged In: YES
user_id=492001

Oh, and I see that I can't count properly. '\'/*' is six
characters, of course.


Date: 2005-10-12 09:27
Sender: stevea_zope

Logged In: YES
user_id=492001

This is with Exuberent Ctags 5.5.4

Exuberant Ctags 5.5.4, Copyright (C) 1996-2003 Darren Hiebert
Compiled: Aug 13 2004, 05:14:24
Addresses: <dhiebert@users.sourceforge.net>,
http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex



Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2006-10-06 15:26 dfishburn
close_date - 2006-10-06 15:26 dfishburn
assigned_to nobody 2006-09-21 01:26 dhiebert