Closed
Bug 936980
Opened 11 years ago
Closed 9 years ago
GELAM Unit Tests Do Not Run on OS X
Categories
(Firefox OS Graveyard :: Gaia::E-Mail, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mchang, Unassigned)
Details
The GELAM unit tests do not run on OS X. I've tried on both desktop-b2g built from mozilla-central, nightly from Mozilla FTP, and Mozilla Aurora b2g. When I run the unit tests, it crashes with the following errors: 1384141403658 Marionette INFO MarionetteComponent loaded 1384141403660 Marionette INFO marionette enabled via build flag and pref 2013-11-10 19:43:23.666 b2g-bin[880:d0b] *** WARNING: Method userSpaceScaleFactor in class NSWindow is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 1384141403692 Marionette INFO marionette-server.js loaded 1384141403708 Marionette INFO Listening on port 2828 1384141403708 Marionette INFO Marionette server ready make: *** [tests] Trace/BPT trap: 5 Upon running run-mozilla.sh with a debugger, I get no useful information as the call stack only shows addresses.
Comment 1•11 years ago
|
||
(In reply to Mason Chang [:mchang] from comment #0) > Upon running run-mozilla.sh with a debugger, I get no useful information as > the call stack only shows addresses. On builds you made yourself, you may need to put the following in your .mozconfig to get a frame pointer so backtracing works: ac_add_options --enable-profiling For downloaded builds, I think the following mechanism should let you download the symbols: https://developer.mozilla.org/en-US/docs/Using_the_Mozilla_symbol_server#Downloading_symbols_on_Linux_Mac_OS_X You might also be able to use the breakpad mechanism too; see https://developer.mozilla.org/en-US/docs/Mochitest#stacks
Reporter | ||
Comment 2•11 years ago
|
||
While debugging mozilla-aurora on OS X for another bug, I was finding that GDB couldn't resolve symbols on OSX 10.9, even with --enable-profiling. My .mozconfig has: ac_add_options --enable-debug-symbols ac_add_options --disable-optimize ac_add_options --enable-debug ac_add_options --with-ccache=/usr/local/bin/ccache Interestingly enough, using LLDB instead of GDB, I could resolve symbols. I wonder if this is something new in Mavericks. I'll see if I can debug this using LLDB later as well.
Comment 3•11 years ago
|
||
Is it possible it's using clang to build?
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•