Open Bug 743776 Opened 12 years ago Updated 2 years ago

XPConnect/Javascript exception in Telemetry on idle Thunderbird

Categories

(Thunderbird :: General, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: Irving, Unassigned)

Details

Started up a debug trunk build of Thunderbird and let it sit idle for about 1.5 hours; at some point during that time it logged:

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "this._slowSQLStartup.mainThread is not an object" {file: "file:///Users/ireid/tbird/objdir-comm-central-default/mozilla/dist/DailyDebug.app/Contents/MacOS/components/TelemetryPing.js" line: 466}]' when calling method: [nsIObserver::observe]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "<unknown>"  data: yes]
************************************************************

During that time no other messages were logged to the stdout/stderr

ever seen this?

Flags: needinfo?(jorgk)
Flags: needinfo?(acelists)

No I haven't. But surely the telemetry code has changed in the years. E.g. there seems to be no TelemetryPing.js files, while this._slowSQLStartup seems to exist.

Flags: needinfo?(acelists)

No, but Ben C can look at in in the context of getting telemetry going.

Flags: needinfo?(jorgk) → needinfo?(benc)

I think I've seen something that looks similar in some M-C unit tests - they'd fail because .mainThread would only be present if there was recorded telemetry data. No data, no .mainThread member. Issue was masked in M-C because there was always something being recorded, but not so for thunderbird. (via Bug 1427877)

I'll keep an eye out for it but it seems like the telemetry code has changed a lot (ie a complete rewrite?), so I'd guess if this bug is still happening, it's a newly-implemented version :-)

Flags: needinfo?(benc)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.