Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running Safari (for Windows) in Wine (or trying to at least)

44 views
Skip to first unread message

alienvenom

unread,
Jun 11, 2007, 3:52:13 PM6/11/07
to
Having some issues here running the (very new) Safari for Windows.

Seems to have installed OK. Had to make sure winecfg was set to
Windows XP+ as anything < XP is not supported and wont even install.

When I first attempted to load it up, it complained about MSVCR.DLL
and MSVCP.DLL. Found a bash script (http://www.kegel.com/wine/
winetricks) and installed the vcr2005 package from MS, and that
resolved the issues about the two DLLs.

Unfortunately, having some issues with the browser. "wine Safari.exe"
seems to draw something on the screen (I can see the Google search on
the right), but doesn't finish drawing and dumps some junk:

$ wine Safari.exe
fixme:actctx:FindActCtxSectionStringW 00000000 (null) 2 L"msvcr80.dll"
0x337aec
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
err:ole:RegisterDragDrop invalid hwnd (nil)
fixme:toolbar:TOOLBAR_SetExtendedStyle Unknown Toolbar Extended Style
0x00000080. Please report.
fixme:shell:URL_ParseUrl failed to parse L""
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
err:bitmap:DIB_GetBitmapInfo (44): unknown/wrong size for header
wine: Unhandled page fault on read access to 0x00230000 at address
0x6b262e97 (thread 0047), starting debugger...
Unhandled exception: page fault on read access to 0x00230000 in 32-bit
code (0x6b262e97).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:6b262e97 ESP:0033eba0 EBP:0033ed38 EFLAGS:00010206( - 00 -
RIP1)
EAX:00230000 EBX:0033ed78 ECX:00000000 EDX:00000000
ESI:25003d40 EDI:008161a8
Stack dump:
0x0033eba0: 6dccd8ff 6b0ef4d3 008161a8 00000006
0x0033ebb0: 0000000b 7fffffff 00000000 ffffffff
0x0033ebc0: 00000024 7ebe70b5 0033f0a0 00000000
0x0033ebd0: 00000000 00000000 00000000 00000000
0x0033ebe0: 0000000a 0033f09e 00000000 00000000
0x0033ebf0: 00000000 00000000 00000000 00000000
Backtrace:
=>1 0x6b262e97 in coregraphics (+0x262e97) (0x0033ed38)
2 0x6b0f9da4 in coregraphics (+0xf9da4) (0x0033f31c)
3 0x6b1e0fff in coregraphics (+0x1e0fff) (0x0033f4bc)
4 0x6b1d19ee in coregraphics (+0x1d19ee) (0x0033f578)
5 0x00000000 (0x00000000)
0x6b262e97: testl %eax,0x0(%eax)
Modules:
Module Address Debug info Name (122 modules)
PE 400000- 57d000 Deferred safari
PE 16000000-1600e000 Deferred dnssd
PE 4ad00000-4b56a000 Deferred icudt36
PE 61800000-61865000 Deferred cfnetwork
PE 61c00000-61c56000 Deferred sqlite3
PE 62400000-624a7000 Deferred icuin36
PE 62800000-6282e000 Deferred safaritheme
PE 69800000-6990f000 Deferred libxml2
PE 6a400000-6a413000 Deferred zlib1
PE 6a800000-6a833000 Deferred libxslt
PE 6b000000-6b36d000 Export coregraphics
PE 6b800000-6b8fb000 Deferred icuuc36
PE 6c800000-6c810000 Deferred pthreadvc2
PE 6dc00000-6dfc6000 Deferred webkit
PE 6fc00000-6fc71000 Deferred corefoundation
PE 78130000-781cb000 Deferred msvcr80
ELF 7bf00000-7bf03000 Deferred <wine-loader>
PE 7c420000-7c4a7000 Deferred msvcp80
ELF 7ca85000-7ca99000 Deferred cryptdll<elf>
\-PE 7ca90000-7ca99000 \ cryptdll
ELF 7cbc4000-7cbdc000 Deferred usp10<elf>
\-PE 7cbd0000-7cbdc000 \ usp10
ELF 7cbdc000-7cc0a000 Deferred libcrypt.so.1
ELF 7cc0a000-7cc56000 Deferred libgcrypt.so.11
ELF 7cc56000-7cc65000 Deferred libtasn1.so.3
ELF 7cc65000-7ccd1000 Deferred libgnutls.so.13
ELF 7ccd1000-7ccfe000 Deferred libcups.so.2
ELF 7cd4c000-7cd7e000 Deferred uxtheme<elf>
\-PE 7cd50000-7cd7e000 \ uxtheme
ELF 7cd7e000-7cda4000 Deferred msacm32<elf>
\-PE 7cd90000-7cda4000 \ msacm32
ELF 7cda4000-7cdbc000 Deferred msacm32<elf>
\-PE 7cdb0000-7cdbc000 \ msacm32
ELF 7d067000-7d07c000 Deferred midimap<elf>
\-PE 7d070000-7d07c000 \ midimap
ELF 7d07c000-7d0b8000 Deferred wineoss<elf>
\-PE 7d080000-7d0b8000 \ wineoss
ELF 7d0b8000-7d0bd000 Deferred libxfixes.so.3
ELF 7d0bd000-7d0c6000 Deferred libxcursor.so.1
ELF 7d0c6000-7d0e2000 Deferred imm32<elf>
\-PE 7d0d0000-7d0e2000 \ imm32
ELF 7d0e2000-7d0e8000 Deferred libxrandr.so.2
ELF 7d0e8000-7d0f0000 Deferred libxrender.so.1
ELF 7d0f0000-7d0f3000 Deferred libxinerama.so.1
ELF 7d0fe000-7d102000 Deferred libgpg-error.so.0
ELF 7d6e3000-7d6e5000 Deferred libnvidia-tls.so.1
ELF 7d6e5000-7e07d000 Deferred libglcore.so.1
ELF 7e07d000-7e112000 Deferred libgl.so.1
ELF 7e112000-7e117000 Deferred libxdmcp.so.6
ELF 7e117000-7e11a000 Deferred libxau.so.6
ELF 7e11a000-7e202000 Deferred libx11.so.6
ELF 7e202000-7e20f000 Deferred libxext.so.6
ELF 7e20f000-7e226000 Deferred libice.so.6
ELF 7e226000-7e22f000 Deferred libsm.so.6
ELF 7e22f000-7e2bc000 Deferred winex11<elf>
\-PE 7e240000-7e2bc000 \ winex11
ELF 7e354000-7e463000 Deferred libxml2.so.2
ELF 7e463000-7e48c000 Deferred libfontconfig.so.1
ELF 7e48c000-7e49e000 Deferred libz.so.1
ELF 7e49e000-7e517000 Deferred libfreetype.so.6
ELF 7e517000-7e52b000 Deferred msimg32<elf>
\-PE 7e520000-7e52b000 \ msimg32
ELF 7e52b000-7e5c1000 Deferred oleaut32<elf>
\-PE 7e540000-7e5c1000 \ oleaut32
ELF 7e5c1000-7e661000 Deferred comdlg32<elf>
\-PE 7e5d0000-7e661000 \ comdlg32
ELF 7e661000-7e693000 Deferred winspool<elf>
\-PE 7e670000-7e693000 \ winspool
ELF 7e693000-7e6b2000 Deferred wintrust<elf>
\-PE 7e6a0000-7e6b2000 \ wintrust
ELF 7e6b2000-7e6cc000 Deferred wsock32<elf>
\-PE 7e6c0000-7e6cc000 \ wsock32
ELF 7e6cc000-7e6eb000 Deferred mpr<elf>
\-PE 7e6d0000-7e6eb000 \ mpr
ELF 7e6eb000-7e732000 Deferred wininet<elf>
\-PE 7e700000-7e732000 \ wininet
ELF 7e732000-7e77f000 Deferred crypt32<elf>
\-PE 7e740000-7e77f000 \ crypt32
ELF 7e77f000-7e7d3000 Deferred rpcrt4<elf>
\-PE 7e790000-7e7d3000 \ rpcrt4
ELF 7e7d3000-7e86c000 Deferred ole32<elf>
\-PE 7e7e0000-7e86c000 \ ole32
ELF 7e86c000-7e926000 Deferred comctl32<elf>
\-PE 7e880000-7e926000 \ comctl32
ELF 7e926000-7e97d000 Deferred shlwapi<elf>
\-PE 7e930000-7e97d000 \ shlwapi
ELF 7e97d000-7ea74000 Deferred shell32<elf>
\-PE 7e990000-7ea74000 \ shell32
ELF 7ea74000-7ead7000 Deferred msvcrt<elf>
\-PE 7ea80000-7ead7000 \ msvcrt
ELF 7ead7000-7eae9000 Deferred libresolv.so.2
ELF 7eae9000-7eb07000 Deferred iphlpapi<elf>
\-PE 7eaf0000-7eb07000 \ iphlpapi
ELF 7eb07000-7eb33000 Deferred ws2_32<elf>
\-PE 7eb10000-7eb33000 \ ws2_32
ELF 7eb33000-7eb78000 Deferred advapi32<elf>
\-PE 7eb40000-7eb78000 \ advapi32
ELF 7eb78000-7ec09000 Deferred gdi32<elf>
\-PE 7eb90000-7ec09000 \ gdi32
ELF 7ec09000-7ed3e000 Deferred user32<elf>
\-PE 7ec20000-7ed3e000 \ user32
ELF 7ed3e000-7edcb000 Deferred winmm<elf>
\-PE 7ed50000-7edcb000 \ winmm
ELF 7edcb000-7eddf000 Deferred lz32<elf>
\-PE 7edd0000-7eddf000 \ lz32
ELF 7eddf000-7edf8000 Deferred version<elf>
\-PE 7edf0000-7edf8000 \ version
ELF 7edf8000-7ef18000 Deferred kernel32<elf>
\-PE 7ee10000-7ef18000 \ kernel32
ELF 7ef18000-7ef22000 Deferred libnss_files.so.2
ELF 7ef22000-7ef2c000 Deferred libnss_nis.so.2
ELF 7ef2c000-7ef41000 Deferred libnsl.so.1
ELF 7ef41000-7ef49000 Deferred libnss_compat.so.2
ELF 7ef49000-7ef6d000 Deferred libm.so.6
ELF 7ef6d000-7f000000 Deferred ntdll<elf>
\-PE 7ef80000-7f000000 \ ntdll
ELF b7c81000-b7c86000 Deferred libxxf86vm.so.1
ELF b7c88000-b7c8c000 Deferred libdl.so.2
ELF b7c8c000-b7dae000 Deferred libc.so.6
ELF b7dae000-b7dc4000 Deferred libpthread.so.0
ELF b7dd3000-b7ee4000 Deferred libwine.so.1
ELF b7ee5000-b7f01000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000046 (D) C:\Program Files\Safari\Safari.exe
00000047 0 <==
0000000a
0000000c 0
0000000b 0
00000008
00000042 0
00000040 0
0000003f 1
0000003e 0
0000003d 1
0000003c 0
0000003b 1
0000003a 0
00000039 1
00000037 0
00000036 1
00000035 0
00000034 1
00000033 0
00000032 1
00000031 0
00000030 1
0000002c 0
00000029 0
00000028 0
00000027 0
00000026 0
00000025 0
0000001f 0
0000001e 0
0000001c 0
0000001b 1
00000019 0
00000018 0
00000016 0
00000015 0
00000014 1
00000013 0
00000012 0
00000011 0
00000010 0
0000000f 0
0000000e 0
0000000d 0
00000009 0

Any ideas? :)

alienvenom

unread,
Jun 11, 2007, 3:54:01 PM6/11/07
to

I'd also like to point out that I'm using wine version 0.9.36.

jinh...@gmail.com

unread,
Jun 12, 2007, 3:57:45 AM6/12/07
to
> ...
>
> read more »

i think..
you should run the quicktime framework with wine, first...
as iTunes needs the background quicktime framework..
I have not tried yet this. just my guess.


DanKegel

unread,
Jun 12, 2007, 8:58:06 AM6/12/07
to
On Jun 11, 12:52 pm, alienvenom <alienve...@gmail.com> wrote:
> When I first attempted to load it up, it complained about MSVCR.DLL
> and MSVCP.DLL. Found a bash script (http://www.kegel.com/wine/
> winetricks) and installed the vcr2005 package from MS, and that
> resolved the issues about the two DLLs.

That's good. (We should report this as a bug in safari, it really
should come with the MSVC runtimes it uses.)

> Unfortunately, having some issues with the browser. "wine Safari.exe"
> seems to draw something on the screen (I can see the Google search on
> the right), but doesn't finish drawing and dumps some junk:

> ...


> err:bitmap:DIB_GetBitmapInfo (44): unknown/wrong size for header
> wine: Unhandled page fault on read access to 0x00230000 at address
> 0x6b262e97 (thread 0047), starting debugger...

This is http://bugs.winehq.org/show_bug.cgi?id=8674
See that bug report for a workaround. (It requires rebuilding wine.)
- Dan

Message has been deleted

Chuso

unread,
Jun 14, 2007, 7:41:54 AM6/14/07
to
SAFARI WITH WINE
2007/06/13
http://h0m3r.sdf-eu.org/index.php?id=1181750528

These are the steps needed in order to be able to run Safari on Linux
using Wine:

1) Recompile wine patching[1] Wine bug #8674[2]. If you are using
Gentoo you can download my patched ebuild[3].
2) Install Visual C++ 2005 libraries[4], either downloading the
package[5] and installing it with Wine or using winetricks[6] script.
3) Download[7] and install Safari for Windows unchecking automatic
updates while installing.

Links:
[1] Patches for Wine bug #8674:
http://bugs.winehq.org/attachment.cgi?id=6721
http://bugs.winehq.org/attachment.cgi?id=6722
http://appdb.winehq.org/commentview.php?iAppId=5293&iVersionId=8248&iThreadId=21838
(this one is reversed so you need to use -R with patch).
[2] Wine bug #8674: http://bugs.winehq.org/show_bug.cgi?id=8674
[3] Gentoo Linux unofficial Wine ebuild with patch #6721:
http://chuso.1.vg/chuso-overlay/archive/app-emulation/wine/wine-0.9.38-r1.ebuild
[4] Microsoft Visual C++ 2005 Redistributable Package:
http://www.microsoft.com/downloads/details.aspx?FamilyID=32bc1bee-a3f9-4c13-9c99-220b62a191ee
[5] Microsoft Visual C++ 2005 Redistributable Package installer:
http://download.microsoft.com/download/d/3/4/d342efa6-3266-4157-a2ec-5174867be706/vcredist_x86.exe
[6] Dan Kegel's Winetricks script: http://www.kegel.com/wine/winetricks
[7] Safari download: http://www.apple.com/safari/download/

salu2
--
Chuso
http://chuso.1.vg

Chuso

unread,
Jun 14, 2007, 7:46:33 AM6/14/07
to

Chuso

unread,
Jul 20, 2007, 11:03:33 AM7/20/07
to
Many people is reading this thread in Google Groups to know how to run
Safari on Linux, you should know that patching Wine is no longer
needed since version 0.9.39, so the only you need to do in order to
install Safari with Wine is the following:

1) Install Visual C++ 2005 libraries[1], either downloading the
package[2] and installing it with Wine or using winetricks[3] script.
2) Download[4] and install Safari for Windows unchecking automatic
updates while installing.

Links:
[1] Microsoft Visual C++ 2005 Redistributable Package:
http://www.microsoft.com/downloads/details.aspx?FamilyID=32bc1bee-a3f9-4c13-9c99-220b62a191ee
[2] Microsoft Visual C++ 2005 Redistributable Package installer:
http://download.microsoft.com/download/d/3/4/d342efa6-3266-4157-a2ec-5174867be706/vcredist_x86.exe
[3] Dan Kegel's Winetricks script: http://www.kegel.com/wine/winetricks
[4] Safari download: http://www.apple.com/safari/download/

Source: http://chuso.1.vg/index.php?id=1181750528

salu2
--
Chuso
http://Chuso.1.vg
http://www.LosEstores.com

Message has been deleted

Felix Schmitt

unread,
Jul 22, 2007, 5:31:30 AM7/22/07
to
At http://appdb.winehq.org/ find you a list of games.
They run under wine.
0 new messages