Hey guys,

i'm pretty new to building firefox and came across some problems I wasn't able 
to solve on my own.

For my master thesis, I modified the code of firefox to log some function 
calls, that are interesting for my work. I than build firefox as it is 
explained in the online documentation (./mach build) and that went smoothly. 
I'm also able to start this self-built firefox and browse the internet. The 
logging does also work.

In order to be able to automate the aggregation of getting the logfiles of 
different websites, I used an framework called OpenWPM (can be found under 
https://github.com/citp/OpenWPM). This framework does use Python and Selenium 
to browse websites autoamtically. I modified this framework to use ne newly 
built firefox version. Therefore, I pointed selenium to use the firefox binary 
located in 
'/obj-x86_64-apple-darwin14.0.0/dist/NightlyDebug.app/Contents/MacOS/firefox'. 

When I start the OpenWPM framework, the self-built firefox does start, but than 
crashes and I get an error window showing the following details.

Process:               firefox [53618]
Path:                  
/Users/USER/Documents/*/NightlyDebug.app/Contents/MacOS/firefox
Identifier:            org.mozilla.nightlydebug
Version:               36.0a1 (3614.12.3)
Code Type:             X86-64 (Native)
Parent Process:        Python [53615]
Responsible:           iTerm [53499]
User ID:               501

Date/Time:             2014-12-03 22:25:39.084 +0100
OS Version:            Mac OS X 10.10.1 (14B25)
Report Version:        11
Anonymous UUID:        E75CA225-E6E7-7AE8-4372-D536D6BBFA3A

Sleep/Wake UUID:       69BCE7D6-FFA5-4FE8-9215-0885B74F75B9

Time Awake Since Boot: 16000 seconds
Time Since Wake:       7500 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

Since this error also appears when building the standard firefox without the 
modifications in the source code, I assume that there is something wrong with 
the build.

Using the default firefox_binary in selenium, everything works fine.

At the moment, I'm using OSX Yosemite with XCode 6.1. I also tried to build 
firefox within Ubuntu, but that didn't work either.

To be honest, I'm not absolutely sure if this is a problem with firefox or if 
it is ja problem of the OpenWPM framework. 

Maybe someone can help me here? I appreciate any help. Thanks in advance!

_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to