Closed Bug 177558 Opened 22 years ago Closed 22 years ago

mozilla 1.1: default configuration with debug will trigger SIGSEGV

Categories

(SeaMonkey :: Build Config, defect)

x86
OpenBSD
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 124958

People

(Reporter: hans.adams-darmstadt, Assigned: netscape)

Details

running on:
OpenBSD gateway.emil-kammerer.de 3.1 GENERIC#59 i386

with default configuration:

./configure --prefix=/opt/mozilla-1.1
export MAKE=gmake
gmake
gmake install


crashes with SIGSEGV. Calling with argument --debug produces

/opt/mozilla/lib/mozilla-1.1/run-mozilla.sh -g
/opt/mozilla/lib/mozilla-1.1/mozilla-bin
MOZILLA_FIVE_HOME=/opt/mozilla/lib/mozilla-1.1
 
LD_LIBRARY_PATH=/opt/mozilla/lib/mozilla-1.1:/opt/mozilla/lib/mozilla-1.1/plugins:/opt/mozilla/lib/mre/mre-1.1
DISPLAY=:0.0
FONTCONFIG_PATH=/etc/fonts:/opt/mozilla/lib/mozilla-1.1/res/Xft
DYLD_LIBRARY_PATH=/opt/mozilla/lib/mozilla-1.1:/opt/mozilla/lib/mre/mre-1.1
    
LIBRARY_PATH=/opt/mozilla/lib/mozilla-1.1:/opt/mozilla/lib/mozilla-1.1/components:/opt/mozilla/lib/mre/mre-1.1
       SHLIB_PATH=/opt/mozilla/lib/mozilla-1.1:/opt/mozilla/lib/mre/mre-1.1
          LIBPATH=/opt/mozilla/lib/mozilla-1.1:/opt/mozilla/lib/mre/mre-1.1
       ADDON_PATH=/opt/mozilla/lib/mozilla-1.1
      MOZ_PROGRAM=/opt/mozilla/lib/mozilla-1.1/mozilla-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
/usr/bin/gdb /opt/mozilla/lib/mozilla-1.1/mozilla-bin -x /tmp/mozargs22761
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.1"...
(gdb) runt
(gdb) run
Starting program: /opt/mozilla/lib/mozilla-1.1/mozilla-bin 
Type Manifest File: /opt/mozilla/lib/mozilla-1.1/components/xpti.dat

Program received signal SIGSEGV, Segmentation fault.
0x40288f13 in nsTimerImpl::Shutdown () at nsTimerImpl.cpp:189
189       if (PR_LOG_TEST(gTimerLog, PR_LOG_DEBUG)) {
(gdb) The program is running.  Quit anyway (and kill it)? (y or n) 


This may be related to a well known bug in libraries of OpenBSD, as mentioned in
manula page of pthreads:
BBUUGGSS
     The library contains a scheduler that uses the process virtual interval
     timer to pre-empt running threads.  This means that using setitimer(2) to
     alter the process virtual timer will have undefined effects. The
     SIGVTALRM will never be delivered to threads in a process.

     Some pthread functions fail to work correctly when linked using the --gg
     option to cc(1) or gcc(1). The problems do not occur when linked using
     the --ggggddbb option.

OpenBSD 3.1
Blocks: 177561
OpenBSD does not like loading the shared component libraries, which is the
default configuration.  You must build using --disable-shared --enable-static. 
See bug 124958.


*** This bug has been marked as a duplicate of 124958 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified
Status: RESOLVED → VERIFIED
No longer blocks: 177561
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.