Also using iTunes 11.4 on Windows 8.1 Enterprise 64-bit. Crashes in the "syncing apps" stage. Happens on two different user accounts, one using an iPod Touch and one using an iPhone 5.
Clean uninstall/reinstall doesn't make any difference. Safe mode doesn't make any difference (no plug-ins installed).
Stack trace shows an unknown routine in iTunesMobileDevice.dll calling Microsoft C++ runtime routine _wstat32i64 with a null name parameter. This is definitely an iTunes 11.4 bug.
> | msvcr100.dll!_crt_debugger_hook(int _Reserved=0x00000002) Line 65 | C |
msvcr100.dll!_call_reportfault(int nDbgHookCode=0x00000002, unsigned long dwExceptionCode=0xc0000417, unsigned long dwExceptionFlags=0x00000001) Line 255 | C++ |
msvcr100.dll!_invoke_watson(const wchar_t * pszExpression=0x00000000, const wchar_t * pszFunction=0x00000000, const wchar_t * pszFile=0x00000000, unsigned int nLine=0x00000000, unsigned int pReserved=0x00000000) Line 155 | C++ |
msvcr100.dll!_invalid_parameter(const wchar_t * pszExpression=0x00000000, const wchar_t * pszFunction=0x00000000, const wchar_t * pszFile=0x00000000, unsigned int nLine=0x00000000, unsigned int pReserved=0x00000000) Line 110 | C++ |
msvcr100.dll!_invalid_parameter_noinfo() Line 121 | C++ |
msvcr100.dll!_wstat32i64(const wchar_t * name=0x00000000, _stat32i64 * buf=0x0cc9ed88) Line 160 | C |
iTunesMobileDevice.dll!5d2efb54() | Unknown |
[Frames below may be incorrect and/or missing, no symbols loaded for iTunesMobileDevice.dll] |
iTunesMobileDevice.dll!5d2efcb7() | Unknown |
iTunesMobileDevice.dll!5d2ebc94() | Unknown |
iTunesMobileDevice.dll!5d2358e2() | Unknown |
iTunesMobileDevice.dll!5d2370ce() | Unknown |
CoreFoundation.dll!54c42719() | Unknown |
ntdll.dll!LdrGetProcedureAddressForCaller() | Unknown |
CoreFoundation.dll!54bbaa80() | Unknown |
ntdll.dll!_NtCreateEvent@20 () | Unknown |
KernelBase.dll!_CreateEventExW@16 () | Unknown |
CoreFoundation.dll!54bbab8a() | Unknown |
CoreFoundation.dll!54c26dbb() | Unknown |
CoreFoundation.dll!54c26384() | Unknown |
iTunes.dll!0fe80b4f() | Unknown |
iTunes.dll!0fe80c7d() | Unknown |
iTunes.dll!10272b5c() | Unknown |
iTunes.dll!101f047c() | Unknown |
iTunes.dll!104befc0() | Unknown |
iTunes.dll!104bf04a() | Unknown |
kernel32.dll!@BaseThreadInitThunk@12 () | Unknown |
ntdll.dll!__RtlUserThreadStart() | Unknown |
ntdll.dll!__RtlUserThreadStart@8 () | Unknown |
/***
*int _stat(name, buf) - get file status info
*
*Purpose:
* _stat obtains information about the file and stores it in the
* structure pointed to by buf.
*
* Note: We cannot directly use the file time stamps returned in the
* WIN32_FIND_DATA structure. The values are supposedly in system time
* and system time is ambiguously defined (it is UTC for Windows NT, local
* time for Win32S and probably local time for Win32C). Therefore, these
* values must be converted to local time before than can be used.
*
*Entry:
* _TSCHAR *name - pathname of given file
* struct _stat *buffer - pointer to buffer to store info in
*
*Exit:
* fills in structure pointed to by buffer
* returns 0 if successful
* returns -1 and sets errno if unsuccessful
*
*Exceptions:
*
*******************************************************************************/
#ifdef _USE_INT64
#define _STAT_FUNC _tstat32i64
#define _STAT_STRUCT _stat32i64
#define _FSTAT_FUNC _fstat32i64
#else /* _USE_INT64 */
#define _STAT_FUNC _tstat32
#define _STAT_STRUCT _stat32
#define _FSTAT_FUNC _fstat32
#endif /* _USE_INT64 */
int __cdecl _STAT_FUNC (
REG1 const _TSCHAR *name,
REG2 struct _STAT_STRUCT *buf
)
{
6DE20F84 mov edi,edi
6DE20F86 push ebp
6DE20F87 mov ebp,esp
6DE20F89 sub esp,47Ch
6DE20F8F mov eax,dword ptr [___security_cookie (6DE74610h)]
6DE20F94 xor eax,ebp
6DE20F96 mov dword ptr [ebp-4],eax
6DE20F99 push ebx
6DE20F9A push esi
6DE20F9B mov esi,dword ptr [name]
_TSCHAR * path;
_TSCHAR pathbuf[ _MAX_PATH ];
int drive; /* A: = 1, B: = 2, etc. */
HANDLE findhandle;
WIN32_FIND_DATA findbuf;
int retval = 0;
_VALIDATE_CLEAR_OSSERR_RETURN( (name != NULL), EINVAL, -1);
6DE20F9E xor ebx,ebx
6DE20FA0 push edi
6DE20FA1 mov edi,dword ptr [buf]
}
if ( findbuf.ftCreationTime.dwLowDateTime ||
findbuf.ftCreationTime.dwHighDateTime )
6DE20FA4 mov dword ptr [ebp-474h],esi
6DE20FAA cmp esi,ebx
6DE20FAC jne _wstat32i64+46h (6DE20FCAh)
_TSCHAR * path;
_TSCHAR pathbuf[ _MAX_PATH ];
int drive; /* A: = 1, B: = 2, etc. */
HANDLE findhandle;
WIN32_FIND_DATA findbuf;
int retval = 0;
_VALIDATE_CLEAR_OSSERR_RETURN( (name != NULL), EINVAL, -1);
6DE20FAE call __doserrno (6DDDAAAEh)
6DE20FB3 mov dword ptr [eax],ebx
6DE20FB5 call _errno (6DDD0815h)
6DE20FBA mov dword ptr [eax],16h
6DE20FC0 call _invalid_parameter_noinfo (6DE4AF7Eh)
6DE20FC5 jmp _wstat32i64+412h (6DE21396h)