http://bugs.winehq.org/show_bug.cgi?id=32338
Bug #: 32338 Summary: iTunes 11: crashes when running Product: Wine Version: 1.5.18 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jactry92@gmail.com Classification: Unclassified
Created attachment 42681 --> http://bugs.winehq.org/attachment.cgi?id=42681 The Log
reproduce follow this: 0. download and instll it, I install it with deatulf option in the installation; 1. 'winetricks -q gdiplus' to get a workaround for Bug 30623 ; 2. cd to the path where installed it and 'wine iTunes.exe' to run it; 3. just wait for it crashes wine...
I tested this a enough times and it crashed every time.
My test environment: - Ubuntu 12.10 32 bit - Wine 1.5.18 - iTunes 11
http://bugs.winehq.org/show_bug.cgi?id=32338
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.apple.com/itunes | |/download/
http://bugs.winehq.org/show_bug.cgi?id=32338
--- Comment #1 from Jactry Zeng jactry92@gmail.com 2012-12-01 08:15:44 CST --- This is the md5 value of the setup program: md5sum iTunesSetup.exe 968c7ccf6e1526e6216f66d4467328b1 iTunesSetup.exe
http://bugs.winehq.org/show_bug.cgi?id=32338
--- Comment #2 from mail@stefanringel.de --- Created attachment 47113 --> http://bugs.winehq.org/attachment.cgi?id=47113 iTunes 11.1 crashed
iTunes 11.1 crashed too.
https://bugs.winehq.org/show_bug.cgi?id=32338
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL|http://www.apple.com/itunes |http://www.oldapps.com/itun |/download/ |es.php?old_itunes=13042 CC| |focht@gmx.net Summary|iTunes 11: crashes when |iTunes 11.1 'distnoted.exe' |running |background processes crash | |randomly after some time | |(pipe creation/connection | |failures) Ever confirmed|0 |1
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
I can confirm this but found no reliable way to trigger the crash. It's not the iTunes main app but 'distnoted' background process that crashes.
--- snip --- Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x10069801). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:10069801 ESP:00317834 EBP:00317840 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:00000000 ECX:009f3368 EDX:00000000 ESI:00000000 EDI:100cab94 ... Backtrace: =>0 0x10069801 in corefoundation (+0x69801) (0x00317840) 1 0x1006a7f1 in corefoundation (+0x6a7f0) (0x003178f0) 0x10069801: testb $0x1,0x4(%eax)
000000a4 (D) C:\Program Files (x86)\Common Files\Apple\Apple Application Support\distnoted.exe 000000a6 0 000000a5 0 <== --- snip ---
Apple iTunes process garbage/bloat info:
http://support.apple.com/kb/HT3960 ("iTunes for Windows: Background processes installed on Windows XP, Vista, and 7")
distnoted -> "Allows iTunes to sync with iPhone and iPod touch"
I looked at the crash site (caller addresses in corefoundation.dll) and it seems this is the result of failure to create a named pipe.
Corefoundation API calls:
CFWindowsNamedPipeCreateWithName() (fails) ... CFWindowsNamedPipeSetInvalidationCallBack() -> accesses pipe class member (null)
I found a log file in '%USERPROFILE%\Application Data\Apple Computer\logs\asl.xxxx.log' which seems to support this (parent process pipe args)
--- snip --- [119 @ Sat Mar 22 22:55:51 2014] [YSLoader AppleMobileDeviceHelper.exe] command line: "C:\Program Files\Common Files\Apple\Mobile Device Support\AppleMobileDeviceHelper.exe" --pipe \.\pipe\3036111321133472123265053 --parentPipe
--- snip ---
Process tree:
--- snip --- Wine-dbg>info process pid threads executable (all id:s are in hex) 0000005d 2 'distnoted.exe' 00000011 2 'distnoted.exe' 00000086 25 'iTunes.exe' 000000b3 3 _ 'AppleMobileDeviceHelper.exe' 000000b9 2 _ 'distnoted.exe' 000000b7 2 _ 'distnoted.exe' 00000068 3 'AppleMobileDeviceHelper.exe' 00000056 2 _ 'distnoted.exe' 00000097 2 'distnoted.exe' 00000070 3 'AppleMobileDeviceHelper.exe' 0000003d 7 'rpcss.exe' 00000014 1 'explorer.exe' 0000000e 7 'services.exe' 00000009 23 _ 'iPodService.exe' 00000028 3 _ 'plugplay.exe' 00000022 4 _ 'winedevice.exe' 0000001c 3 _ 'mDNSResponder.exe' --- snip ---
At the time the crash occurs:
--- snip --- Failed connecting to named pipe, wait result is 258 Wait for connection failed Parent: Can't create child... Set args[3] to --parentPipe --- snip ---
Unfortunately running the whole thing with +relay doesn't yield any crash (slower, maybe less racy) but produced 20+ GB trace log files until I killed it.
$ sha1sum iTunesSetup1110.exe cef0f1398e1d51fd2f832c12763c2bf1627379ee iTunesSetup1110.exe
$ du -sh iTunesSetup1110.exe 91M iTunesSetup1110.exe
$ wine --version wine-1.7.15
Regards
https://bugs.winehq.org/show_bug.cgi?id=32338
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
--- Comment #4 from winetaste@gmx.net --- distnoted.exe[133:86] 006F1F28 134 (distnoted.exe) GetOverlappedResult failed with error 109; numBytesRead 0
Maybe the same?
Wine version: 2.22 OS: Ubuntu 17.10 (Gnome / Xorg)
WINEARCH=win32 winetricks msxml3 vcrun2013
iTunes 12.7.2.58
https://bugs.winehq.org/show_bug.cgi?id=32338
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=32338
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/itun |https://web.archive.org/web |es.php?old_itunes=13042 |/20130921191746/https://sec | |ure-appldnld.apple.com/iTun | |es11/041-8597.20130918.PmmE | |w/iTunesSetup.exe
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download to v11.1.0.126 via Internet Archive.
https://web.archive.org/web/20130921191746/https://secure-appldnld.apple.com...
$ sha1sum iTunesSetup.exe cef0f1398e1d51fd2f832c12763c2bf1627379ee iTunesSetup.exe
$ du -sh iTunesSetup.exe 91M iTunesSetup.exe
The problem can't be validated as of now because the service (rather it's parent) doesn't start due to some regression in between Wine 2.22 and 3.0.
Might revisit later...
Regards