Closed Bug 1882856 Opened 1 year ago Closed 5 months ago

Crash in [@ dns_res_send ] with "network.dns.native_https_query" on MacOS

Categories

(Core :: Networking: DNS, defect, P2)

Unspecified
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: valentin, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: [necko-triaged])

Crash Data

Attachments

(2 files)

Attached file log.txt

https://treeherder.mozilla.org/logviewer?job_id=448751816&repo=try&lineNumber=137360

See attachment for full log.
I think this is happening because the thread is still active when shutdown happens?
I haven't seen any such crashes on live runs. I'll pref it off for marionette for now, and see if any crashes happen on nightly.

Depends on: 1874464

(In reply to Petr Špaček from comment #1)

I believe I've seen this in the wild on Linux 64-bit.

Report IDs:
bp-124e9dbd-b2fa-43c3-bf36-f86ca0240226
bp-3669bbaa-2ef6-4f1c-90b7-bfd5d0240226
bp-8243de9e-823d-442c-9377-a65f40240226

These have already been addressed in bug 1881437.
This bug is OSX only.

OS: Unspecified → macOS

It could also be the case that this happens when called early during startup.
For example, this thunderbird crash: https://crash-stats.mozilla.org/report/index/7617f59f-b983-425a-a96d-3b2600240228 happens 5 seconds after startup. Though there is one happening 75 seconds after startup.

It seems that this might be a common OSX issues, which is why the feature is currently preffed off for OSX.
We probably need to file a bug with Apple.

Keywords: crash
Summary: Marionette crash in dns_res_send with network.dns.native_https_query on OSX → Marionette crash in [@ dns_res_send ] with "network.dns.native_https_query" on MacOS
Crash Signature: [@ dns_res_send ]

Hi Valentin, do you have plans to investigate this crash? I would be interested to see this feature enabled as well for Marionette tests so that we are closer to what we ship to our users. Thanks.

Flags: needinfo?(valentin.gosu)
Attached file FB13820017.txt

I submitted FB13820017 to Apple regarding res_query, along with a reduced test case for the API not working well in multiple threads.
See attached file.

I don't think there's much we can do to fix this issue in Gecko.
For now the feature is disabled both for webdriver and users.

Flags: needinfo?(valentin.gosu)

I see. Thanks for letting us know!

Summary: Marionette crash in [@ dns_res_send ] with "network.dns.native_https_query" on MacOS → Crash in [@ dns_res_send ] with "network.dns.native_https_query" on MacOS
Duplicate of this bug: 1913126
See Also: → 1938293

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: