bitmovin / libdash

MPEG-DASH Access Library - Official ISO/IEC MPEG-DASH Reference Implementation
https://bitmovin.com/
589 stars 169 forks source link

pure virtual method called error in libdash_memoryleak_test.cpp#L59 #33

Open ahnHeejune opened 3 years ago

ahnHeejune commented 3 years ago

When I test libdash_memoryleak_test on Linux (after commenting out the Windows dependency), I got this error at delete(seg).

"pure virtual method called error" could happen when a pure virtual function is called in the constructor or destrctors in abstract class. In fact, the instance itself is Segment, which inherits ISegment and again the ISegment inherits IDownloadableChunk, which inherits IChunk and IDASHMetrics. All the parent classes' destrctors are empty.

Does anyone have the same experience and solution?

https://github.com/bitmovin/libdash/blob/168dfdf3081e6fc325670f4fe4869e58f13ff8c3/libdash/libdash_memoryleak_test/libdash_memoryleak_test.cpp#L59