Status
()
People
(Reporter: Brad Jackson, Unassigned)
Tracking
({crash})
Firefox Tracking Flags
(Not tracked)
Details
(crash signature)
Attachments
(2 attachments)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3pre) Gecko/2008082721 Firefox/3.0.3pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b1pre) Gecko/20080905220507 Firefox/3.1b1pre My local Firefox 3.1 builds from Mercurial randomly and intermittently crash when loading a page. Crash is unrelated to TraceMonkey being enabled. Reproducible: Sometimes Steps to Reproduce: 1. Load a few pages at random 2. Firefox seg faults and is not caught by Breakpad 3. Actual Results: Unpredictable seg fault Expected Results: Should not crash
| (Reporter) | ||
Comment 1•10 years ago
|
||
Created attachment 337175 [details]
Stacktrace| (Reporter) | ||
Updated•10 years ago
|
||
Summary: Crash start_pass_fdctmgr, jcdctmgr.c:79 → Crash in start_pass_fdctmgr @ jcdctmgr.c:79
Version: unspecified → Trunk
Comment 2•10 years ago
|
||
What are your buildflags ? (about:buildconfig) Breakpad doesn't work if you compile yourself because the symbols must be on the breakpad server and that means that only binary builds from Mozilla.org are working with breakpad.
Component: General → ImageLib
Product: Firefox → Core
QA Contact: general → imagelib
| (Reporter) | ||
Comment 3•10 years ago
|
||
Created attachment 337213 [details]
My buildconfig
This probably makes no difference, but this is not quite what I normally used for 3.0 builds. After switching from CVS to Mercurial, I got compiler errors with jemalloc on and got linker errors with dbus on, so I temporarily disabled those options to get a working build. I am not sure if those are known problems. I haven't submitted bug reports or searched for bugs on those build errors.
If no one can reproduce this crash, I can try simpler GCC optimization flags to see if it's a GCC-related bug.| (Reporter) | ||
Comment 4•10 years ago
|
||
I've noticed that this crash either never or rarely happens if I keep only one tab open. Most of the time when I middle click a link to open a new tab in the background, it will crash. Also, when prompted to restore the tabs I had open after launching Firefox again, it always crashes unless I tell it to start a new session.
fwiw, info locals or poking the variables listed on the crashing line are appreciated 79 fdct->divisors[qtblno] = (DCTELEM *) 80 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 81 DCTSIZE2 * SIZEOF(DCTELEM)); for this blob, the things to inspect are probably: fdct fdct->divisors fdct->divisors[qtblno] cinfo cinfo->mem cinfo->mem->alloc_small *cinfo->mem->alloc_small
Keywords: crash
Summary: Crash in start_pass_fdctmgr @ jcdctmgr.c:79 → Crash in [@ start_pass_fdctmgr]
| (Reporter) | ||
Comment 6•10 years ago
|
||
If you need something better than this, you will have to give me specific gdb commands to run since I'm not an expert.
(gdb) info locals
fdct = (my_fdct_ptr) 0xbfd0e020
ci = 1
qtblno = 0
i = 3
compptr = (jpeg_component_info *) 0x2000
cinfo = (j_compress_ptr) 0xbfd0e020
(gdb) print fdct->divisors
$1 = {0xa2590e0, 0x0, 0x64, 0xbfd0dfc8}
(gdb) print fdct->divisors[qtblno]
$2 = (DCTELEM *) 0xa2590e0
(gdb) print cinfo
$3 = (j_compress_ptr) 0xbfd0e020
(gdb) print cinfo->mem
$4 = (struct jpeg_memory_mgr *) 0xa256680
(gdb) print cinfo->mem->alloc_small
$5 = (void *(*)()) 0x8a98c9c <alloc_small>
(gdb) print *cinfo->mem->alloc_small
$6 = {void *()} 0x8a98c9c <alloc_small>| (Reporter) | ||
Comment 7•10 years ago
|
||
Since I can't reproduce this bug on the nightly trunk builds, I decided to experiment with the GCC options I'm using. I narrowed it down to -ftree-vectorize that causes the crash. This is an option that is part of -O3 flags in the latest GCC versions. I normally run -O2 plus options from -O3 that don't inline functions or unroll loops. I can't tell if this is a GCC bug, or a Firefox bug that is only visible with that compile option. Not sure what to do with the resolution of this bug.
i think this is the right bug. as far as i'm concerned, gcc is the buggy app here, we'll probably do something about it though...
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 410509
| (Assignee) | ||
Updated•7 years ago
|
||
Crash Signature: [@ start_pass_fdctmgr]
You need to log in
before you can comment on or make changes to this bug.
Description
•