{"action":"created","issue":{"url":"https://api.github.com/repos/mpromonet/webrtc-streamer/issues/13","repository_url":"https://api.github.com/repos/mpromonet/webrtc-streamer","labels_url":"https://api.github.com/repos/mpromonet/webrtc-streamer/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mpromonet/webrtc-streamer/issues/13/comments","events_url":"https://api.github.com/repos/mpromonet/webrtc-streamer/issues/13/events","html_url":"https://github.com/mpromonet/webrtc-streamer/issues/13","id":191812734,"number":13,"title":"webrtc-streamer core dump","user":{"login":"saket424","id":4466507,"avatar_url":"https://avatars.githubusercontent.com/u/4466507?v=3","gravatar_id":"","url":"https://api.github.com/users/saket424","html_url":"https://github.com/saket424","followers_url":"https://api.github.com/users/saket424/followers","following_url":"https://api.github.com/users/saket424/following{/other_user}","gists_url":"https://api.github.com/users/saket424/gists{/gist_id}","starred_url":"https://api.github.com/users/saket424/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saket424/subscriptions","organizations_url":"https://api.github.com/users/saket424/orgs","repos_url":"https://api.github.com/users/saket424/repos","events_url":"https://api.github.com/users/saket424/events{/privacy}","received_events_url":"https://api.github.com/users/saket424/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-26T15:59:08Z","updated_at":"2016-11-29T22:41:49Z","closed_at":null,"body":"\r\nIs there a specific stable commended version/branch of webrtc libs that is recommended to compile webrtc-streamer? The latest git HEAD is dumping core. Any ideas or anyone else having this issue ?\r\nDoes webrtc-streamer have to have any other associated v4l2loopback/compress software dependency?\r\n\r\nI was using git HEAD \r\ncommit 71b9b58a3a3ac651e5a5c5d095411620bb425659\r\nAuthor: solenberg <solenberg@webrtc.org>\r\nDate:   Fri Nov 25 11:45:05 2016 -0800\r\n\r\n\r\nSuccessfully compiled webrtc for linux using instructions available here\r\nhttps://github.com/ipop-project/ipop-project.github.io/wiki/Building-the-WebRTC-lib-for-Linux\r\n\r\n\r\ngn gen out/Release\r\nninja -C out/Release\r\n\r\n~/rtsp-stuff/webrtc-streamer$ ./webrtc-server__Release -vvv\r\nLogger level:1\r\n[000:000] [1522] (webrtcvoiceengine.cc:554): WebRtcVoiceEngine::WebRtcVoiceEngine\r\n[000:001] [1522] (webrtcvoiceengine.cc:561): Supported send codecs in order of preference:\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: opus/48000/2 (111)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: ISAC/16000/1 (103)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: ISAC/32000/1 (104)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: G722/8000/1 (9)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: ILBC/8000/1 (102)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: PCMU/8000/1 (0)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: PCMA/8000/1 (8)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: CN/32000/1 (106)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: CN/16000/1 (105)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: CN/8000/1 (13)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: telephone-event/48000/1 (110)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: telephone-event/32000/1 (112)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: telephone-event/16000/1 (113)\r\n[000:001] [1522] (webrtcvoiceengine.cc:314): Adding supported codec: telephone-event/8000/1 (126)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): opus/48000/2 (111)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): ISAC/16000/1 (103)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): ISAC/32000/1 (104)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): G722/8000/1 (9)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): ILBC/8000/1 (102)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): PCMU/8000/1 (0)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): PCMA/8000/1 (8)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): CN/32000/1 (106)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): CN/16000/1 (105)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): CN/8000/1 (13)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): telephone-event/48000/1 (110)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): telephone-event/32000/1 (112)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): telephone-event/16000/1 (113)\r\n[000:001] [1522] (webrtcvoiceengine.cc:564): telephone-event/8000/1 (126)\r\n[000:001] [1522] (webrtcvoiceengine.cc:567): Supported recv codecs in order of preference:\r\n[000:001] [1522] (webrtcvoiceengine.cc:570): opus/48000/2 (111)\r\n[000:001] [1522] (webrtcvoiceengine.cc:570): isac/16000/1 (103)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): isac/32000/1 (104)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): G722/8000/1 (9)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): iLBC/8000/1 (102)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): PCMU/8000/1 (0)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): PCMA/8000/1 (8)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): cn/32000/1 (106)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): cn/16000/1 (105)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): cn/8000/1 (13)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): telephone-event/48000/1 (110)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): telephone-event/32000/1 (112)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): telephone-event/16000/1 (113)\r\n[000:002] [1522] (webrtcvoiceengine.cc:570): telephone-event/8000/1 (126)\r\n[000:002] [1522] (webrtcvoiceengine.cc:578): VoiceEngine 4.1.0\r\n[000:002] [1522] (audio_device_impl.cc:86): Create\r\n[000:002] [1522] (audio_device_buffer.cc:73): AudioDeviceBuffer::ctor\r\n[000:002] [1522] (audio_device_impl.cc:133): AudioDeviceModuleImpl\r\n[000:002] [1522] (audio_device_impl.cc:141): CheckPlatform\r\n[000:002] [1522] (audio_device_impl.cc:155): current platform is Linux\r\n[000:002] [1522] (audio_device_impl.cc:182): CreatePlatformSpecificObjects\r\n[000:002] [1522] (audio_device_impl.cc:1876): PlatformAudioLayer\r\n[000:002] [1522] (audio_device_impl.cc:285): attempting to use the Linux PulseAudio APIs...\r\n[000:007] [1522] (webrtcvoiceengine.cc:1024): webrtc: SetPulseAudioObjects\r\n[000:007] [1522] (webrtcvoiceengine.cc:1024): webrtc:   the PulseAudio objects for the mixer has been set\r\n[000:007] [1522] (webrtcvoiceengine.cc:1024): webrtc:   checking PulseAudio version: 8.0\r\n[000:008] [1522] (audio_device_impl.cc:291): Linux PulseAudio APIs will be utilized\r\n[000:008] [1522] (audio_device_impl.cc:371): AttachAudioBuffer\r\n[000:008] [1522] (audio_device_buffer.cc:189): SetRecordingSampleRate(0)\r\n[000:008] [1522] (audio_device_buffer.cc:196): SetPlayoutSampleRate(0)\r\n[000:008] [1522] (audio_device_buffer.cc:213): SetRecordingChannels(0)\r\n[000:008] [1522] (audio_device_buffer.cc:220): SetPlayoutChannels(0)\r\n[000:008] [1522] (audio_device_impl.cc:1484): RegisterEventObserver\r\n[000:008] [1522] (audio_device_impl.cc:1497): RegisterAudioCallback\r\n[000:008] [1522] (audio_device_buffer.cc:88): RegisterAudioCallback\r\n[000:008] [1522] (audio_device_impl.cc:499): Init\r\n[000:008] [1522] (audio_device_impl.cc:1228): SetPlayoutDevice(0)\r\n[000:008] [1522] (webrtcvoiceengine.cc:1024): webrtc:   number of availiable output devices is 2\r\n[000:008] [1522] (audio_device_impl.cc:548): InitSpeaker\r\n[000:009] [1522] (webrtcvoiceengine.cc:1024): webrtc: AudioMixerManagerLinuxPulse::OpenSpeaker(deviceIndex=0)\r\n[000:009] [1522] (webrtcvoiceengine.cc:1024): webrtc:   the output mixer device is now open\r\n[000:009] [1522] (audio_device_impl.cc:1323): SetRecordingDevice(0)\r\n[000:010] [1522] (webrtcvoiceengine.cc:1024): webrtc:   number of availiable input devices is 2\r\n[000:010] [1522] (audio_device_impl.cc:558): InitMicrophone\r\n[000:010] [1522] (webrtcvoiceengine.cc:1024): webrtc: AudioMixerManagerLinuxPulse::OpenMicrophone(deviceIndex=1)\r\n[000:010] [1522] (webrtcvoiceengine.cc:1024): webrtc:   the input mixer device is now open\r\n[000:010] [1522] (audio_device_impl.cc:1037): StereoPlayoutIsAvailable\r\n[000:010] [1522] (audio_device_impl.cc:1047): output: 1\r\n[000:010] [1522] (audio_device_impl.cc:1056): SetStereoPlayout(1)\r\n[000:010] [1522] (audio_device_buffer.cc:220): SetPlayoutChannels(2)\r\n[000:010] [1522] (audio_device_impl.cc:923): StereoRecordingIsAvailable\r\n[000:010] [1522] (webrtcvoiceengine.cc:1024): webrtc:  AudioMixerManagerLinuxPulse::StereoRecordingIsAvailable() => available=2, available\r\n[000:010] [1522] (audio_device_impl.cc:933): output: 1\r\n[000:010] [1522] (audio_device_impl.cc:942): SetStereoRecording(1)\r\n[000:010] [1522] (audio_device_buffer.cc:213): SetRecordingChannels(2)\r\n[000:012] [1522] (webrtcvoiceengine.cc:1024): webrtc: TransmitMixer::SetAudioProcessingModule(audioProcessingModule=0x400c1f80)\r\n[000:012] [1522] (webrtcvoiceengine.cc:1024): webrtc: OutputMixer::SetAudioProcessingModule(audioProcessingModule=0x400c1f80)\r\n[000:012] [1522] (webrtcvoiceengine.cc:1024): webrtc: (audio_processing_impl.cc:622): Level controller activated: 0\r\n[000:012] [1522] (webrtcvoiceengine.cc:1024): webrtc: (audio_processing_impl.cc:629): Highpass filter activated: 1\r\n[000:012] [1522] (audio_device_impl.cc:1103): SetAGC(1)\r\n[000:012] [1522] (webrtcvoiceengine.cc:653): WebRtcVoiceEngine::ApplyOptions: AudioOptions {aec: true, agc: true, ns: true, hf: true, swap: false, audio_jitter_buffer_max_packets: 50, audio_jitter_buffer_fast_accelerate: false, typing: true, agc_delta: 0, experimental_agc: false, extended_filter_aec: false, delay_agnostic_aec: false, experimental_ns: false, intelligibility_enhancer: false, level_control: false, residual_echo_detector: true, }\r\n[000:012] [1522] (audio_device_impl.cc:1792): BuiltInAECIsAvailable\r\n[000:012] [1522] (audio_device_generic.cc:51): virtual bool webrtc::AudioDeviceGeneric::BuiltInAECIsAvailable() const: Not supported on this platform\r\n[000:012] [1522] (audio_device_impl.cc:1795): output: 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:734): Echo control set to 1 with mode 2\r\n[000:013] [1522] (audio_device_impl.cc:1808): BuiltInAGCIsAvailable\r\n[000:013] [1522] (audio_device_generic.cc:61): virtual bool webrtc::AudioDeviceGeneric::BuiltInAGCIsAvailable() const: Not supported on this platform\r\n[000:013] [1522] (audio_device_impl.cc:1811): output: 0\r\n[000:013] [1522] (audio_device_impl.cc:1103): SetAGC(1)\r\n[000:013] [1522] (webrtcvoiceengine.cc:768): Auto gain set to 1 with mode 2\r\n[000:013] [1522] (audio_device_impl.cc:1824): BuiltInNSIsAvailable\r\n[000:013] [1522] (audio_device_generic.cc:71): virtual bool webrtc::AudioDeviceGeneric::BuiltInNSIsAvailable() const: Not supported on this platform\r\n[000:013] [1522] (audio_device_impl.cc:1827): output: 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:823): Noise suppression set to 1 with mode 5\r\n[000:013] [1522] (webrtcvoiceengine.cc:829): Stereo swapping enabled? 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:838): NetEq capacity is 50\r\n[000:013] [1522] (webrtcvoiceengine.cc:844): NetEq fast mode? 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:851): Typing detection is enabled? 1\r\n[000:013] [1522] (webrtcvoiceengine.cc:860): Adjust agc delta is 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:1049): Adjusting AGC level from default -2dB to -2dB\r\n[000:013] [1522] (webrtcvoiceengine.cc:871): Delay agnostic aec is enabled? 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:880): Extended filter aec is enabled? 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:889): Experimental ns is enabled? 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:895): Intelligibility Enhancer is enabled? 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:905): Level control: 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:1024): webrtc: (audio_processing_impl.cc:622): Level controller activated: 0\r\n[000:013] [1522] (webrtcvoiceengine.cc:1024): webrtc: (audio_processing_impl.cc:629): Highpass filter activated: 1\r\n[000:013] [1522] (webrtcvoiceengine.cc:944): Setting microphone to (id=0) and speaker to (id=0)\r\n[000:013] [1522] (audio_device_impl.cc:1473): Recording\r\n[000:013] [1522] (audio_device_impl.cc:989): SetRecordingChannel(both)\r\n[000:013] [1522] (audio_device_buffer.cc:227): SetRecordingChannel(2)\r\n[000:013] [1522] (audio_device_buffer.cc:228): Not implemented\r\n[000:013] [1522] (webrtcvoiceengine.cc:1024): webrtc: SetRecordingChannel() unable to set the recording channel (error=10028)\r\n[000:013] [1522] (audio_device_impl.cc:1323): SetRecordingDevice(0)\r\n[000:014] [1522] (audio_device_impl.cc:558): InitMicrophone\r\n[000:014] [1522] (audio_device_impl.cc:923): StereoRecordingIsAvailable\r\n[000:014] [1522] (audio_device_impl.cc:933): output: 1\r\n[000:014] [1522] (audio_device_impl.cc:942): SetStereoRecording(1)\r\n[000:014] [1522] (audio_device_buffer.cc:213): SetRecordingChannels(2)\r\n[000:015] [1522] (audio_device_impl.cc:1431): Playing\r\n[000:015] [1522] (audio_device_impl.cc:1228): SetPlayoutDevice(0)\r\n[000:015] [1522] (audio_device_impl.cc:548): InitSpeaker\r\n[000:015] [1522] (audio_device_impl.cc:1037): StereoPlayoutIsAvailable\r\n[000:016] [1522] (audio_device_impl.cc:1047): output: 1\r\n[000:016] [1522] (audio_device_impl.cc:1056): SetStereoPlayout(1)\r\n[000:016] [1522] (audio_device_buffer.cc:220): SetPlayoutChannels(2)\r\n[000:016] [1522] (webrtcvoiceengine.cc:961): Set microphone to (id=0) and speaker to (id=0)\r\n[000:017] [1522] (audio_device_impl.cc:1497): RegisterAudioCallback\r\n[000:017] [1522] (audio_device_buffer.cc:88): RegisterAudioCallback\r\n[000:017] [1522] (audio_device_impl.cc:1497): RegisterAudioCallback\r\n[000:017] [1522] (audio_device_buffer.cc:88): RegisterAudioCallback\r\n[000:017] [1522] (webrtcvideoengine2.cc:499): WebRtcVideoEngine2::WebRtcVideoEngine2()\r\n[000:017] [1522] (webrtcvideoengine2.cc:641): Internally supported codecs: {VideoCodec[0:VP8], VideoCodec[0:VP9], VideoCodec[0:red], VideoCodec[0:ulpfec]}\r\n[000:018] [1522] (webrtcvideoengine2.cc:508): WebRtcVideoEngine2::Init\r\nSegmentation fault (core dumped)\r\n\r\n\r\n[305412.035096] webrtc-server__[1462]: segfault at ff00000001 ip 00007f4a9623958f sp 00007ffd221e44c8 error 6 in libstdc++.so.6.0.21[7f4a9619b000+172000]\r\n"},"comment":{"url":"https://api.github.com/repos/mpromonet/webrtc-streamer/issues/comments/263724028","html_url":"https://github.com/mpromonet/webrtc-streamer/issues/13#issuecomment-263724028","issue_url":"https://api.github.com/repos/mpromonet/webrtc-streamer/issues/13","id":263724028,"user":{"login":"mpromonet","id":1367630,"avatar_url":"https://avatars.githubusercontent.com/u/1367630?v=3","gravatar_id":"","url":"https://api.github.com/users/mpromonet","html_url":"https://github.com/mpromonet","followers_url":"https://api.github.com/users/mpromonet/followers","following_url":"https://api.github.com/users/mpromonet/following{/other_user}","gists_url":"https://api.github.com/users/mpromonet/gists{/gist_id}","starred_url":"https://api.github.com/users/mpromonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpromonet/subscriptions","organizations_url":"https://api.github.com/users/mpromonet/orgs","repos_url":"https://api.github.com/users/mpromonet/repos","events_url":"https://api.github.com/users/mpromonet/events{/privacy}","received_events_url":"https://api.github.com/users/mpromonet/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T22:41:49Z","updated_at":"2016-11-29T22:41:49Z","body":"Hi,\r\nUsing webrtc commit b7510d3f49a0a7a91221cb070dd637aa5ae62e91, the crash occurs in `void SendSideBandwidthEstimation::UpdateEstimate(int64_t now_ms)`.\r\nCommenting the call of eventlog seems to solve the problem.\r\n```\r\n    event_log_->LogBwePacketLossEvent(capped_bitrate, last_fraction_loss_,\r\n                                      expected_packets_since_last_loss_update_);\r\n\r\n```\r\nMaybe some initialization of event_log is missing somewhere.\r\nRegards,\r\nMichel.\r\n"}}
{"actor":{"display_login":"mpromonet"}}