Closed Bug 510445 Opened 15 years ago Closed 15 years ago

[64bits][trunk] Segmentation fault on start in js/src/jsscope.cpp:198

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 510449

People

(Reporter: fredbezies, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.3) KHTML/4.3.0 (like Gecko)
Build Identifier: 

I tried to launch an homemade build of Firefox using hg revision e6034ded61fd.

The problem is that it segfaults and give not a lot of information.

Reproducible: Always

Steps to Reproduce:
1.Get a source code upgraded to revision e6034ded61fd
2.Build it (.mozconfig in additional information)
3.Try to launch it.
Actual Results:  
./run-mozilla.sh: line 131: 24802 Segmentation fault  "$prog" ${1+"$@"}

[1]+  Exit 139                ./firefox

Expected Results:  
Firefox launched :)

.mozconfig used :

#
# See http://www.mozilla.org/build/ for build instructions.
#

export AUTOCONF=autoconf-2.13

. $topsrcdir/browser/config/mozconfig

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir-fx

# Options for 'configure' (same as command-line options).
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --disable-tests

Will build a debug build and see what infos I can give from a debug build.

Using an up-to-date archlinux 64 bits, and KDE 4.3, with gcc 4.4.1
Version: unspecified → Trunk
Try to run a debug build, here is what I got :

./firefox 
+ moz_libdir=/usr/local/lib/firefox-3.7a1pre   
+ found=0                                      
+ progname=./firefox
++ dirname ./firefox
+ curdir=.
++ basename ./firefox
+ progbase=firefox
+ run_moz=./run-mozilla.sh
+ test -x ./run-mozilla.sh
+ dist_bin=.
+ found=1
+ '[' 1 = 0 ']'
+ script_args=
+ debugging=1
+ MOZILLA_BIN=firefox-bin
+ '[' linux-gnu = beos ']'
+ pass_arg_count=0
+ '[' 0 -gt 0 ']'
+ '[' 1 = 1 ']'
+ echo ./run-mozilla.sh ./firefox-bin
./run-mozilla.sh ./firefox-bin
+ ./run-mozilla.sh ./firefox-bin
./run-mozilla.sh: line 131: 23793 Erreur de segmentation  "$prog" ${1+"$@"}
+ exitcode=139
+ exit 139

How can I get more info and give in order to get a working firefox again ?
Segfault:

0x00007f075cca4e27 in JSScope::create (cx=0x20e33e0, ops=0x7f075cf11fe0, 
    clasp=0x435b5080, obj=0x20e4000)
    at /home/swatinem/Coding/mozilla-central/js/src/jsscope.cpp:198
198	    scope->freeslot = JSSLOT_FREE(clasp);

The regression range is most likely the recent Tracemonkey merge: http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=9734564871cb

Robert: would you please CC the relevant people?
Summary: [64bits][trunk] Segmentation fault on start. → [64bits][trunk] Segmentation fault on start in js/src/jsscope.cpp:198
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Attached file gdb backtrace
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: