Open Bug 1807600 Opened 2 years ago Updated 7 months ago

Thunderbird crashes when smart card inserted

Categories

(Thunderbird :: Security, defect)

Thunderbird 102
x86_64
Windows 10
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: nevenr, Unassigned)

Details

(Keywords: crash)

Crash Data

Hi,

I registered security device, smart card, as PKCS#11 module (proper dll is loaded) and I logged in successfully. Afterwards I was successful with signing/encrypting/decrypting sent/received emails.

Now if smart card is removed from reader and other smart card (different type) is inserted Thunderbird crashes. Even restarts fails until second card is still inserted in reader.

I believe root cause is in PKCS#11 module but Thunderbird should handle it differently.

Crash report is submitted with comment.

#osIntegration #encryption #security

Thanks.

Regards,
Neven.

nevenr,
Please post your crash IDs into this bug report from https://support.mozilla.org/en-US/kb/mozilla-crash-reporter-tb#w_viewing-crash-reports

Flags: needinfo?(nevenr)
Crash Signature: [@ netsetpkcs11_x64.dll | free ]
Component: General → Security
Keywords: crash

Are you still crashing?
Might this be related to bug 1675742 ?

Flags: needinfo?(nevenr)

Hi,

Still the same behavior with TB 115.8.1 (64-bit).

https://crash-stats.mozilla.org/report/index/48e16057-9924-47ef-aadf-9eb740240314

Regards,
N.

Flags: needinfo?(nevenr)

Thanks for the additional information.

(In reply to nevenr from comment #4)

https://crash-stats.mozilla.org/report/index/48e16057-9924-47ef-aadf-9eb740240314

Crash report: https://crash-stats.mozilla.org/report/index/48e16057-9924-47ef-aadf-9eb740240314

Reason: STATUS_INVALID_CRUNTIME_PARAMETER

Top 10 frames of crashing thread:

0  msvcr90.dll  _invalid_parameter  f:\dd\vctools\crt_bld\self_64_amd64\crt\src\invarg.c:115
1  msvcr90.dll  _invalid_parameter_noinfo  f:\dd\vctools\crt_bld\self_64_amd64\crt\src\invarg.c:125
2  netsetpkcs11_x64.dll  netsetpkcs11_x64.dll@0x508c5  
3  netsetpkcs11_x64.dll  netsetpkcs11_x64.dll@0x55bfc  
4  msvcp90.dll  std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >  f:\dd\vctools\crt_bld\self_64_amd64\crt\src\xstring:916
5  netsetpkcs11_x64.dll  netsetpkcs11_x64.dll@0x314e0  
6  netsetpkcs11_x64.dll  netsetpkcs11_x64.dll@0x14f51f  
7  netsetpkcs11_x64.dll  netsetpkcs11_x64.dll@0x14f51f  
8  WinSCard.dll  <unknown in WinSCard.dll>  
9  WinSCard.dll  <unknown in WinSCard.dll>  
Crash Signature: [@ netsetpkcs11_x64.dll | free ] → [@ netsetpkcs11_x64.dll | free ] [@ _invalid_parameter]
You need to log in before you can comment on or make changes to this bug.