Closed Bug 1266891 Opened 8 years ago Closed 3 years ago

Firefox 45 crashes in Apple's LaunchServices invocation via Selenium Grid/WebDriver automation

Categories

(Core :: Widget: Cocoa, defect)

45 Branch
x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: stephend, Unassigned)

Details

(Keywords: crash, Whiteboard: [fromAutomation][tpi:-])

Attachments

(4 files)

Attached file apple-crash-report.txt
Build ID: Build identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0

Steps to Reproduce:

I haven't-yet reproduced this locally (i.e. no Grid/Hub set up), but in our Selenium Grid environment, we're seeing Firefox 45 crash when running some of our test automation[0], in the following stack (just the first frame - full output is attached.

Crashed Thread:        1  Dispatch queue: com.apple.root.utility-qos.overcommit

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT

Thread 0:: Dispatch queue: com.apple.main-thread
0   com.apple.HIToolbox           	0x00007fff88a0ccb5 GetCurrentEventKeyModifiers + 24

Thread 1 Crashed:: Dispatch queue: com.apple.root.utility-qos.overcommit
0   libsystem_c.dylib             	0x00007fff809837dc __findenv + 84
1   libsystem_c.dylib             	0x00007fff80983870 getenv + 29
2   com.apple.LaunchServices      	0x00007fff89a6d1d0 ___ZN14_LSPreferences13ArePersistentEv_block_invoke + 36
3   libdispatch.dylib             	0x00007fff82ce740b _dispatch_client_callout + 8
4   libdispatch.dylib             	0x00007fff82ce7303 dispatch_once_f + 67
5   com.apple.LaunchServices      	0x00007fff89a6d1a2 _LSPreferences::_LSPreferences(bool) + 364
6   com.apple.LaunchServices      	0x00007fff89a6cfe6 ___ZN14_LSPreferences4WithEPKNS_15SecurityContextEU13block_pointerFvPKvE_block_invoke + 30
7   libdispatch.dylib             	0x00007fff82ce740b _dispatch_client_callout + 8
8   libdispatch.dylib             	0x00007fff82ce7303 dispatch_once_f + 67
9   com.apple.LaunchServices      	0x00007fff89a6cfc5 _LSPreferences::With(_LSPreferences::SecurityContext const*, void (void const*) block_pointer) + 93
10  com.apple.LaunchServices      	0x00007fff89a6cf57 _LSWithMutableInsecurePreferences + 107
11  com.apple.LaunchServices      	0x00007fff89a6cecf _LSPrefsInit(long*) + 301
12  com.apple.LaunchServices      	0x00007fff89a6cbfa _LSPrefsGetApplicationCapabilityIsDisabled + 45
13  com.apple.LaunchServices      	0x00007fff89a67f40 prepareApplicationCapabilityIsDisabledValue(_LSOnDemandContext&, FSNode*, __CFString const*, unsigned int, __FileCache*, __CFString const*, __CFError**) + 375
14  com.apple.LaunchServices      	0x00007fff89a64160 LSPropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 195
15  com.apple.CoreServicesInternal	0x00007fff821536f7 prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 227
16  com.apple.CoreServicesInternal	0x00007fff82151357 _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 212
17  com.apple.CoreFoundation      	0x00007fff8b10559b CFURLCopyResourcePropertyForKey + 123
18  com.apple.CoreFoundation      	0x00007fff8b105363 ____CFRunLoopSetOptionsReason_block_invoke_5 + 163
19  libdispatch.dylib             	0x00007fff82cf293d _dispatch_call_block_and_release + 12
20  libdispatch.dylib             	0x00007fff82ce740b _dispatch_client_callout + 8
21  libdispatch.dylib             	0x00007fff82ceb29b _dispatch_root_queue_drain + 1890
22  libdispatch.dylib             	0x00007fff82ceab00 _dispatch_worker_thread3 + 91
23  libsystem_pthread.dylib       	0x00007fff93fe54de _pthread_wqthread + 1129
24  libsystem_pthread.dylib       	0x00007fff93fe3341 start_wqthread + 13

[0] https://github.com/mozilla/Socorro-Tests in particular
David (Burns) is there anything suspicious here, and/or do you know how/if we can debug further?  Thanks!
Flags: needinfo?(dburns)
My guess is this is a startup crash. Can you reproduce on the VM that grid is string to use?
Flags: needinfo?(dburns)
(In reply to David Burns :automatedtester from comment #3)
> My guess is this is a startup crash. Can you reproduce on the VM that grid
> is string to use?

This is on a Mac Mini (native), and no, I'm currently unable to reproduce this manually.
Here's the Apple Crash Reporter output from a very recent Firefox 46 crash, which has occurred since I upgrade us, tonight.
Whiteboard: [fromAutomation] → [fromAutomation][tpi:?]
Whiteboard: [fromAutomation][tpi:?] → [fromAutomation][tpi:-]

Hi stephen, does this bug still reproduce with latest firefox release ?

please let us know
thanks

Flags: needinfo?(stephen.donner)

(In reply to Pablo from comment #7)

Hi stephen, does this bug still reproduce with latest firefox release ?

please let us know
thanks

Sorry, but I have no way of testing this, so can' t be of help here; feel free to resolve accordingly!

Flags: needinfo?(stephen.donner)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: