Closed Bug 1781753 Opened 2 years ago Closed 2 years ago

[macOS 10.14] Crash in [@ __pthread_kill | pthread_kill | abort | libeTPkcs11.dylib@0x36e14]

Categories

(NSPR :: NSPR, defect)

Unspecified
macOS
defect

Tracking

(firefox103 affected)

RESOLVED DUPLICATE of bug 1670195
Tracking Status
firefox103 --- affected

People

(Reporter: aryx, Unassigned)

References

Details

(Keywords: crash)

Crash Data

5 crashes with Firefox 103.0 on macOS 10.14, all with <1GB of available physical memory

Crash report: https://crash-stats.mozilla.org/report/index/f997db47-59da-4c10-b41d-cc9320220727

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 libeTPkcs11.dylib libeTPkcs11.dylib@0x0000000000036e14 
5 libeTPkcs11.dylib libeTPkcs11.dylib@0x000000000000f9cb 
6 libeTPkcs11.dylib libeTPkcs11.dylib@0x000000000009547d 
7 None @0x0000000103ba8591 
8 None @0x0000000103ba8797 
9 None @0x0000000103ba3be9 

libeTPkcs11.dylib is sometimes a soft link to libeToken.dylib. It's a third party module associated with "SafeNet" and other drivers:

https://www.certsign.ro/en/support/safenet-installing-the-device-on-macos/
https://www2.swift.com/3skey/help/mac_support.html

So this bug is related to bug 1670195, if not a dup of it.

See Also: → 1670195

Mac crash info associated with these crashes:

{
  "num_records": 1,
  "records": [
    {
      "abort_cause": null,
      "backtrace": null,
      "dialog_mode": null,
      "message": "Assertion failed: (lib), function init_openssl_crypto, file /Users/user/sac10.2/ETOKEN/CRYPTO/Crypto.c, line 258.\n",
      "message2": null,
      "module": "/usr/lib/system/libsystem_c.dylib",
      "signature_string": null,
      "thread": null
    }
  ]
}

I've just confirmed that the installer for the SafeNet Authentication Driver installs libeTPkcs11.dylib in /usr/local/lib as a soft link to libeToken.dylib.

There must be some driver sets where libeTPkcs11.dylib is its own thing, and not just a soft link to libeToken.dylib. It/those are the source of this bug's crashes. But it seems that all of these driver sets belong to the same general class as the "SafeNet Authentication Driver".

Like the crashes at bug 1670195, these crashes are almost certainly bugs in one or more third party drivers, and not a Firefox bug.

I have STR for this bug:

  1. Install the SafeNet Authentication Driver on macOS 10.14.6.

  2. Try to load /usr/local/lib/liblibeTPkcs11.dylib or /usr/local/lib/libeToken.dylib as a new "security device" (under the "Privacy and Security" settings).

  3. Crash.

(In reply to Steven Michaud [:smichaud] (Retired) from comment #4)

There must be some driver sets where libeTPkcs11.dylib is its own thing, and not just a soft link to libeToken.dylib. It/those are the source of this bug's crashes.

So this is wrong. This bug's distinctive crashes happen (on macOS 10.14) even with libeToken.dylib, and even when libeTPkcs11.dylib is a soft link to libeToken.dylib.

This bug is a dup of bug 1670195 on macOS 10.14.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE

These crashes can be fixed (by Thales) the same way I suggested in bug 1670195 comment #27. I just confirmed it using the same HookCase hook library I used at bug 1670195.

I don't know why these crashes only happen in Firefox 103.X. But Thales can easily fix them, if it wants to.

Crash Signature: [@ __pthread_kill | pthread_kill | abort | libeTPkcs11.dylib@0x36e14] → [@ __pthread_kill | pthread_kill | abort | libeTPkcs11.dylib@0x36e14] [@ __pthread_kill | abort | libeTPkcs11.dylib@0x36e14 ]
Crash Signature: [@ __pthread_kill | pthread_kill | abort | libeTPkcs11.dylib@0x36e14] [@ __pthread_kill | abort | libeTPkcs11.dylib@0x36e14 ] → [@ __pthread_kill | pthread_kill | abort | libeTPkcs11.dylib@0x36e14] [@ __pthread_kill | abort | libeTPkcs11.dylib@0x36e14 ] [@ pthread_kill | abort | libeTPkcs11.dylib@0x36e14 ]
You need to log in before you can comment on or make changes to this bug.