Open Bug 1560486 Opened 6 months ago Updated 11 days ago

firefox closes suddenly without crash (Estonian e-Residency: onepin-opensc-pkcs11.dll)

Categories

(Core :: Security: PSM, defect, P3, critical)

68 Branch
x86_64
Windows 10
defect

Tracking

()

UNCONFIRMED
Tracking Status
firefox68 --- affected

People

(Reporter: leifeld, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: crash, Whiteboard: [psm-smartcard])

Crash Data

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

While surfing firefox closes randomly, maybe one time in an hour.
I did not find a way to reproduce it faster.

Webrender is enabled.

Actual results:

Firefox closes without anything in about:crashes
One time there was a dialog, that an memory error occurred.
I tried debugging firefox with windbg, but i didn't see something helpful.

Expected results:

It should not close randomly.

I can try to build everything from source, if that would be helpful.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

leifeld, thanks for reporting. Can you upload about:support?
Open about:support, click on "Copy text to clipboard", paste it into a text file and attach it to the report. Thanks!

Flags: needinfo?(leifeld)

I wonder if Bug Bug 1559681 might be related to this bug.

See Also: → 1560490
See Also: 15604901559681
Attached file about.support.txt

The about:support output

Flags: needinfo?(leifeld)

Version: 68.0b12

Compositing: WebRender

Description: Radeon(TM) RX 460 Graphics
Vendor ID: 0x1002
Device ID: 0x67ef

Qualified device by bug 1559375, therefore marking 68 as affected.

Failure Log
(#0): GP+[GFX1-]: shader-cache: Timed out before finishing loads
(#1): CP+[GFX1-]: Unexpected BufferProvider over-production.
(#2): CP+[GFX1-]: Unexpected BufferProvider over-production.

Blocks: wr-amd
Keywords: crash
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Severity: normal → critical

Background: Graphics problems usually don't close Firefox anymore. In case of a GPU process crash the window should only flash white for a second.

Name: Firefox PKCS11 loader
Version: 1.0.1

Name: IDEMIA PKCS11 loader
Version: 2.0.6

You are using two smartcard plugins that are using the WebExtension API provided by bug 1357391.
It's not unlikely that they could cause trouble. (bug 1396030 comment 0)

Please try disabling all these addons to see if that fixes the problem. Thanks!

I disabeld the addons and after an hour I got a new crash, this time with an call stack. It is uploaded with id
1fef7e06-3433-4002-93e1-f35fb0190625
https://crash-stats.mozilla.org/report/index/1fef7e06-3433-4002-93e1-f35fb0190625#tab-details

i guess, that it is quite common to load these two pkcs11 plugins, since it is the recocmended way to connect the estonian e residency.
see https://e-resident.gov.ee/welcome/ ⇢ install link ⇢ Firefox

Attached file new about.support.txt

Thanks! Moving to the right component.

No longer blocks: wr-stability, wr-amd
Crash Signature: [@ onepin-opensc-pkcs11.dll | BaseAllocator::malloc | SECMOD_UpdateSlotList ]
Component: Graphics: WebRender → Security: PSM
See Also: 15596811396030

The two PKCS11 loader Plugins are supposed to be enabled at once for the e residency: https://id.ee/index.php?id=34392

Strange that I got the crash, even with both plugins disabled (see second about.support.txt)

The PKCS11 WebExtension API is used to install PKCS#11 modules. Afterwards, I assume, these addons are only needed for updates.

Depends on: 1396030
See Also: 1396030
Summary: firefox closes suddenly without crash → firefox closes suddenly without crash (Estonian e-Residency: onepin-opensc-pkcs11.dll)
Attached image memory.png

Firefox being terminated by Windows

Crashed again without anything in about:crashes
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #11)

The PKCS11 WebExtension API is used to install PKCS#11 modules. Afterwards, I assume, these addons are only needed for updates.

Thank you for the explanation.

Got a new crash, which could be reported 8e936a70-394f-4445-b2ac-a142f0190701

(In reply to leifeld from comment #14)

Got a new crash, which could be reported bp-8e936a70-394f-4445-b2ac-a142f0190701

That one is empty :/

Priority: -- → P3
Whiteboard: [psm-smartcard]
Crash Signature: [@ onepin-opensc-pkcs11.dll | BaseAllocator::malloc | SECMOD_UpdateSlotList ] → [@ onepin-opensc-pkcs11.dll | BaseAllocator::malloc | SECMOD_UpdateSlotList ] [@ onepin-opensc-pkcs11.dll | SECMOD_UpdateSlotList ]
You need to log in before you can comment on or make changes to this bug.