If you still need help with this, possibly it would help to have a stack trace to look at.
/ Jonas On Thu, Apr 25, 2013 at 9:25 PM, Gecko Leo <[email protected]> wrote: > Dear Mozilla Gecko team, > > My name is Jumok HA. > > I am a software engineer working in the LG gecko team. > > I encountered problems when I had run xpcshell-based unit test on the device. > > The problem I got was segmentation fault while using several > components and modules for xpcshell-based unit test. > > For example, > In Folder: gecko/dom/network/tests/unit_stats > test_networkstats_service.js , test_networkstats_db.js two java > script test files result in segmentation fault after running > xpcshell-based unit test. > > Cu.import("resource://gre/modules/NetworkStatsService.jsm"); > > var idbManager = > Cc["@mozilla.org/dom/indexeddb/manager;1"].getService(Ci.nsIIndexedDatabaseManager); > > > like the above java script source code inside > test_networkstats_service.js , test_networkstats_db.js induce > segmentation fault. There are other folders with segmentation fault. > > I understood that all xp components can be used and tested with test > java scripts. But using some of components and modules can not be > possible. > > Could you give me a solution to solve segmentation fault during > xpchsell-based unit test ? > > Best regards, > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
