Closed Bug 196318 Opened 21 years ago Closed 21 years ago

Crashed at startup

Categories

(SeaMonkey :: General, defect)

x86
OpenBSD
defect
Not set
blocker

Tracking

(Not tracked)

CLOSED DUPLICATE of bug 124958

People

(Reporter: zoc, Assigned: asa)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.2.1) Gecko/20030215
Build Identifier: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.2.1) Gecko/20030215

$ ./mozilla                                                                    
                                                                               
       
No Persistent Registry Found.
Type Manifest File: /home/zoc/mozilla/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
Memory fault (core dumped) 
$ ./mozilla 
Type Manifest File: /home/zoc/mozilla/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
+++ nsGenericModule PKI: unable to create factory for
{6bd13476-1dd2-11b2-bbef-f0ccb5fa64b6}
###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file
nsNativeComponentLoader.cpp, line 151
Break: at file nsNativeComponentLoader.cpp, line 151
+++ nsGenericModule PKI: unable to create factory for
{6bd13476-1dd2-11b2-bbef-f0ccb5fa64b6}
###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file
nsNativeComponentLoader.cpp, line 151
Break: at file nsNativeComponentLoader.cpp, line 151
Memory fault (core dumped) 

This is how it happenes first time, and every other time (the second, third
..crash).
Allways prints same error message.


Reproducible: Always

Steps to Reproduce:
1.compile it like this:
CONFIGURE_STYLE=autoconf
CONFIGURE_ARGS= \
                --with-pthreads                 \
                --with-system-jpeg=${LOCALBASE} \
                --with-system-mng=${LOCALBASE}  \
                --with-system-png=${LOCALBASE}  \
                --with-system-zlib              \
                --enable-chrome-format=jar      \
                --disable-cpp-exceptions        \
                --disable-cpp-rtti              \
                --enable-crypto                 \
                --enable-debug                  \
                --enable-default-toolkit=gtk    \
                --enable-mathml                 \
                --disable-md                    \
                --disable-optimize              \
                --disable-pedantic              \
                --disable-svg                   \
                --disable-tests                 \
                --disable-xterm-updates

CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include/libpng" \
                LDFLAGS="-pthread" \
                LIBRUNPATH="${PREFIX}/lib/mozilla-1.3"

CONFIGURE_ARGS+=        --enable-extensions=default,xmlterm
CONFIGURE_ARGS+=        --disable-strip --enable-debug
CONFIGURE_ARGS+=        --enable-shared --disable-static
CONFIGURE_ARGS+=        --disable-ldap --disable-mailnews

CFLAGS+=                "-g"

2.created tarball 
3. extracted it in my home directory and run ./mozilla both as normal user

Actual Results:  
it prints out error message above and coredumps

Expected Results:  
shoud statup

This is 1.3b release.
I wanted to test if it will work on openbsd.
Here are coredumps if you need it, i made 3 coredumps first is first after it
was compiled, second is second and third is after second. Firstone is much larger.
http://www.zajebancija.net/openbsd/mozilla/mozilla-bin.core-first
http://www.zajebancija.net/openbsd/mozilla/mozilla-bin.core-second
http://www.zajebancija.net/openbsd/mozilla/mozilla-bin.core-third
use 
./mozilla -g

when you crash, enter 'bt' to get a stack trace. attach that.
Keywords: crash
for some reason there are no debugging symbols so bt is useless..sorry
Can somone tell me if i need some other flags for compiler?
> Can somone tell me if i need some other flags for compiler?

CONFIGURE_ARGS+=        --enable-shared --disable-static

switch those two.  shared bad.  static good.

see bug 177558 and bug 124958 (this is probably a dupe of bug 124958)

*** This bug has been marked as a duplicate of 124958 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
I wasn't able to force core to show symbols..tried all posible switches and my
machine is to slow to play more with this.
Status: RESOLVED → CLOSED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.