Edgewall Software

Ticket #7324 (new defect)

Opened 3 months ago

Last modified 3 months ago

Firefox crashes when performing large quick search

Reported by: fermulator Owned by: cboos
Priority: normal Milestone:
Component: search system Version: 0.11b1
Severity: normal Keywords:
Cc: fermulator@…

Description

Steps to reproduce issue:

  1. Using Firefox...
  2. Open a trac website.
  3. Provided we have a ticket (semi-large) with several comments (20+).
  4. Copy into the clipboard a sentence (15+ words) from a comment in said ticket.
  5. In the quick search of trac, paste that large sentence and perform the search. ... the results will be displayed ... probably only the ONE result of that ticket since the sentence would probably be unique.
  6. Click on the link to the ticket.

...

trac will cause firefox to use A LOT of CPU, and the ticket could take upwards of 2+ minutes to load. Yikes!

Sometimes even firefox will crash entirely ...

We suspect this has to do with syntax highlighting javascript from trac itself.

Comparison:

  1. Do a quicksearch for the TICKET NUMBER (i.e. #999)
  2. trac will automatically load the ticket, and it will be fast!

In the comparison case the only difference I can see is that there wouldn't be syntax highlighting ... ?

Attachments

search-limit.diff (0.6 kB) - added by athomas 3 months ago.
Limit number of highlighted words on search

Change History

Changed 3 months ago by athomas

Limit number of highlighted words on search

Changed 3 months ago by athomas

Give this patch a try.

Changed 3 months ago by anonymous

What version of Firefox? I can't reproduce this in 2.0.0.14.

Add/Change #7324 (Firefox crashes when performing large quick search)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.