Date: Thu, 25 May 2023 15:17:05 -0400
2nd round of clarifications:
The exact problem was OpenCV which is not using thread-safe reference
count smart pointers has a race-condition. It turns out C++ doesn't even
offer thread-safe reference count pointers anyways.
So the fix is to create your own thread-safe reference count pointer.
But I highly advice the committee to put some efforts in that direction.
Sorry again for all the formerly confusion and false accusations.
Regards,
On 4/7/23 00:15, Phil Bouchard wrote:
>
>
> On 4/2/23 11:20, Tony V E via Std-Proposals wrote:
>> Have you posted the latest version of your example code somewhere?
>
> It turns out there were issues in my own code, not detected by Windows
> and corrupting the memory which would then make the app randomly crash.
>
> In Linux it would detect the issues right off the bat and crash right away.
>
> Just a head's up here. I didn't use in any occasion Windows seriously
> for the last 23 years but that was the last time.
>
>
> Thank you,
>
The exact problem was OpenCV which is not using thread-safe reference
count smart pointers has a race-condition. It turns out C++ doesn't even
offer thread-safe reference count pointers anyways.
So the fix is to create your own thread-safe reference count pointer.
But I highly advice the committee to put some efforts in that direction.
Sorry again for all the formerly confusion and false accusations.
Regards,
On 4/7/23 00:15, Phil Bouchard wrote:
>
>
> On 4/2/23 11:20, Tony V E via Std-Proposals wrote:
>> Have you posted the latest version of your example code somewhere?
>
> It turns out there were issues in my own code, not detected by Windows
> and corrupting the memory which would then make the app randomly crash.
>
> In Linux it would detect the issues right off the bat and crash right away.
>
> Just a head's up here. I didn't use in any occasion Windows seriously
> for the last 23 years but that was the last time.
>
>
> Thank you,
>
-- Logo <https://www.fornux.com/> *Phil Bouchard* facebook icon <https://www.linkedin.com/in/phil-bouchard-5723a910/> Founder & CEO T: (819) 328-4743 E: phil_at_[hidden]| www.fornux.com <http://www.fornux.com> 8 rue de la Baie| Gatineau (Qc), J8T 3H3 Canada Banner <https://goglobalawards.org/> Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés uniquement aux personnes identifiées et peuvent contenir des informations privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message par erreur, veuillez le détruire. This communication (and/or the attachments) is intended for named recipients only and may contain privileged or confidential information which is not to be disclosed. If you received this communication by mistake please destroy all copies.
Received on 2023-05-25 19:17:06