http://bugs.winehq.org/show_bug.cgi?id=14221
Summary: After Wineboot startup Product: Wine Version: 1.0.0 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: deepblu@poczta.fm
Created an attachment (id=14508) --> (http://bugs.winehq.org/attachment.cgi?id=14508) wine_dump
After Wineboot start i have message like in attachment;
http://bugs.winehq.org/show_bug.cgi?id=14221
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-07-01 13:29:04 --- This is "Bonjour Service" - it doesn't work on Wine. Remove it, and don't install software containing it. The errors are harmless you can also ignore them.
Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=14221
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from James Hawkins truiken@gmail.com 2008-07-01 13:31:53 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=14221
--- Comment #3 from Austin English austinenglish@gmail.com 2008-07-01 13:41:00 --- Looks like the remnants of an itunes install. Try removing ~/.wine and if you reinstall itunes, don't install bonjour.
http://bugs.winehq.org/show_bug.cgi?id=14221
--- Comment #4 from Anastasius Focht focht@gmx.net 2008-07-02 09:16:24 --- Created an attachment (id=14532) --> (http://bugs.winehq.org/attachment.cgi?id=14532) Patch which fixes bonjour service crash in winsock/iphlpapi
Hello,
don't dismiss user bugs too early. Actually this one is valid.
The Bonjour malware^H^H^H^H^H^H^Hnuisance isn't necessarily installed by iTunes. Adobe CS3 also installs the Apple Bonjour service (http://developer.apple.com/networking/bonjour/download).
The first service crash (also seen in other bug reports) should now be fixed by this recent commit:
http://source.winehq.org/git/wine.git/?a=commit;h=7e8ecd2d6437c0ed2ee83fc2b6... (service arg)
The next crash is due to winsock/iphlpapi bug.
--- snip --- 0016:trace:iphlpapi:GetIpForwardTable pIpForwardTable (nil), pdwSize 0x7eb81728, bOrder 0 0016:trace:iphlpapi:GetIpForwardTable returning 122 0016:trace:iphlpapi:GetIpForwardTable pIpForwardTable 0x571738, pdwSize 0x7eb81728, bOrder 0 0016:trace:iphlpapi:GetIpForwardTable returning 0 0016:trace:iphlpapi:GetPerAdapterInfo (IfIndex 4, pPerAdapterInfo (nil), pOutBufLen 0x7eb81740) 0016:trace:winsock:WSAStringToAddressA code=c0000005 flags=0 addr=0x6008e6b3 0016:trace:seh:raise_exception info[0]=00000000 0016:trace:seh:raise_exception info[1]=00000010 0016:trace:seh:raise_exception eax=00000010 ebx=6017dff4 ecx=00000000 edx=7eb81690 esi=7eb8143c edi=7eb8168c 0016:trace:seh:raise_exception ebp=7eb814c4 esp=7eb80e90 cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00010246 0016:trace:seh:call_stack_handlers calling handler at 0x4254f0 code=c0000005 flags=0 wine: Unhandled page fault on read access to 0x00000010 at address 0x6008e6b3 (thread 0016), starting debugger... --- snip ---
GetPerAdapterInfo() is called with NULL pPerAdapterInfo parameter to figure out buffer size.
Actually MSDN is a bit vague/contradictory about this one.
http://msdn.microsoft.com/en-us/library/aa366012(VS.85).aspx
The service code checks for ERROR_BUFFER_OVERFLOW in this case and allocates buffer accordingly. The patch submitter should add conformance test for this one. You should be aware that wine <-> windows result for NULL pPerAdapterInfo might differ depending on if the adapter index is really valid (windows). Wine's impl is only a stub not taking that fact into account.
Attached patch fixes this and lets the service successfully start.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14221
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #5 from Anastasius Focht focht@gmx.net 2008-07-02 09:49:28 --- Hello,
bugzilla admins should decide if the bug is to be reopened or if new bug should be created. Summary: "bonjour service (mdnsresponder) crash in winsock/iphlpapi". Component: winsock Download location (URL): http://developer.apple.com/networking/bonjour/download
Though the issue can also be reproduced with iTunes/whatever software which bundles Bonjour.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14221
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://developer.apple.com/n | |etworking/bonjour/download Status|CLOSED |UNCONFIRMED Component|-unknown |winsock Keywords| |download, patch Resolution|INVALID | Summary|After Wineboot startup |bonjour service | |(mdnsresponder) crash in | |winsock/iphlpapi
--- Comment #6 from Austin English austinenglish@gmail.com 2008-07-02 12:45:29 --- Reopening.
http://bugs.winehq.org/show_bug.cgi?id=14221
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |kai.blin@gmail.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Kai Blin kai.blin@gmail.com 2008-07-02 17:07:25 --- And onto my list with it.
http://bugs.winehq.org/show_bug.cgi?id=14221
--- Comment #8 from Juan Lang juan_lang@yahoo.com 2008-07-03 10:58:37 --- Alexandre fixed the iphlpapi bug: http://www.winehq.org/pipermail/wine-cvs/2008-July/044966.html
Is the winsock fix needed to avoid a crash?
http://bugs.winehq.org/show_bug.cgi?id=14221
--- Comment #9 from Anastasius Focht focht@gmx.net 2008-07-03 11:37:19 --- Hello,
--- quote --- Alexandre fixed the iphlpapi bug: http://www.winehq.org/pipermail/wine-cvs/2008-July/044966.html --- quote ---
Yes, it's fixed now.
--- quote --- Is the winsock fix needed to avoid a crash? --- quote ---
Consider if a caller passes for whatever reason NULL AddressString to WSAStringToAddressA(), the TRACE() will trigger page fault. The following AddressString NULL pointer check would be useless then.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14221
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2008-07-03 12:32:49 --- Marking fixed then. The winsock bug should be fixed, but it doesn't prevent bonjour service from starting. (Thanks for your help, AF.)
http://bugs.winehq.org/show_bug.cgi?id=14221
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2008-07-11 11:10:50 --- Closing bugs fixed in 1.1.1.
http://bugs.winehq.org/show_bug.cgi?id=14221
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bdf180d2a2400d04cb6ce273c0a | |9ae5de66f8f67 Severity|enhancement |normal
--- Comment #12 from Anastasius Focht focht@gmx.net 2011-10-13 13:10:13 CDT --- Hello,
filling/correcting fields...
Regards
https://bugs.winehq.org/show_bug.cgi?id=14221
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://developer.apple.com/ |https://web.archive.org/web |networking/bonjour/download |/20070211073935/http://a140 | |8.g.akamai.net/7/1408/9955/ | |20060417/akamai.info.apple. | |com/Bonjour/061-2389.200604 | |17.bnjr3w/BonjourSetup.exe Hardware|Other |x86