Closed
Bug 41414
Opened 26 years ago
Closed 25 years ago
Crash in [@nsProxyEventObject::GetNewOrUsedProxy()]
Categories
(Core :: XPCOM, defect, P1)
Tracking
()
RESOLVED
WONTFIX
M16
People
(Reporter: mozilla, Assigned: dougt)
References
Details
(Keywords: crash, Whiteboard: [nsbeta2-][dogfood-] glibc 2.1.3. problem?)
Crash Data
Attachments
(1 file)
|
3.55 KB,
text/plain
|
Details |
Overview Description:
Mozilla crashes sometimes on startup when trying to load the chrome.
Steps to Reproduce:
1) remove .mozilla
2) remove old nightly and download latest
3) ./mozilla
4) watch it segfault
Actual Results:
WEBSHELL+ = 1
WEBSHELL+ = 2
CSSLoaderImpl::LoadAgentSheet: Load of URL 'file:///home/david/.mozilla/default/
>chrome/user.css' failed. Error code: 16389
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://communicator/skin/button.css'
> failed. Error code: 16389
.//run-mozilla.sh: line 29: 30683 Segmentation fault $prog ${1+"$@"}
Expected Results:
starts normally
Reproducibility:
about 60% of the time
Build Date & Platform Bug Found:
2000060308 linux i686 redhat 6.2
Additional Builds and Platforms Tested On:
this has been happening on earlier builds also
Additional Information:
each time it fails on a different file (see below)
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome:
//communicator/skin/sidebar/sidebar.css' failed. Error code: 16389
.//run-mozilla.sh: line 29: 7792 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://global/skin/menulist.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 3028 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://global/skin/splitter.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 2998 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://global/skin/radio.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 1797 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://global/skin/button.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 1635 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome:
//communicator/skin/formatting.css' failed. Error code: 16389
.//run-mozilla.sh: line 29: 1443 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://communicator/skin/menu.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 1251 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://communicator/skin/button.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 680 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://communicator/skin/box.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 658 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome:
//communicator/skin/sidebar/sidebar.css' failed. Error code: 16389
.//run-mozilla.sh: line 29: 31830 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://global/skin/button.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 31095 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome:
//communicator/skin/formatting.css' failed. Error code: 16389
.//run-mozilla.sh: line 29: 31064 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://communicator/skin/menu.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 31024 Segmentation fault $prog ${1+"$@"}
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://communicator/skin/button.css'
failed. Error code: 16389
.//run-mozilla.sh: line 29: 30683 Segmentation fault $prog ${1+"$@"}
| Reporter | ||
Comment 1•26 years ago
|
||
| Reporter | ||
Comment 2•26 years ago
|
||
reassigning to XPCOM component as per the stack trace
valeski, you the right person for this?
jrgm can you reproduce internally?
Assignee: dp → valeski
QA Contact: leger → jrgm
Whiteboard: [dogfood+]
Comment 4•26 years ago
|
||
probably not. I'm guessing that Ben's resource changes over the weekend are the
root???
Assignee: valeski → ben
Comment 5•26 years ago
|
||
I can't reproduce with the same build 06/03, or with today's mozilla build
on a RH6.1 system.
Hmmm, let me a pull a tree and see if I can reporduce this ...
Priority: P3 → P1
Target Milestone: --- → M16
Actually, why don't I first attempt to spell "reproduce" correctly. :-)
OK, my build from this morning works just fine. Resolving as "WORKSFORME". Can
anybody else reproduce this?
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Target Milestone: M16 → ---
| Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
| Reporter | ||
Comment 9•26 years ago
|
||
I am still noticing this on the latest nightly. Unfortuately everyone I have
talked to seems unable to reproduce this. The wierd thing is that this bug only
occurs part of the time. It will crash several times in a row and then suddenly
load fine with no problems. My box is Redhat 6.2 with updates and nothing out
of the ordinary I don't think. I have been having this problem for around a
month now but have been using mozilla for a while with nothing like this before.
Comment 10•26 years ago
|
||
Ben, can you reproduce this? If not, resolve it as WORKSFORME until we can find
a repeatable scenario.
Target Milestone: --- → M16
Comment 11•26 years ago
|
||
worksforme. check to see that your chrome dir is completely up to date. lots of
changes have been happening recently.
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 12•26 years ago
|
||
Reopening because someone else besides me has finally reproduced it. Go SuSE!!
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
| Reporter | ||
Comment 13•26 years ago
|
||
*** Bug 41696 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 14•26 years ago
|
||
Please read the comments from bug 41696. He suggests maybe a threading problem
which would explain the randomness of this bug. Also, like he said you can
eventually get it to start if you keep trying like 20 times. Really cuts into my
ability to bugtest mozilla though. :(
Comment 15•26 years ago
|
||
Yes, this is beginning to sound like a threading issue while loading the
initial bit of chrome. So far this has only been seen on RH 6.2 and Suse
----------------------------------------------------------------------
Comments from bug #41414, by Daniel Egger:
Mozilla is sometimes crashing at startup time with random messages,
sometimes with segmentation fault and sometimes with illegal instruction.
I manage to get it working though by restarting it about 20 times.
nNCL: registering deferred (0)
Gdk-WARNING **: locale not supported by C library
WEBSHELL+ = 1
WEBSHELL+ = 2
CSSLoaderImpl::LoadAgentSheet: Load of URL 'file:
///root/.mozilla/default/chrome/user.css' failed. Error code: 16389
CSSLoaderImpl::DidLoadStyle: Load of URL 'chrome://communicator/skin/box.css'
failed. Error code: 16389
UngĂĽltiger Maschinenbefehl
The last line means illegal instruction.
Unfortunately I cannot further debug it because debugging builds run fine
and the nondebug build is even crashing gdb (version 4.17.0.13 with threads
support as well as 5.0).
The crash itself is REALLY random thus I believe it's a threading problem.
I tried different things like different compilers (currently gcc 2.95.2
otherwise the latest CVS version) different linux kernels, different
machines, different locales and different glibc versions.
This bug is there for me at least 1 month now.
My normal configure options are:
--disable-debug --disable-tests --disable-mailnews
Changing them to other values doesn't help either. Optimized builds are
even more broken and debugging builds don't crash.
I'd really like to try some patch or ideas if someone steps up with
something...
Assignee: ben → warren
Status: REOPENED → NEW
Comment 16•26 years ago
|
||
Removing '[dogfood+][nsbeta2-]' for reconsideration in the interim. We have not
reproduced it here at Mt. View, and we'll need to do that first, or get help
from Daniel or David to sort this out.
Whiteboard: [dogfood+][nsbeta2-]
Comment 17•26 years ago
|
||
Putting on [nsbeta2+][dogfood-] radar. Does not need a fix ASAP for daily work,
but we should fix this for beta2.
Whiteboard: [nsbeta2+][dogfood-]
Comment 18•26 years ago
|
||
Okay, finally I can reproduce it with 100% chance.
It's thread related: TestThreads shows this very clearly as
randomly different numbers are missing. It only occurs on non
debugging builds of libnspr.so. When I replace a normal version
by one containing debugging symbols, everything runs fine
(including TestThreads).
I'm going to investigate further whether it's an nspr problem
or a libc/libpthreads race and which systems are affected or how
this one can be circumvented.
As a temporary workaround I'd suggest building nspr ALWAYS with
debugging...
Comment 19•26 years ago
|
||
It has been happening to me as well: once it took me 23 retries before Mozilla
started...
Tristan
Updated•26 years ago
|
Summary: CSSLoaderImpl::DidLoadStyle fails to load chrome → [threadsafety] CSSLoaderImpl::DidLoadStyle fails to load chrome
| Reporter | ||
Comment 20•26 years ago
|
||
cc'ing rpotts and wtc as this appears to be a threading/nspr issue
Comment 21•26 years ago
|
||
I read the comments in this bug report. I don't
see anything obviously wrong with NSPR. Note
that TestThreads does not use NSPR directly,
but rather through nsIThread and nsIThreadPool.
Comment 22•26 years ago
|
||
Does this depend on having an SMP system to reproduce?
Maybe dougt should look at this since he's back now and it dies in the proxy
event code.
Comment 23•26 years ago
|
||
It crashes my non SMP system. Haven't tried SMP, yet...
| Reporter | ||
Comment 24•26 years ago
|
||
I second that. It crashes on my single processor system. I don't have an SMB
system to test it on.
Comment 25•26 years ago
|
||
I can't reproduce this.
Comment 26•26 years ago
|
||
M16 has been out for a while now, these bugs target milestones need to be
updated.
Comment 27•26 years ago
|
||
when i pull a build from mozilla.org it cannot start up on my rh6.2-linux2.2.16
box. if i pull from cvs & build it works. if i pull
build from mozilla.org & replace libnspr4.so with one built locally from
cvs sources it works, i think something is screwy with build process of
libnspr4.so that causes this behavior - i get what others above have described
when i use pure mozilla.org build w/o locally built libnspr4.so
Comment 28•26 years ago
|
||
Is there a RedHat 6.2 box at Netscape that I
can use?
Comment 29•26 years ago
|
||
Yes, there is one that I have set up in the cube across from mine. However, I
can run the mozilla nightly builds on it with no problem. I haven't set it up
as a development system yet, but that could be done as needed. I am in cube
27012, building 21, second floor.
However, it is being used on a part-time basis for the Palo Alto kids, but
Claudius, can we make arrangements for wtc to make use of it for a bit?
Comment 30•26 years ago
|
||
not a problem. They're typically there from 2-6 but have other machines available to them if that one is needed in a pinch.
Updated•26 years ago
|
Whiteboard: [nsbeta2+][dogfood-] → [nsbeta2+][dogfood-] no ETA - can't reproduce on my system
Comment 31•26 years ago
|
||
Honestly, I'm not going to get to this bug. Handing it off to a linux guru -->
pavlov.
Assignee: warren → pavlov
Comment 32•26 years ago
|
||
Moving from [nsbeta2+] to [nsbeta2-] per todays PDT XP Toolkit Beta2 Review mtg.
Whiteboard: [nsbeta2+][dogfood-] no ETA - can't reproduce on my system → [nsbeta2-][dogfood-] no ETA - can't reproduce on my system
Comment 33•26 years ago
|
||
It seems this bug appears only with the latest versions of glibc2
i.e. glibc 2.1.3. I can reproduce it on my own system as I can
on SuSE linux 6.3, 6.4, 7.0beta. If you want to do the same feel
free to ask for some packages and I'll send them to you.
I checked in a workaround for SuSE Linux 7.0 which basically builds
mozilla with debugging and strips it afterwards which has the slight
disadvantage of having tons of debugging output, but since I don't
have time to search the bug and no better idea how to get around this,
this will make it into the distribution.
Comment 34•26 years ago
|
||
This bug is the same as 29182. Please merge.
Comment 35•26 years ago
|
||
*** This bug has been marked as a duplicate of 29182 ***
Status: NEW → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Comment 37•25 years ago
|
||
This is a root bug. I am reopening it and look at it.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
| Assignee | ||
Comment 38•25 years ago
|
||
crap. Not this bug. I am going to reopen and look at another bug....
Status: REOPENED → RESOLVED
Closed: 26 years ago → 25 years ago
Resolution: --- → INVALID
| Assignee | ||
Comment 39•25 years ago
|
||
this is the bug that I reopened: 47046. This bug and 47046 are dups.
| Reporter | ||
Comment 40•25 years ago
|
||
reopening since dougt thinks that this bug is not a dup
| Reporter | ||
Comment 41•25 years ago
|
||
assigning to dougt and marking bug 47046 as dup
Assignee: pavlov → dougt
Status: REOPENED → NEW
| Reporter | ||
Comment 42•25 years ago
|
||
*** Bug 47046 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 43•25 years ago
|
||
fixing summary
removing old whiteboard comments
also see talkbacks in bug 47046
Summary: [threadsafety] CSSLoaderImpl::DidLoadStyle fails to load chrome → Crash in [@nsProxyEventObject::GetNewOrUsedProxy()]
Whiteboard: [nsbeta2-][dogfood-] no ETA - can't reproduce on my system → [nsbeta2-][dogfood-]
| Assignee | ||
Comment 44•25 years ago
|
||
Daniel Egger - can you confirm again that this is only a problem with glibc
2.13? Anyone else?
Whiteboard: [nsbeta2-][dogfood-] → [nsbeta2-][dogfood-] glibc 2.1.3. problem?
Comment 45•25 years ago
|
||
I can confirm that the problems went away after upgrading to the latest
stable GLIBC from CVS two weeks ago. Thus I really suspect it's related
to some weird linuxthreads bug...
| Assignee | ||
Comment 46•25 years ago
|
||
Okay. Marking WONTFIX.
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → WONTFIX
Comment 47•25 years ago
|
||
Comment 48•25 years ago
|
||
Oh..btw.. A problem with glibc 2.1.3 is not "only".
If this bug remains "wontfix", it means moz doesn't support RH6.*
All RH6 versions are for now glibc-2.1.3-* after the latest errata.
| Assignee | ||
Comment 49•25 years ago
|
||
? I am running rh6.2 and I can not reproduce this.
Comment 50•25 years ago
|
||
I tried this with both the upgraded glibc and the old glibc and it crashes
equally as badly with either.
| Assignee | ||
Comment 51•25 years ago
|
||
Chris, alot of folks are having trouble reproducing this. Did you have trouble?
reopening until we have a better understanding of what is going on.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
| Assignee | ||
Comment 52•25 years ago
|
||
*** Bug 51482 has been marked as a duplicate of this bug. ***
Comment 53•25 years ago
|
||
Upgrading to the latest errata of glibc from RedHat: glibc-2.1.3-21
(released on the 7th) fixed every oddity i've seen the past week, also this
crash here.
| Assignee | ||
Comment 54•25 years ago
|
||
sounds like i DONT have to do anything. Marking as WONTFIX.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → WONTFIX
Updated•15 years ago
|
Crash Signature: [@nsProxyEventObject::GetNewOrUsedProxy()]
You need to log in
before you can comment on or make changes to this bug.
Description
•