Closed Bug 286308 Opened 20 years ago Closed 20 years ago

not possible to build and run mozilla on ubuntu/debian

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 249475

People

(Reporter: henrik, Unassigned)

Details

I have tried to build mozilla seamonkey on my new ubuntu setup, but after
compilling the program secfaults everytime

my latest mozconfig:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/suite-debug
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_MAKE_FLAGS=-j2
ac_add_options --enable-application=suite

ac_add_options --enable-xft
ac_add_options --disable-tests
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xterm-updates
ac_add_options --disable-strip


The stack trace 
Program received signal SIGSEGV, Segmentation fault.
0x0000002a95848432 in non-virtual thunk to nsDirectoryService::AddRef() () from
./libxpcom_core.so
(gdb) bt
#0  0x0000002a95848432 in non-virtual thunk to nsDirectoryService::AddRef() ()
from ./libxpcom_core.so
#1  0x0000002a95847358 in nsDirectoryService::QueryInterface (this=0x568a40,
aIID=@0x4123d0, aInstancePtr=0x2a95a256e8)
    at
/home/henrik/Projects/Mozilla/Source/mozilla/xpcom/io/nsDirectoryService.cpp:538
#2  0x0000002a95846f1c in nsDirectoryService::Create (outer=0x0, aIID=@0x4123d0,
aResult=0x2a95a256e8) at
/home/henrik/Projects/Mozilla/Source/mozilla/xpcom/io/nsDirectoryService.cpp:417
#3  0x0000002a958143bc in NS_InitXPCOM2_P (result=0x0, binDirectory=0x0,
appFileLocationProvider=0x0) at
/home/henrik/Projects/Mozilla/Source/mozilla/xpcom/build/nsXPComInit.cpp:477
#4  0x000000000040aaf3 in main (argc=1, argv=0x7fbffff538) at
/home/henrik/Projects/Mozilla/Source/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1751


Gcc version:gcc (GCC) 3.3.5 (Debian 1:3.3.5-8ubuntu2)
System is Amd64:

people on #developer suggested it might be similar to
http://lists.debian.org/debian-amd64/2004/06/msg00410.html
but I'm using a mozilla.org source pulled from CVS same day as this bug report
is created.

I have also tried non debug builds, and without the --disable-strip
this was reported in bug 249475 before... 

*** This bug has been marked as a duplicate of 249475 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.