Bug 498453

Summary: Crash on call to features()
Product: [Frameworks and Libraries] qca Reporter: Matthias Kuhn <matthias>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: crash CC: aacid, bradh, justin
Priority: NOR    
Version First Reported In: 2.3.7   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matthias Kuhn 2025-01-10 06:58:17 UTC
Qca softstore provider crashes here when being called through `supportedFeatures()` on macos, stack below.

```
Thread 13 Crashed:: Thread (pooled)
0   libqca.2.dylib                	       0x358699061 QCA::Global::get_logger() + 17
1   libqca-softstore.dylib        	       0x35655d3f3 softstoreProvider::features() const + 19
2   libqca.2.3.7.dylib            	       0x108d5b7f2 QCA::ProviderManager::allFeatures() const + 514
3   libqca.2.3.7.dylib            	       0x108d7ba18 QCA::supportedFeatures() + 216
```

If I remove the softstore plugin, the crash disappears.
Comment 1 Albert Astals Cid 2025-01-10 09:24:25 UTC
We are in the process of phasing out QCA.

I would suggest you don't use it in your non KDE app and if this is a KDE app i suggest you help with the process of not using QCA anymore.

https://invent.kde.org/libraries/qca/-/issues/18
Comment 2 Matthias Kuhn 2025-01-10 13:53:40 UTC
Thank you for the information, this is from building QGIS, which does not have an exit strategy yet.