From [email protected] Thu Aug 23 18:21:41 2012
> Assertion failure: size_t(sysconf(_SC_PAGESIZE)) == PageSize, at
/usr/ports/experimental/www/firefox/work/mozilla-beta/js/src/gc/Memory.cpp:302
Hmm, ia64 and sparc64 use 8k page size by default. Try attached patch.
You don't need to do `make clean', it's possible to continue, e.g.
$ patch -p0 -d $(make -V WRKSRC) -i ~/patch-pagesize-ia64-sparc64
$ rm $(make -V BUILD_COOKIE)
Do I understand correctly that this only saves
on "make configure"?
$ make
this competed fine
# test before install
$ cd $(make -V WRKSRC)/dist/bin
$ LD_LIBRARY_PATH=. ./firefox
I did a bit of reading on xpcshell.
I understand that xpcshell is used to test
js code. So my segfault, produced by xpcshell,
means that some of js tests, run before
installation, resulted in segfault.
Is that right?
Anyway, I build as root in sh(1), so I did:
# LD_LIBRARY_PATH=". ./firefox"
# export LD_LIBRARY_PATH
# echo $LD_LIBRARY_PATH
. ./firefox
#
which is what you wanted, right?
So do I then do ./run-mozilla.sh ./xpcshell ?
This just gives:
# ./run-mozilla.sh ./xpcshell
js> quit()
nsStringStats
=> mAllocCount: 2183
=> mReallocCount: 321
=> mFreeCount: 2183
=> mShareCount: 7472
=> mAdoptCount: 49
=> mAdoptFreeCount: 49
#
Is this page relevant here:
https://developer.mozilla.org/en-US/docs/XPConnect/xpcshell
If it still crashes show backtrace for all threads, e.g.
(gdb) thread apply all bt
Or did you mean to run ./firefox from $(make -V WRKSRC)/dist/bin
I'm not sure what I should do next.
Many thanks
Anton
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"