{"action":"closed","issue":{"url":"https://api.github.com/repos/doe300/OHMComm/issues/36","labels_url":"https://api.github.com/repos/doe300/OHMComm/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/doe300/OHMComm/issues/36/comments","events_url":"https://api.github.com/repos/doe300/OHMComm/issues/36/events","html_url":"https://github.com/doe300/OHMComm/issues/36","id":91001768,"number":36,"title":"Access violation executing after call of RtAudioWrapper::prepare()","user":{"login":"J0n8s","id":11015042,"avatar_url":"https://avatars.githubusercontent.com/u/11015042?v=3","gravatar_id":"","url":"https://api.github.com/users/J0n8s","html_url":"https://github.com/J0n8s","followers_url":"https://api.github.com/users/J0n8s/followers","following_url":"https://api.github.com/users/J0n8s/following{/other_user}","gists_url":"https://api.github.com/users/J0n8s/gists{/gist_id}","starred_url":"https://api.github.com/users/J0n8s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J0n8s/subscriptions","organizations_url":"https://api.github.com/users/J0n8s/orgs","repos_url":"https://api.github.com/users/J0n8s/repos","events_url":"https://api.github.com/users/J0n8s/events{/privacy}","received_events_url":"https://api.github.com/users/J0n8s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doe300/OHMComm/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/doe300/OHMComm/milestones/5","html_url":"https://github.com/doe300/OHMComm/milestones/Meeting%205","labels_url":"https://api.github.com/repos/doe300/OHMComm/milestones/5/labels","id":1108310,"number":5,"title":"Meeting 5","description":"","creator":{"login":"doe300","id":6682649,"avatar_url":"https://avatars.githubusercontent.com/u/6682649?v=3","gravatar_id":"","url":"https://api.github.com/users/doe300","html_url":"https://github.com/doe300","followers_url":"https://api.github.com/users/doe300/followers","following_url":"https://api.github.com/users/doe300/following{/other_user}","gists_url":"https://api.github.com/users/doe300/gists{/gist_id}","starred_url":"https://api.github.com/users/doe300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doe300/subscriptions","organizations_url":"https://api.github.com/users/doe300/orgs","repos_url":"https://api.github.com/users/doe300/repos","events_url":"https://api.github.com/users/doe300/events{/privacy}","received_events_url":"https://api.github.com/users/doe300/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":4,"state":"open","created_at":"2015-05-13T09:54:38Z","updated_at":"2015-06-26T15:07:35Z","due_on":"2015-07-20T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-25T15:49:48Z","updated_at":"2015-06-26T15:07:35Z","closed_at":"2015-06-26T15:07:35Z","body":"After making AudioProcessor::configure virtual, to provide overriding functionality in ProcessorOpus for the initialisation of encoder/decoder objects (see #18 ). The Programm crashes with an Access violation executing.\r\nThrown after executing RtAudioWrapper::prepare() at line 369.\r\nObject Informations:\r\n```\r\n-\t\tthis\t0x00551778 {semaphore_waitForMainThread=0x00000104 semaphore_waitForWorkerThread=0x00000108 bufferAudioOutput=...}\tRtAudioWrapper *\r\n-\t\tAudioHandler\t{flagAudioConfigSet=true flagPrepared=true audioProcessors={ size=2 } ...}\tAudioHandler\r\n-\t\t__vfptr\t0x013dce78 {OHMComm.exe!const RtAudioWrapper::`vftable'} {0x01332149 {OHMComm.exe!RtAudioWrapper::startRecordingMode(void)}, ...}\tvoid * *\r\n\t\t[0]\t0x01332149 {OHMComm.exe!RtAudioWrapper::startRecordingMode(void)}\tvoid *\r\n\t\t[1]\t0x01331433 {OHMComm.exe!RtAudioWrapper::startPlaybackMode(void)}\tvoid *\r\n\t\t[2]\t0x01331b4f {OHMComm.exe!RtAudioWrapper::startDuplexMode(void)}\tvoid *\r\n\t\t[3]\t0x01331686 {OHMComm.exe!RtAudioWrapper::setConfiguration(struct AudioConfiguration const &)}\tvoid *\r\n\t\t[4]\t0x01331852 {OHMComm.exe!RtAudioWrapper::suspend(void)}\tvoid *\r\n\t\t[5]\t0x013310ff {OHMComm.exe!RtAudioWrapper::resume(void)}\tvoid *\r\n\t\t[6]\t0x013313e8 {OHMComm.exe!RtAudioWrapper::stop(void)}\tvoid *\r\n\t\t[7]\t0x013316f9 {OHMComm.exe!RtAudioWrapper::reset(void)}\tvoid *\r\n\t\t[8]\t0x01331e56 {OHMComm.exe!RtAudioWrapper::playData(void *,unsigned int)}\tvoid *\r\n\t\t[9]\t0x0133218f {OHMComm.exe!RtAudioWrapper::setDefaultAudioConfig(void)}\tvoid *\r\n\t\t[10]\t0x01331596 {OHMComm.exe!RtAudioWrapper::prepare(void)}\tvoid *\r\n\t\t[11]\t0x0133184d {OHMComm.exe!RtAudioWrapper::getBufferSize(void)}\tvoid *\r\n\t\tflagAudioConfigSet\ttrue\tbool\r\n\t\tflagPrepared\ttrue\tbool\r\n-\t\taudioProcessors\t{ size=2 }\tstd::vector<AudioProcessor *,std::allocator<AudioProcessor *> >\r\n\t\t[size]\t2\tint\r\n\t\t[capacity]\t2\tint\r\n-\t\t[0]\t0x0043fafc {networkObject=0x00551ab0 {Socket=292 localAddress={sin_family=2 sin_port=14640 sin_addr=...} ...} ...}\tAudioProcessor *\r\n-\t\t[ProcessorRTP]\t{networkObject=0x00551ab0 {Socket=292 localAddress={sin_family=2 sin_port=14640 sin_addr={S_un={...} } ...} ...} ...}\tProcessorRTP\r\n+\t\tAudioProcessor\t{name=\"RTP-Processor\" }\tAudioProcessor\r\n+\t\tnetworkObject\t0x00551ab0 {Socket=292 localAddress={sin_family=2 sin_port=14640 sin_addr={S_un={S_un_b={...} S_un_w=...} } ...} ...}\tNetworkWrapper *\r\n+\t\trtpPackage\t0x00000000 <NULL>\tRTPPackageHandler *\r\n+\t\trtpBuffer\t0x00551598 unique_ptr {bufferMutex=0x00000128 ringBuffer=0x00564108 {isValid=true (205) header={version=1 padding=1 extension=...} ...} ...}\tstd::unique_ptr<RTPBuffer,std::default_delete<RTPBuffer> > *\r\n-\t\t__vfptr\t0x013dcc00 {OHMComm.exe!const ProcessorRTP::`vftable'} {0x0133110e {OHMComm.exe!ProcessorRTP::getSupportedAudioFormats(void)}, ...}\tvoid * *\r\n\t\t[0]\t0x0133110e {OHMComm.exe!ProcessorRTP::getSupportedAudioFormats(void)}\tvoid *\r\n\t\t[1]\t0x01331208 {OHMComm.exe!ProcessorRTP::getSupportedSampleRates(void)}\tvoid *\r\n\t\t[2]\t0x013322a2 {OHMComm.exe!AudioProcessor::configure(struct AudioConfiguration)}\tvoid *\r\n\t\t[3]\t0x0133143d {OHMComm.exe!ProcessorRTP::processInputData(void *,unsigned int,struct StreamData *)}\tvoid *\r\n\t\t[4]\t0x013310be {OHMComm.exe!ProcessorRTP::processOutputData(void *,unsigned int,struct StreamData *)}\tvoid *\r\n+\t\tname\tRTP-Processor\tstd::basic_string<char,std::char_traits<char>,std::allocator<char> >\r\n-\t\t[1]\t0x0043fabc {OpusEncoderObject=0x0056ed60 {celt_enc_offset=42784 silk_enc_offset=18220 silk_mode={nChannelsAPI=...} ...} ...}\tAudioProcessor *\r\n-\t\t[ProcessorOpus]\t{OpusEncoderObject=0x0056ed60 {celt_enc_offset=42784 silk_enc_offset=18220 silk_mode={nChannelsAPI=2 ...} ...} ...}\tProcessorOpus\r\n+\t\tAudioProcessor\t{name=\"Opus-Processor\" }\tAudioProcessor\r\n+\t\tOpusEncoderObject\t0x0056ed60 {celt_enc_offset=42784 silk_enc_offset=18220 silk_mode={nChannelsAPI=2 nChannelsInternal=...} ...}\tOpusEncoder *\r\n+\t\tOpusDecoderObject\t0x0057bb40 {celt_dec_offset=8628 silk_dec_offset=84 channels=2 ...}\tOpusDecoder *\r\n\t\tOpusApplication\t2048\tint\r\n+\t\tErrorCode\t0x0043f92c {0}\tint *\r\n\t\tlengthEncodedPacketWorkaround\t3435973836\tunsigned int\r\n-\t\t__vfptr\t0x013dcbe4 {OHMComm.exe!const ProcessorOpus::`vftable'} {0x013314ce {OHMComm.exe!ProcessorOpus::getSupportedAudioFormats(void)}, ...}\tvoid * *\r\n\t\t[0]\t0x013314ce {OHMComm.exe!ProcessorOpus::getSupportedAudioFormats(void)}\tvoid *\r\n\t\t[1]\t0x01331591 {OHMComm.exe!ProcessorOpus::getSupportedSampleRates(void)}\tvoid *\r\n\t\t[2]\t0x0133229d {OHMComm.exe!ProcessorOpus::configure(struct AudioConfiguration)}\tvoid *\r\n\t\t[3]\t0x013316b3 {OHMComm.exe!ProcessorOpus::processInputData(void *,unsigned int,struct StreamData *)}\tvoid *\r\n\t\t[4]\t0x01331e10 {OHMComm.exe!ProcessorOpus::processOutputData(void *,unsigned int,struct StreamData *)}\tvoid *\r\n+\t\tname\tOpus-Processor\tstd::basic_string<char,std::char_traits<char>,std::allocator<char> >\r\n+\t\t[Raw View]\t0x00551780 {...}\tstd::vector<AudioProcessor *,std::allocator<AudioProcessor *> > *\r\n+\t\taudioConfiguration\t{outputDeviceID=1 inputDeviceID=6 outputDeviceChannels=2 ...}\tAudioConfiguration\r\n\t\tsemaphore_waitForMainThread\t0x00000104\tvoid *\r\n\t\tsemaphore_waitForWorkerThread\t0x00000108\tvoid *\r\n\t\tbufferAudioOutput\t0x0056cf20\tvoid *\r\n\t\tBufferAudioOutHasData\tfalse\tbool\r\n+\t\trtaudio\t{rtapi_=0x00551b38 {coInitialized_=true deviceEnumerator_=0x0055acf8 <Information not available, no symbols loaded for MMDevAPI.dll> } }\tRtAudio\r\n+\t\tinput\t{deviceId=6 nChannels=2 firstChannel=0 }\tRtAudio::StreamParameters\r\n+\t\toutput\t{deviceId=1 nChannels=2 firstChannel=0 }\tRtAudio::StreamParameters\r\n\t\toutputBufferByteSize\t7680\tunsigned int\r\n\t\tinputBufferByteSize\t7680\tunsigned int\r\n+\t\tstreamData\t0x005630d8 {nBufferFrames=0 streamTime=0 maxBufferSize=0 }\tStreamData *\r\n```\r\n```\r\nUnhandled exception at 0x7547CB49 in OHMComm.exe: 0xC0000005: Access violation executing location 0x00000000.\r\n```\r\nBased on code 7fc2e647914bb685a0b8e958a42682dc9a682721"}}