View Issue Details

IDProjectCategoryView StatusLast Update
0030238Open CASCADEOCCT:Configurationpublic2023-08-01 15:09
Reporterkgv Assigned Tovpozdyayev 
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2015 
Product Version7.3.0 
Target VersionUnscheduled 
Summary0030238: Configuration - NCollection_Array1<OSD_Timer> crashes on destruction when using msvc
DescriptionThe simple code snippet does not work as expected when compiled using msvc:
  NCollection_Array1<OSD_Timer> aTimers (1, 2);


See also the following bug report:
https://developercommunity.visualstudio.com/content/problem/346875/delete-calls-scalar-deleting-destructor-instead-of.html
TagsNo tags attached.
Test case number

Attached Files

  • vc14_delete_crash.zip (4,612 bytes)

Relationships

related to 0030937 assigneddpasukhi Community Coding - TNaming_NamedShape destructor should not be inlined 

Activities

kgv

2018-10-14 13:05

developer  

vc14_delete_crash.zip (4,612 bytes)

kgv

2018-10-14 13:12

developer   ~0079929

Following MS expert comment, to workaround this issue the implicitly generated desctrutor of sub-class (~OSD_Timer) should be explicitly exported from DLL.

Issue History

Date Modified Username Field Change
2018-10-14 13:05 kgv New Issue
2018-10-14 13:05 kgv Assigned To => kgv
2018-10-14 13:05 kgv File Added: vc14_delete_crash.zip
2018-10-14 13:12 kgv Note Added: 0079929
2019-07-19 17:21 apn Target Version 7.4.0 => 7.5.0
2019-09-04 11:13 kgv Relationship added related to 0030937
2020-08-28 16:31 kgv Target Version 7.5.0 => 7.6.0
2021-09-09 23:18 kgv Target Version 7.6.0 => 7.7.0
2022-10-19 15:55 smoskvin Assigned To kgv => vpozdyayev
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled