libdash icon indicating copy to clipboard operation
libdash copied to clipboard

pure virtual method called error in libdash_memoryleak_test.cpp#L59

Open ahnHeejune opened this issue 4 years ago • 0 comments

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

ahnHeejune avatar Mar 13 '21 10:03 ahnHeejune