[Bug 32338] iTunes 11.1 'distnoted.exe' background processes crash randomly after some time (pipe creation/connection failures)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 22 17:27:52 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=32338

Anastasius Focht <focht at 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 at 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 at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list