Bug 498453 - Crash on call to features()
Summary: Crash on call to features()
Status: REPORTED
Alias: None
Product: qca
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 2.3.7
Platform: Other Other
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-10 06:58 UTC by Matthias Kuhn
Modified: 2025-01-10 13:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.