3. Wine on Solaris 11 Express
"Wine Is Not just an Emulator"
“Compatibility layer"
Windows API を native system call にトランスレート
VirtualBox の Direct3D 周りでも Wine の実装が
使われている
サン・マイクロシステムズの PWI (Public
Windows Initiative) や Wabi に影響される
これに懐かしさを感じる人は・・・
http://www.winehq.org/
Presentation Title pg 3
4. Wine on Solaris 11 Express
なぜ、 Wine なのか?
Solaris 上で OVDC (Oracle Virtual
Desktop Client) を動かしたかった
結果は?
少し問題があったものの・・・
大成功!!
* OVDC ・・・ ソフトウェア版 Sun Ray Client 。 Windows, Linux, Mac OS X 版が提供
Presentation Title pg 4
11. Wine on Solaris 11 Express
OVDC の問題は新しい Wine で解決
だがしかし・・・
Presentation Title pg 11
12. Wine on Solaris 11 Express
Final Fantasy XI を起動すると・・・
Unhandled page fault
「動け、動け、動いてよ !!!
今動かなきゃ、
今ログインできなきゃ、
みんないなくなっちゃうんだ!」
Presentation Title pg 12
15. Wine on Solaris 11 Express
この修正が原因
diff --git a/libs/wine/mmap.c b/libs/wine/mmap.c
index fc5b1d9..b400189 100644
--- a/libs/wine/mmap.c
+++ b/libs/wine/mmap.c
@@ -350,6 +350,12 @@ void mmap_init(void)
reserve_malloc_space( 8 * 1024 * 1024 );
+ if (!list_head( &reserved_areas ))
+ {
+ /* if we don't have a preloader, try to reserve some space below 2Gb */
+ reserve_area( (void *)0x00110000, (void *)0x40000000 );
+ }
+
/* check for a reserved area starting at the user space limit */
/* to avoid wasting time trying to allocate it again */
LIST_FOR_EACH( ptr, &reserved_areas )
こいつを backout することで動作した
Presentation Title pg 15
17. Wine on Solaris 11 Express
そして、すでに BugDB に登録されていた
Bug 22033 - World of Warcraft Crashes on
startup (due to broken Solaris malloc())
http://bugs.winehq.org/show_bug.cgi?id=22033
おまえらどんだけ World of Warcraft 好きなんだよ・・・
しかも、
Solaris で・・・
Presentation Title pg 17