Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

mrswatsontest64: Load plugin with absolute path: Segmentation fault: 11 (core dumped) #277

Open
subatomicglue opened this issue Mar 17, 2018 · 0 comments

Comments

@subatomicglue
Copy link

subatomicglue commented Mar 17, 2018

Similar result with mrswatsontest

MacOSX: High Sierra 10.13.2 (17C205)

> cmake --version
cmake version 3.10.2

> clang --version
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin17.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> git clone --recursive  https://github.com/teragonaudio/MrsWatson.git
> cd MrsWatson/ && mkdir build && cd build && cmake ..
> make -j 10
> cd test && ./mrswatsontest64 
=== Running tests ===
Running tests in AudioClock
  Initialization: OK
  AdvanceClock: OK
  StopClock: OK
  RestartClock: OK
  MultipleAdvance: OK
Running tests in AudioSettings
  Initialization: OK
  SetSampleRate: OK
  SetInvalidSampleRate: OK
  SetNumChannels: OK
  SetInvalidNumChannels: OK
  SetBlocksize: OK
  SetInvalidBlocksize: OK
  SetTempo: OK
  SetInvalidTempo: OK
  SetTempoWithMidiBytes: OK
  SetTempoWithMidiBytesNull: OK
  SetTimeSignatureBeatsPerMeasure: OK
  SetTimeSignatureNoteValue: OK
  SetTimeSignatureWithMidiBytes: OK
  SetTimeSignatureWithMidiBytesNull: OK
  SetTimeSignatureFromString: OK
  SetTimeSignatureFromInvalidString: OK
  SetTimeSignatureFromNullString: OK
  SetBitDepth: OK
Running tests in CharString
  NewObject: OK
  NewObjectWithCapacity: OK
  NewObjectWithNullCString: OK
  NewObjectWithEmptyCString: OK
  ClearString: OK
  CopyToCharString: OK
  CopyCharStrings: OK
  EmptyStringIsEmpty: OK
  NullIsEmpty: OK
  RegularStringIsNotEmpty: OK
  AppendCharStrings: OK
  AppendCharStringsOverCapacity: OK
  EqualsSameString: OK
  DoesNotEqualDifferentString: OK
  EqualsSameStringWithCaseInsensitive: OK
  DoesNotEqualSameStringWithDifferentCase: OK
  EqualsNull: OK
  EqualsSameCString: OK
  DoesNotEqualDifferentCString: OK
  EqualsSameCStringWithCaseInsensitive: OK
  DoesNotEqualSameCStringWithDifferentCase: OK
  EqualsCStringNull: OK
  IsLetter: OK
  IsNotLetter: OK
  IsNumber: OK
  IsNotNumber: OK
  SplitString: OK
  SplitStringWithoutDelimiter: OK
  SplitStringNULLDelimiter: OK
  SplitStringEmptyString: OK
  WrapNullSourceString: OK
  WrapString: OK
  WrapStringWithIndent: OK
  WrapStringLongerThanLine: OK
  FreeNullCharString: OK
Running tests in Endian
  FlipShortEndian: OK
  FlipIntEndian: OK
  ConvertBigEndianShortToPlatform: OK
  ConvertBigEndianIntToPlatform: OK
  ConvertLittleEndianIntToPlatform: OK
  ConvertBigEndianFloatToPlatform: OK
  ConvertByteArrayToUnsignedShort: OK
  ConvertByteArrayToUnsignedInt: OK
Running tests in File
  NewFileDefault: OK
  NewFileAlreadyExists: OK
  NewFileWithRelativePath: OK
  NewFileWithAbsolutePath: OK
  NewFileWithNetworkPath: OK
  NewFileWithInvalidPath: OK
  NewFileWithNullPath: OK
  NewFileWithCStringPath: OK
  NewFileWithCStringPathNull: OK
  NewFileWithParent: OK
  NewFileWithParentNullParent: OK
  NewFileWithParentNullPath: OK
  NewFileWithParentEmptyPath: OK
  NewFileWithParentAlreadyExists: OK
  NewFileWithParentNotDirectory: OK
  NewFileWithParentInvalid: OK
  NewFileWithParentAbsolutePath: OK
  FileExists: OK
  FileExistsInvalid: OK
  FileCreateFile: OK
  FileCreateDir: OK
  FileCreateInvalidType: OK
  FileCreateAlreadyExists: OK
  FileCopyToWithFile: OK
  FileCopyToWithDirectory: OK
  FileCopyToInvalidDestination: OK
  FileCopyNullTo: OK
  FileCopyToNull: OK
  FileRemoveDir: OK
  FileRemoveDirWithContents: OK
  FileRemoveFile: OK
  FileRemoveInvalid: OK
  FileListDirectory: OK
  FileListDirectoryInvalid: OK
  FileListDirectoryNotExists: OK
  FileListDirectoryEmpty: OK
  FileGetSize: OK
  FileGetSizeNotExists: OK
  FileGetSizeDirectory: OK
  FileReadContents: OK
  FileReadContentsNotExists: OK
  FileReadContentsDirectory: OK
  FileReadLines: OK
  FileReadLinesEmpty: OK
  FileReadLinesNotExists: OK
  FileReadLinesDirectory: OK
  FileReadBytes: OK
  FileReadBytesNotExists: OK
  FileReadBytesDirectory: OK
  FileReadBytesZeroSize: OK
  FileReadBytesGreaterSize: OK
  FileWrite: OK
  FileWriteMulitple: OK
  FileWriteInvalid: OK
  FileWriteDirectory: OK
  FileWriteBytes: OK
  FileWriteBytesInvalid: OK
  FileWriteBytesDirectory: OK
  FileGetBasename: OK
  FileGetBasenameInvalid: OK
  FileGetBasenameDirectory: OK
  FileGetParent: OK
  FileGetParentInvalid: OK
  FileGetExtension: OK
  FileGetExtensionDirectory: OK
  FileGetExtensionInvalid: OK
  FileGetExtensionNone: OK
  FileGetExtensionWithDotInPath: OK
  FileFreeNull: OK
Running tests in LinkedList
  NewObject: OK
  AppendItem: OK
  AppendMultipleItems: OK
  AppendNullItem: OK
  AppendItemToNullList: OK
  NumItemsInList: OK
  NumItemsInNullList: OK
  LinkedListToArray: OK
  LinkedListToArrayWithNull: OK
  LinkedListWithEmptyList: OK
  ForeachOverNullList: OK
  ForeachOverEmptyList: OK
  ForeachOverList: OK
  ForeachWithUserData: OK
  FreeNullLinkedList: OK
Running tests in MidiSequence
  Initialization: OK
  AppendEvent: OK
  AppendNullEvent: OK
  AppendEventToNullSequence: OK
  FillEventsFromRangeStart: OK
  FillEventsFromEmptyRange: OK
  FillEventsSequentially: OK
  FillEventsFromRangePastSequenceEnd: OK
Running tests in MidiSource
  GuessMidiSourceType: OK
  GuessMidiSourceTypeInvalid: OK
  NewObject: OK
Running tests in PcmSampleBuffer
  NewObject: OK
  SetSampleBuffer8Bit: OK
  SetSampleBuffer16Bit: OK
  SetSampleBuffer16BitStereo: OK
  SetSampleBuffer24Bit: OK
  SetSampleBuffer32Bit: OK
  SetSamples8Bit: OK
  SetSamples16BitBigEndian: OK
  SetSamples16BitLittleEndian: OK
  SetSamples16BitStereo: OK
  SetSamples24BitBigEndian: OK
  SetSamples24BitLittleEndian: OK
  SetSamples32BitBigEndian: OK
  SetSamples32BitLittleEndian: OK
Running tests in PlatformInfo
  GetPlatformType: OK
  GetPlatformName: OK
  GetShortPlatformName: OK
  IsHostLittleEndian: OK
Running tests in Plugin
  PluginFactory: OK
  PluginFactoryInvalidPlugin: OK
  PluginFactoryNullPluginName: OK
  PluginFactoryEmptyPluginName: OK
  PluginFactoryNullRoot: OK
  FreeNullPlugin: OK
Running tests in PluginChain
  Initialization: OK
  AddFromArgumentStringNull: OK
  AddFromArgumentStringEmpty: OK
  AddFromArgumentStringEmptyLocation: OK
  AddFromArgumentStringNullLocation: OK
  AddFromArgumentString: OK
  AddFromArgumentStringMultiple: OK
  AddPluginWithPresetFromArgumentString: OK
  AddFromArgumentStringWithPresetSpaces: OK
  AppendPlugin: OK
  AppendWithNullPlugin: OK
  AppendWithPreset: OK
  InitializePluginChain: OK
  GetMaximumTailTime: OK
  PrepareForProcessing: OK
  ProcessPluginChainAudio: OK
  ProcessPluginChainAudioRealtime: Warning: timing assertion failed at PluginChainTest.c:257. Expected 11.6ms, got 12.32ms. OK
  ProcessPluginChainMidiEvents: OK
  Shutdown: OK
Running tests in PluginPreset
  GuessPluginPresetType: OK
  GuessPluginPresetTypeInvalid: OK
  NewObject: OK
  IsPresetCompatibleWithPlugin: OK
  IsPresetNotCompatibleWithPlugin: OK
Running tests in PluginVst2xId
  NewPluginVst2xId: OK
  NewPluginVst2xIdWithIntId: OK
  NewPluginVst2xIdWithZeroIntId: OK
  NewPluginVst2xIdWithStringId: OK
  NewPluginVst2xIdWithNullStringId: OK
  NewPluginVst2xIdWithEmptyStringId: OK
  NewPluginVst2xIdWithInvalidStringId: OK
Running tests in ProgramOption
  NewObject: OK
  AddNewProgramOption: OK
  AddNullProgramOption: OK
  AddNewProgramOptionOutsideRange: OK
  ParseCommandLineShortOption: OK
  ParseCommandLineLongOption: OK
  ParseCommandLineInvalidOption: ERROR: Invalid option 'invalid'
OK
  ParseCommandLineRequiredOption: OK
  ParseCommandLineRequiredOptionMissing: ERROR: Option 'test' requires an argument, but none was given
OK
  ParseConfigFile: OK
  ParseInvalidConfigFile: ERROR: Cannot read options from non-existent file 'invalid'
OK
  ParseNullConfigFile: ERROR: Cannot read options from empty filename
OK
  ParseConfigFileWithInvalidOptions: ERROR: Invalid option '-s'
OK
  FindProgramOptionFromString: OK
  FindProgramOptionFromStringInvalid: OK
  GetString: OK
  GetStringForWrongType: OK
  GetStringForInvalidOption: OK
  GetNumeric: OK
  GetNumericForWrongType: OK
  GetNumericForInvalidOption: OK
  GetList: OK
  GetListForWrongType: OK
  GetListForInvalidOption: OK
  SetString: OK
  SetStringForWrongType: OK
  SetStringForInvalidOption: OK
  SetStringWithNull: OK
  SetNumeric: OK
  SetNumericForWrongType: OK
  SetNumericForInvalidOption: OK
  SetListItem: OK
  SetListItemForWrongType: OK
  SetListItemForInvalidOption: OK
Running tests in SampleBuffer
  NewObject: OK
  NewSampleBufferMultichannel: OK
  ClearSampleBuffer: OK
  CopyAndMapChannelsSampleBuffers: OK
  CopyAndMapChannelsSampleBuffersDifferentSizes: INTERNAL ERROR: Source and destination buffer are not the same size
  This should not have happened. Please take a minute to report a bug.
  Support website: https://github.com/teragonaudio/mrswatson/issues
  Support email: [email protected]
OK
  CopyAndMapChannelsSampleBuffersDifferentChannelsBigger: OK
  CopyAndMapChannelsSampleBuffersDifferentChannelsSmaller: OK
  FreeNullSampleBuffer: OK
Running tests in SampleSource
  GuessSampleSourceTypePcm: OK
  GuessSampleSourceTypeEmpty: OK
  GuessSampleSourceTypeWrongCase: OK
Running tests in TaskTimer
  NewObject: OK
  NewObjectWithEmptyComponent: OK
  NewObjectWithEmptySubcomponent: OK
  NewObjectWithNullComponent: OK
  NewObjectWithNullComponentCString: OK
  NewObjectWithNullSubcomponent: OK
  NewObjectWithCStrings: OK
  TaskDuration: Warning: timing assertion failed at TaskTimerTest.c:150. Expected 10ms, got 12.63ms. Warning: timing assertion failed at TaskTimerTest.c:151. Expected 10ms, got 12.63ms. OK
  TaskDurationMultipleTimes: Warning: timing assertion failed at TaskTimerTest.c:163. Expected 10ms, got 12.52ms. Warning: timing assertion failed at TaskTimerTest.c:163. Expected 10ms, got 12.53ms. Warning: timing assertion failed at TaskTimerTest.c:168. Expected 50ms, got 58.33ms. OK
  CallStartTwice: Warning: timing assertion failed at TaskTimerTest.c:179. Expected 10ms, got 12.65ms. OK
  CallStopTwice: OK
  CallStartTwice: Warning: timing assertion failed at TaskTimerTest.c:179. Expected 10ms, got 12.01ms. OK
  CallStopBeforeStart: Warning: timing assertion failed at TaskTimerTest.c:199. Expected 10ms, got 12.58ms. OK
  HumanReadableTimeMs: OK
  HumanReadableTimeSec: OK
  HumanReadableTimeMinSec: OK
  HumanReadableTimeHoursMinSec: OK
  HumanReadableTimeNotStarted: OK
  SleepMilliseconds: Warning: timing assertion failed at TaskTimerTest.c:255. Expected 12ms, got 12.98ms. OK
Running tests in AnalysisClipping
  AnalysisClipping: OK
  AnalysisNotClipping: OK
Running tests in AnalysisDistortion
  AnalysisDistortion: OK
  AnalysisNotDistortion: OK
Running tests in AnalysisSilence
  AnalysisSilence: OK
  AnalysisNotSilence: OK
  AnalysisNotSilenceInOneChannel: OK
Running tests in Integration
  List plugins: Skipped
  List file types: Skipped
  Invalid arugment: Skipped
  Load plugin with absolute path: Segmentation fault: 11 (core dumped)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant