Closed Bug 753382 Opened 12 years ago Closed 11 years ago

Escaping problem with rather complex signature

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: kairo, Unassigned)

References

Details

I ran across this signature in Firefox 13.0b2:

base::LazyInstance<base::ThreadLocalPointer<NotificationService>, base::DefaultLazyInstanceTraits<base::ThreadLocalPointer<NotificationService> > >::Pointer()


Now, calling up report/list for this shows 1) an interestingly broken header and 2) no matching crash reports, even though I know there are some:
https://crash-stats.mozilla.com/report/list?signature=base%3A%3ALazyInstance%3Cbase%3A%3AThreadLocalPointer%3CNotificationService%3E%2C%20base%3A%3ADefaultLazyInstanceTraits%3Cbase%3A%3AThreadLocalPointer%3CNotificationService%3E%20%3E%20%3E%3A%3APointer%28%29

But there's more:
https://crash-stats.mozilla.com/topcrasher/byversion/Firefox/13.0b2/1/browser shows this at #78 today and displays "base::LazyInstance, base::DefaultL" in the visible area of the table, the selection source tells me that "base::LazyInstance<base::threadlocalpointer<notificationservice>, base::DefaultL</base::threadlocalpointer<notificationservice>" is the innerHTML of that link (the <a> tag and its attributes, esp. the href and title are correct, though)!

The code in /query is showing it correctly in the UI, see https://crash-stats.mozilla.com/query/query?product=Firefox&version=Firefox%3A13.0b2&query_search=signature&query_type=contains&query=LazyInstance&do_query=1 for example.

In both TCBS and /query, the linked /report/list fails the same way as the example one above, though.
Assignee: nobody → sneethling
Target Milestone: --- → 10
Target Milestone: 10 → 11
Target Milestone: 11 → 12
Target Milestone: 12 → 13
When this is being fixed, we should check the bug 759541 case as well.
Target Milestone: 13 → 14
Target Milestone: 14 → 15
Target Milestone: 15 → 16
Wrong bug for the pull request
Target Milestone: 16 → 17
Target Milestone: 17 → 18
Target Milestone: 18 → 19
Target Milestone: 19 → 20
rhelmer/adrian Is this something that has also been resolved in the rewrite?
(In reply to Schalk Neethling [:espressive] from comment #5)
> rhelmer/adrian Is this something that has also been resolved in the rewrite?

I *think* django's urlencode filter does what we want (it's basically python urllib2.quote), it has worked fine in my testing so far.

We should get some tests in for the particularly pathological signatures, like the ones mentioned in this bug. I've filed bug 792087 to cover that.
rhelmer, so we can dupe this one against that one? Or make this one a dependency?
Depends on: 792087
Assignee: sneethling → nobody
Target Milestone: 20 → ---
Target Milestone: --- → Future
Closing. File bugs for any new problematic signatures.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
I see signatures containing "<" in both the top crashers page and the query results page, so I think this has been fixed.

I tried to run the HTML validator to be sure, but bug 910062 made it hard.
(In reply to Jesse Ruderman from comment #9)
> I see signatures containing "<" in both the top crashers page and the query
> results page, so I think this has been fixed.
> 
> I tried to run the HTML validator to be sure, but bug 910062 made it hard.

Hmm I wonder if bug 778063 helped? 

Jessie, would you mind testing against https://crash-stats.allizom.org ?
(In reply to Jesse Ruderman from comment #11)
> You mean bug 788063. Yes, it helped.

I did indeed
 
> https://crash-stats.allizom.org/topcrasher/products/Firefox/versions/26.
> 0a1?days=7 passes validator.nu :)

\o/
You need to log in before you can comment on or make changes to this bug.