Closed Bug 1729648 Opened 4 years ago Closed 3 years ago

Crash in [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1]

Categories

(Core :: Graphics: WebGPU, defect)

Unspecified
macOS
defect

Tracking

()

RESOLVED WORKSFORME
96 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- disabled
firefox94 --- disabled
firefox95 --- disabled
firefox96 --- fixed

People

(Reporter: aryx, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

15 crashes on 5+ macOS 11 installations, oldest build is Firefox 93.0a1 20210904094024.

Submitted URLs indicate an issue related to WebGPU.

Maybe Fission related. (DOMFissionEnabled=1)

Crash report: https://crash-stats.mozilla.org/report/index/33412143-79e6-46e0-8b65-3a3c60210908

Reason: EXC_SOFTWARE / SIGABRT

Top 10 frames of crashing thread:

0 libsystem_kernel.dylib __pthread_kill 
1 libsystem_pthread.dylib pthread_kill 
2 libsystem_c.dylib abort 
3 libsystem_c.dylib __assert_rtn 
4 Metal MTLReportFailure.cold.1 
5 Metal MTLReportFailure 
6 Metal _MTLMessageContextEnd 
7 Metal -[MTLTextureDescriptorInternal validateWithDevice:] 
8 AppleIntelICLGraphicsMTLDriver validateTextureDescriptor 
9 AppleIntelICLGraphicsMTLDriver -[MTLIGAccelDevice newTextureWithDescriptor:] 

There are 20 crashes (from 7 installations) in nightly 93 starting with buildid 20210904094024. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1726626.

[1] https://hg.mozilla.org/mozilla-central/rev?node=ef5dc3e04e5f

Blocks: clouseau, 1726626
Has Regression Range: --- → yes
Flags: needinfo?(dmalyshau)
Regressed by: 1726626

All of these crashes (so far) have one of the following in "mac crash info":

    {
      "num_records": 1,
      "records": [
        {
          "message": "-[_MTLCommandEncoder dealloc]:131: failed assertion `Command encoder released without endEncoding'\n",
          "module": "/usr/lib/system/libsystem_c.dylib"
        }
      ]
    }

    {
      "num_records": 1,
      "records": [
        {
          "message": "-[MTLTextureDescriptorInternal validateWithDevice:]:1248: failed assertion `Texture Descriptor Validation\nMTLTextureDescriptor has width of zero.\nMTLTextureDescriptor has height of zero.\n'\n",
          "module": "/usr/lib/system/libsystem_c.dylib"
        }
      ]
    }
OS: Unspecified → macOS

Changing severity to S2 because of it's nightly only and not enabled by default.
So far, I found the reason of the first crash "Command encoder released without endEncoding" and have a fix coming, but not the second yet.

Assignee: nobody → dmalyshau
Severity: S2 → S3
Flags: needinfo?(dmalyshau)
Crash Signature: [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] → [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] [@ __pthread_kill | abort | _MTLReportFailure ]
Crash Signature: [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] [@ __pthread_kill | abort | _MTLReportFailure ] → [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.2 ] [@ __pthread_kill | abort | _MTLReportFailure ]
Crash Signature: [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.2 ] [@ __pthread_kill | abort | _MTLReportFailure ] → [@ __pthread_kill | abort | MTLReportFailure.cold.1 ] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.2 ] [@ __pthread_kill | abort | _MTLReportFailure ]
Crash Signature: [@ __pthread_kill | abort | MTLReportFailure.cold.1 ] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.2 ] [@ __pthread_kill | abort | _MTLReportFailure ] → [@ __pthread_kill | abort | MTLReportFailure.cold.1 ] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.1] [@ __pthread_kill | pthread_kill | abort | MTLReportFailure.cold.2 ] [@ __pthread_kill | abort | _MTLReportFailure ] [@ __pthread…
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Depends on: 1622846
Target Milestone: --- → 96 Branch
No longer blocks: 1726626

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: dmalyshau → nobody

Closing because no crashes reported for 12 weeks.

Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.