Failure to remove arguments in signature with "(anonymous namespace)"
Categories
(Socorro :: Signature, task, P3)
Tracking
(Not tracked)
People
(Reporter: mccr8, Assigned: hafzal)
References
Details
(Whiteboard: [cringe])
Attachments
(1 file)
I'm not sure if this should go in Signature or another component, but I came across this case where the arguments aren't being properly removed:
[@ SerializeJSONProperty(JSContext*, JS::Value const&, (anonymous namespace)::StringifyContext*) ]
Maybe the (anonymous namespace) stuff is breaking a regexp somewhere?
| Reporter | ||
Updated•3 months ago
|
| Reporter | ||
Comment 1•3 months ago
|
||
It looks like the most common instance of this problem is [@ shutdownhang | mozilla::SpinEventLoopUntil(nsTSubstring<T> const&, (anonymous namespace)::ParentImpl::ShutdownBackgroundThread::<T>&&, nsIThread*) | (anonymous namespace)::ParentImpl::ShutdownBackgroundThread ] eg bp-43b718f4-e343-4b65-a47e-1d9f70260410
Comment 2•3 months ago
|
||
Thanks for the report! Your guess is what I'd also guess as the root cause. Haseeb will take a look at this one.
Updated•3 months ago
|
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•1 month ago
|
||
| Assignee | ||
Comment 5•1 month ago
|
||
I have verified these changes in stage
Comment 6•1 month ago
|
||
This has been deployed to prod in https://github.com/mozilla-services/socorro/releases/tag/v2026.06.08. Haseeb, could you please verify that this is working as intended?
Updated•1 month ago
|
| Assignee | ||
Comment 7•1 month ago
|
||
I have verified that this patch is working as intended in prod.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Reporter | ||
Comment 8•1 month ago
|
||
Thanks for fixing this! I looked at the top signature with anonymous namespace and it looks like [@ shutdownhang | mozilla::SpinEventLoopUntil(nsTSubstring<T> const&, (anonymous namespace)::ParentImpl::ShutdownBackgroundThread::<T>&&, nsIThread*) | (anonymous namespace)::ParentImpl::ShutdownBackgroundThread ] is now going to correctly be [@ shutdownhang | mozilla::SpinEventLoopUntil | (anonymous namespace)::ParentImpl::ShutdownBackgroundThread ].
Description
•