Open
Bug 580523
Opened 15 years ago
Updated 3 years ago
XPCOM component is not loading if path contains non latin chars
Categories
(Core :: XPCOM, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: manojmarathayil, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; ml; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
I am using one xpcom object in my extension and the xpcom binary component is not loading if the windows username contains non ascii username.
In my case the AppData parth is "C:\Users\മനു\AppData\".
In error console,
Components.classes["@mydomain.com/cloudsearchdownload;1"].name
returned
@mydomain.com/cloudsearchdownload;1
and this Components.classes["@mydomain.com/cloudsearchdownload;1"].createInstance()
returned
uncaught exception: [Exception... "Component returned failure code:
0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)
[nsIJSCID.createInstance]" nsresult: "0x80570015
(NS_ERROR_XPC_CI_RETURNED_FAILURE)" location: "JS frame ::
javascript:%20Components.classes["@mydomain.com/cloudsearchdownload;1"].createInstance()
:: <TOP_LEVEL> :: line 1" data: no]
NSPR logging
0[533140]: nsNativeModuleLoader::Init()
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program Files\Mozilla
Firefox\components\browserdirprovider.dll") - Success
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program Files\Mozilla
Firefox\components\brwsrcmp.dll") - Success
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program Files\Mozilla
Firefox\components\brwsrcmp.dll") - found in cache
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program
Files\Nokia\Nokia Ovi Suite\Connectors\Bookmarks
Connector\FirefoxExtension\components\FirefoxExtension.dll") - Success
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program
Files\Google\Google Gears\Firefox\lib\ff36\gears.dll") - Success
0[533140]: nsNativeModuleLoader::LoadModule("C:\Users\___\AppData\Roaming\Mozilla\Firefox\Profiles\t3js1hq3.default\extensions\myextension\components\mbdlcom.dll")
- Success
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program Files\Mozilla
Firefox\components\browserdirprovider.dll") - found in cache
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program
Files\Nokia\Nokia Ovi Suite\Connectors\Bookmarks
Connector\FirefoxExtension\components\FirefoxExtension.dll") - found
in cache
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program
Files\Google\Google Gears\Firefox\lib\ff36\gears.dll") - found in
cache
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program Files\Mozilla
Firefox\components\brwsrcmp.dll") - found in cache
0[533140]: nsNativeModuleLoader::LoadModule("C:\Users\___\AppData\Roaming\Mozilla\Firefox\Profiles\t3js1hq3.default\extensions\myextension\components\mbdlcom.dll")
- load FAILED, rv: 80520012, error:
<unknown; can't get error from NSPR>
0[533140]: nsNativeModuleLoader::LoadModule("C:\Program Files\Mozilla
Firefox\components\brwsrcmp.dll") - found in cache
0[533140]: nsNativeModuleLoader::UnloaderFunc("C:\Program
Files\Mozilla Firefox\components\brwsrcmp.dll")
0[533140]: nsNativeModuleLoader::UnloaderFunc("C:\Program
Files\Mozilla Firefox\components\browserdirprovider.dll")
0[533140]: nsNativeModuleLoader::UnloaderFunc("C:\Users\___\AppData\Roaming\Mozilla\Firefox\Profiles\t3js1hq3.default\extensions\myextension\components\mbdlcom.dll")
0[533140]: nsNativeModuleLoader::UnloaderFunc("C:\Program
Files\Nokia\Nokia Ovi Suite\Connectors\Bookmarks
Connector\FirefoxExtension\components\FirefoxExtension.dll")
0[533140]: nsNativeModuleLoader::UnloaderFunc("C:\Program
Files\Google\Google Gears\Firefox\lib\ff36\gears.dll")
NOTE: I am not able to use Firebug also in such environment but SQLite Manager works.
Reproducible: Always
Updated•15 years ago
|
Component: General → XPCOM
Product: Firefox → Core
QA Contact: general → xpcom
Version: 3.6 Branch → 1.9.2 Branch
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•