http://bugs.winehq.org/show_bug.cgi?id=26334
Summary: Firefox won't run under a Japanese locale Product: Wine Version: 1.2.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: spe@inducks.org
Firefox won't run under a Japanese locale (LANG=ja_JP.UTF-8 wine firefox). Firefox will run under an English locale (LANG=en wine firefox). A Japanese locale will be the default if you select Japanese as the system language when installing Linux.
Versions tested: Wine 1.2.2 (from Ubuntu's "apt-get install wine") and Firefox 3.6.15 (Japanese version downloaded from www.mozilla.com)
Under a Japanese locale, Firefox immediately runs the Mozilla Crash Reporter. The terminal output includes a message about problems with double-byte character sets: fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes
http://bugs.winehq.org/show_bug.cgi?id=26334
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #1 from Jerome Leclanche adys.wh@gmail.com 2011-03-06 19:05:43 CST --- Dupe of bug 20869. Try with a more recent version of wine.
http://bugs.winehq.org/show_bug.cgi?id=26334
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #2 from Ken Sharp kennybobs@o2.co.uk 2011-04-15 00:37:45 CDT --- Have you tried with a more recent Wine?
http://bugs.winehq.org/show_bug.cgi?id=26334
--- Comment #3 from Stefan Persson spe@inducks.org 2011-04-16 11:29:14 CDT --- Still applies to Firefox 3.6.x under Wine 1.3.17. Version 1.3.18 is not yet available from the PPA I'm using, so I can't check.
Does not seem to apply to Firefox 4.0.x.
http://bugs.winehq.org/show_bug.cgi?id=26334
--- Comment #4 from Stefan Persson spe@inducks.org 2011-04-17 18:43:02 CDT --- Doesn't work:
$ LANG=ja_JP.UTF-8 wine firefox fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes fixme:system:SetProcessDPIAware stub! fixme:process:SetProcessDEPPolicy (1): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdfe994, overlapped 0xdfe978): stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject no class object {591209c7-767b-42b2-9fba-44ee4615f2c7} could be created for context 0x3 fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:dbghelp:elf_search_auxv can't find symbol in module fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes
Works:
$ LANG=ja_JP.eucJP wine firefox fixme:system:SetProcessDPIAware stub! fixme:process:SetProcessDEPPolicy (1): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xe4e994, overlapped 0xe4e978): stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject no class object {591209c7-767b-42b2-9fba-44ee4615f2c7} could be created for context 0x3 fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:win:FlashWindowEx 0x32e2a0 fixme:win:FlashWindowEx 0x32e3d8 fixme:win:FlashWindowEx 0x32e498 fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\prefs.js" 1 536870916 (nil) (nil) 0x1f6934 (nil) fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\localstore.rdf" 1 536870916 (nil) (nil) 0x1b2a34 (nil) err:ole:CoUninitialize Mismatched CoUninitialize
Works:
$ LANG=en wine firefox fixme:system:SetProcessDPIAware stub! fixme:process:SetProcessDEPPolicy (1): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdfe994, overlapped 0xdfe978): stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject no class object {591209c7-767b-42b2-9fba-44ee4615f2c7} could be created for context 0x3 fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:win:FlashWindowEx 0x32e2a0 fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\prefs.js" 1 536870916 (nil) (nil) 0x1b01e4 (nil) fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\localstore.rdf" 1 536870916 (nil) (nil) 0x1b015c (nil) err:ole:CoUninitialize Mismatched CoUninitialize
The non-working variant has two lines which are not present for the working variants:
fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes fixme:dbghelp:elf_search_auxv can't find symbol in module
The first line is also generated by some very simple programs, but only on a ja_JP.UTF-8 locale (and not on e.g. ja_JP.eucJP or en_US.UTF-8). Take this program, for example:
#include <stdio.h>
int main() { printf( "test\n" ); }
Using a file compiled using i586-mingw32msvc-gcc, I get the following output for different locales:
test@localhost:~/.wine/drive_c/c$ LANG=ja_JP.UTF-8 wine test.exe fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes test test@localhost:~/.wine/drive_c/c$ LANG=ja_JP.eucJP wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=en_US.UTF-8 wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=en_US.ISO8859-1 wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=zh_TW.UTF-8 wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=zh_TW.eucTW wine test.exe test test@localhost:~/.wine/drive_c/c$
http://bugs.winehq.org/show_bug.cgi?id=26334
--- Comment #5 from Ken Sharp kennybobs@o2.co.uk 2011-04-20 13:03:31 CDT --- Are you running the Japanese version of Firefox?
http://bugs.winehq.org/show_bug.cgi?id=26334
--- Comment #6 from Stefan Persson spe@inducks.org 2011-05-20 04:22:09 CDT --- Appears to apply to all Firefox 1.6.x and Seamonkey 2.0.x regardless of Firefox/Seamonkey language. In particular, the Firefox you get by downloading http://download.mozilla.org/?product=firefox-3.6.17&os=win&lang=en-U... has this problem. I just tried using a clean Wine directory ("rm -rf ~/.wine" before running the installer) with Wine 1.3.20, and the bug still applies.
I need the old Firefox 1.6.x version because of a Win/Mac-only plugin which refuses to work with Wine+Firefox 4.0.x. I've only got it to work with Wine+Firefox 1.6.x/Seamonkey 2.0.x.
http://bugs.winehq.org/show_bug.cgi?id=26334
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #7 from fracting fracting@gmail.com 2012-01-03 22:54:46 CST --- Also affects LANG=zh_CN.utf8
http://www.filehippo.com/download_firefox/4708/ e5ec43793341ff7995170e131da64574b4e0b1a9 Firefox Setup 3.0.3.exe
wine-1.3.36-72-g8d66ca1
http://bugs.winehq.org/show_bug.cgi?id=26334
--- Comment #8 from fracting fracting@gmail.com 2012-01-17 19:54:17 CST --- Created attachment 38415 --> http://bugs.winehq.org/attachment.cgi?id=38415 Log: backtrace from firefox
$ MOZ_CRASHREPORTER_DISABLE=1 wine firefox.exe
This will disable the firefox crash reporter and get the backtrace from teminal http://kb.mozillazine.org/Breakpad#Can_I_disable_Crash_Reporter.3F
http://bugs.winehq.org/show_bug.cgi?id=26334
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #9 from Sagawa sagawa.aki+winebugs@gmail.com 2012-02-11 09:10:41 CST --- As far as I can ascertain, firefox works fine when I define "MS UI Gothic" for LANG=ja_JP.utf8 and "SimSun" for LANG=zh_CN.utf8 under HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements.
Therefore this seems to be a duplicate bug #13829 (Wine does not have CJK fonts). And msvcrt has no fault as far as this bug.
I've tested against wine-1.4-rc2-96-gb0bc037 and Firefox 3.0.3 which obtained from comment #7.
http://bugs.winehq.org/show_bug.cgi?id=26334
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #10 from Austin English austinenglish@gmail.com 2012-02-13 12:16:13 CST --- (In reply to comment #9)
As far as I can ascertain, firefox works fine when I define "MS UI Gothic" for LANG=ja_JP.utf8 and "SimSun" for LANG=zh_CN.utf8 under HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements.
Therefore this seems to be a duplicate bug #13829 (Wine does not have CJK fonts). And msvcrt has no fault as far as this bug.
I've tested against wine-1.4-rc2-96-gb0bc037 and Firefox 3.0.3 which obtained from comment #7.
Dupe.
*** This bug has been marked as a duplicate of bug 13829 ***
http://bugs.winehq.org/show_bug.cgi?id=26334
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Jerome Leclanche adys.wh@gmail.com 2012-02-24 14:26:39 CST --- Closing.