New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 666743 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Email to this user bounced
Closed: Jun 2012
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug


Previous locations:
webrtc:117


Sign in to add a comment

voe_ui_win_test error

Reported by tr.p...@gmail.com, Oct 21 2011

Issue description

What steps will reproduce the problem?
1.Just run the test program
2.will see the assert error

What is the expected output? What do you see instead?
This is the bug reporting:  ASSERT(nIndex != CB_ERR);
I debuged in, finding nIndex =-1,that's the error.

What version of the product are you using? On what operating system?
vc2005+sp1
win7
64bit

Please provide any additional information below.


 

Comment 1 by andrew@webrtc.org, Oct 22 2011

Labels: -Priority-Medium Priority-Low
Summary: voe_ui_win_test error
This is referring to voe_ui_win_test.

TR.PMJU: are you sure you have recording and playout devices on your system? Not having any devices is the only obvious way this could happen.

If you do, could you check the value of nameStr, just before the assert? That might give us a clue.

Comment 2 by andrew@webrtc.org, Oct 22 2011

Owner: andrew@webrtc.org

Comment 3 by tr.p...@gmail.com, Nov 1 2011

nameStr	0x002cf17c "楹﹀厠椋?(High Definition Audio 璁惧)"	char [128]



Comment 4 by andrew@webrtc.org, Nov 1 2011

Owner: punyabrata@webrtc.org
Ray, this looks like it might be an actual problem, perhaps due to the (Chinese?) characters. Please assign when you get a chance.

Comment 5 by elham@webrtc.org, Nov 1 2011

Hi, I will look into this issue, but first could please collect the trace file. Set trace filter to ALL and try to keep the test as short as possible, like 30 sec.

Comment 6 by andrew@webrtc.org, Nov 1 2011

Owner: elham@webrtc.org

Comment 7 by elham@webrtc.org, Nov 1 2011

You can enable tracing for voe_ui_win_test application in WinTestDlg.cpp. 
Just comment out this code: 
VoiceEngine::SetTraceFilter(kTraceAll);



Comment 8 by tr.p...@gmail.com, Nov 4 2011

Local Date: AS Local Time: 2
Build info: Nov  4 2011 23:34:19 d

STATEINFO ; (15:47:46:965 |99999)      UTILITY:         -1;      6112; Loaded Kernel.dll
STATEINFO ; (15:47:46:965 |    0)      UTILITY:         -1;      6112; Loaded native condition variables
STATEINFO ; (15:47:46:967 |    2)      UTILITY:    0  1704;      1704; Thread with name:CpuWindows started 
APICALL   ; (15:47:47:703 |99999)        VOICE:    1    99;      6112; SetTraceFilter(filter=0x0)
APICALL   ; (15:47:47:703 |    0)        VOICE:         -1;      6112; SetTraceFilter(filter=0xffff)
APICALL   ; (15:47:47:704 |    1)        VOICE:    1    99;      6112; SetTraceFile(fileNameUTF8=ve_win_test.txt, addFileCounter=0)
APICALL   ; (15:47:47:704 |    0)        VOICE:    1    99;      6112; SetTraceCallback(callback=0x0)
APICALL   ; (15:47:47:704 |    0)        VOICE:    1    99;      6112; RegisterVoiceEngineObserver(observer=0x2750224)
DEBUGINFO ; (15:47:47:704 |    0)        VOICE:    1    99;      6112; TransmitMixer::RegisterVoiceEngineObserver()
APICALL   ; (15:47:47:902 |  198)        VOICE:    1    99;      6112; Init(external_adm=0x00000000)
STATEINFO ; (15:47:47:904 |  200)      UTILITY:    0  6236;      6236; Thread with name:ProcessThread started 
DEBUGINFO ; (15:47:47:904 |    0)        VOICE:    1    99;      6112; AudioProcessing 1.0.0 AEC 2.5.0 AECM 1.2.0 AGC 1.7.0 NS 2.2.0 VAD 1.2.0
DEBUGINFO ; (15:47:47:904 |    0)        VOICE:    1    99;      6112; TransmitMixer::SetAudioProcessingModule(audioProcessingModule=0x30c9088)
DEBUGINFO ; (15:47:47:904 |    0)        VOICE:    1    99;      6112; OutputMixer::SetAudioProcessingModule(audioProcessingModule=0x30c9088)
MODULECALL; (15:47:47:904 |    0) AUDIO DEVICE:    1    99;      6112; Create(audioLayer=0)
MEMORY    ; (15:47:47:905 |    1) AUDIO DEVICE:         -1;      6112; webrtc::AudioDeviceBuffer::AudioDeviceBuffer created
MEMORY    ; (15:47:47:905 |    0) AUDIO DEVICE:    1    99;      6112; webrtc::AudioDeviceModuleImpl::AudioDeviceModuleImpl created
DEBUGINFO ; (15:47:47:905 |    0) AUDIO DEVICE:    1    99;      6112; webrtc::AudioDeviceModuleImpl::CheckPlatform
DEBUGINFO ; (15:47:47:905 |    0) AUDIO DEVICE:    1    99;      6112; current platform is WIN32
DEBUGINFO ; (15:47:47:905 |    0) AUDIO DEVICE:    1    99;      6112; webrtc::AudioDeviceModuleImpl::CreatePlatformSpecificObjects
MODULECALL; (15:47:47:905 |    0) AUDIO DEVICE:    1    99;      6112; webrtc::AudioDeviceModuleImpl::PlatformAudioLayer
STATEINFO ; (15:47:47:905 |    0) AUDIO DEVICE:    1    99;      6112; output: kPlatformDefaultAudio
DEBUGINFO ; (15:47:47:905 |    0) AUDIO DEVICE:    1    99;      6112; attempting to use the Windows Core Audio APIs...
DEBUGINFO ; (15:47:47:905 |    0) AUDIO DEVICE:         -1;      6112; webrtc::AudioDeviceWindowsCore::CoreAudioIsSupported
DEBUGINFO ; (15:47:47:945 |   40) AUDIO DEVICE:         -1;      6112; AudioDeviceWindowsCore::CoreAudioIsSupported() CoCreateInstance(MMDeviceEnumerator) succeeded
MEMORY    ; (15:47:47:945 |    0) AUDIO DEVICE:         -1;      6112; webrtc::AudioDeviceWindowsCore::AudioDeviceWindowsCore created
DEBUGINFO ; (15:47:47:951 |    6) AUDIO DEVICE:         -1;      6112; AudioDeviceWindowsCore::AudioDeviceWindowsCore() The Avrt DLL module is now loaded
DEBUGINFO ; (15:47:47:951 |    0) AUDIO DEVICE:         -1;      6112; AudioDeviceWindowsCore::AudioDeviceWindowsCore() AvRevertMmThreadCharacteristics() is OK
DEBUGINFO ; (15:47:47:951 |    0) AUDIO DEVICE:         -1;      6112; AudioDeviceWindowsCore::AudioDeviceWindowsCore() AvSetMmThreadCharacteristicsA() is OK
DEBUGINFO ; (15:47:47:951 |    0) AUDIO DEVICE:         -1;      6112; AudioDeviceWindowsCore::AudioDeviceWindowsCore() AvSetMmThreadPriority() is OK
STREAM    ; (15:47:47:965 |   14)        VOICE:    1    99;      6236; TransmitMixer::OnPeriodicProcess()
MODULECALL; (15:47:47:967 |    2) AUDIO DEVICE:         -1;      6112; webrtc::AudioDeviceWindowsCore::Init
DEBUGINFO ; (15:47:47:967 |    0) AUDIO DEVICE:         -1;      6112; webrtc::AudioDeviceWindowsCore::_EnumerateEndpointDevicesAll
DEBUGINFO ; (15:47:47:968 |    1) AUDIO DEVICE:         -1;      6112; #rendering endpoint devices (counting all): 2
DEBUGINFO ; (15:47:47:968 |    0) AUDIO DEVICE:         -1;      6112; Endpoint 0:
DEBUGINFO ; (15:47:47:968 |    0) AUDIO DEVICE:         -1;      6112; ID string    : {0.0.0.00000000}.{7ff974c9-069c-493a-b82c-19bf3d05330f}
DEBUGINFO ; (15:47:47:971 |    3) AUDIO DEVICE:         -1;      6112; friendly name: "
DEBUGINFO ; (15:47:47:971 |    0) AUDIO DEVICE:         -1;      6112; state (0x1)  : *ACTIVE*
DEBUGINFO ; (15:47:47:979 |    8) AUDIO DEVICE:         -1;      6112; hwmask (0x3) : HARDWARE_SUPPORT_VOLUME
DEBUGINFO ; (15:47:47:979 |    0) AUDIO DEVICE:         -1;      6112; hwmask (0x3) : HARDWARE_SUPPORT_MUTE
DEBUGINFO ; (15:47:47:980 |    1) AUDIO DEVICE:         -1;      6112; #channels    : 2
DEBUGINFO ; (15:47:47:980 |    0) AUDIO DEVICE:         -1;      6112; volume range : -64.00 (min), 0.00 (max), 1.00 (inc) [dB]
DEBUGINFO ; (15:47:47:980 |    0) AUDIO DEVICE:         -1;      6112; #intervals   : 64
DEBUGINFO ; (15:47:47:980 |    0) AUDIO DEVICE:         -1;      6112; volume steps : 46 (nStep), 51 (nStepCount)
DEBUGINFO ; (15:47:47:980 |    0) AUDIO DEVICE:         -1;      6112; Endpoint 1:
DEBUGINFO ; (15:47:47:980 |    0) AUDIO DEVICE:         -1;      6112; ID string    : {0.0.0.00000000}.{a8e75f28-e4b4-4597-a20b-4a539628ed09}
DEBUGINFO ; (15:47:47:981 |    1) AUDIO DEVICE:         -1;      6112; friendly name: "
DEBUGINFO ; (15:47:47:981 |    0) AUDIO DEVICE:         -1;      6112; state (0x4)  : NOTPRESENT
ERROR     ; (15:47:47:984 |    3) AUDIO DEVICE:         -1;      6112; Core Audio method failed (hr=0x80070490)
ERROR     ; (15:47:47:984 |    0) AUDIO DEVICE:         -1;      6112; Error details: 鎵句笉鍒板厓绱犮€?
DEBUGINFO ; (15:47:47:984 |    0) AUDIO DEVICE:         -1;      6112; webrtc::AudioDeviceWindowsCore::_EnumerateEndpointDevicesAll
DEBUGINFO ; (15:47:47:984 |    0) AUDIO DEVICE:         -1;      6112; #capturing endpoint devices (counting all): 2
DEBUGINFO ; (15:47:47:984 |    0) AUDIO DEVICE:         -1;      6112; Endpoint 0:
DEBUGINFO ; (15:47:47:984 |    0) AUDIO DEVICE:         -1;      6112; ID string    : {0.0.1.00000000}.{0a0c4218-81e8-4bbc-b30c-76cfc99cca71}
DEBUGINFO ; (15:47:47:985 |    1) AUDIO DEVICE:         -1;      6112; friendly name: "
DEBUGINFO ; (15:47:47:985 |    0) AUDIO DEVICE:         -1;      6112; state (0x8)  : UNPLUGGED
ERROR     ; (15:47:47:986 |    1) AUDIO DEVICE:         -1;      6112; Core Audio method failed (hr=0x80070490)
ERROR     ; (15:47:47:986 |    0) AUDIO DEVICE:         -1;      6112; Error details: 鎵句笉鍒板厓绱犮€?
MODULECALL; (15:47:47:987 |    1) AUDIO DEVICE:         -1;      6112; webrtc::AudioDeviceWindowsCore::RecordingDevice

Comment 9 by tr.p...@gmail.com, Nov 4 2011

TCHAR* CharToTchar(const char* str, int len)
{
#ifdef _UNICODE
  TCHAR* temp = convertBufferSwitch ? convertTemp1 : convertTemp2;
  convertBufferSwitch = !convertBufferSwitch;
  memset(temp, 0, sizeof(convertTemp1));
  MultiByteToWideChar(CP_UTF8, 0, str, len, temp, 256);
  return temp;
#else
  return (TCHAR*)str;           //(TCHAR*) added ,so it will be compiled
#endif
}
i think it is  the (Chinese?) characters, "楹﹀厠椋?(High Definition Audio 璁惧)
so i changed the property of the project to widechar ,which default to unicode.
and  make the changes above.then it can run,but the chinese character shows error.



Comment 10 by elham@webrtc.org, Nov 8 2011

Thanks for you feedback. I try to recreate it. 

Comment 11 by elham@webrtc.org, Nov 17 2011

I have changed my display language to Chinese traditional and still have not been to reproduce this issue.

TR.PMJU: What language pack did you use? Also does this happen with a specific device? 
Status: Unconfirmed
Labels: -Type-Defect Type-Bug
Labels: -Priority-Low Pri-3

Comment 15 by elham@webrtc.org, Jun 26 2012

Status: Invalid
I haven't got any feedback from TR.PMJU. I will go ahead and close this one.
Status: WontFix (was: Invalid)
Testing the Move functionality to see if this issue could be moved to the "chromium" project.
Attempt 2: Testing the Move functionality to see if this issue could be moved to the "chromium" project.

Project: chromium
Moved issue webrtc:117 to now be  issue chromium:666743 .

Sign in to add a comment