Closed Bug 229337 Opened 21 years ago Closed 21 years ago

firebird crashes when I click on the privacy button in preference window

Categories

(Firefox :: Settings UI, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 223964

People

(Reporter: dave.chand.mailinglist, Assigned: bugzilla)

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/106.2 (KHTML, like Gecko) Safari/100.1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20031224 Firebird/0.7+ Clicking on privacy settings button in the preference dialog box crashes firebird instantly. Reproducible: Always Steps to Reproduce: 1.Click on preferences 2.click privacy 3.firebird crashes Actual Results: firebird crashes Expected Results: firebird should have brought up the privacy dialog box/window whatever
Problem same as bug 223964, but I can't tell if they're caused by the same thing.
Below is the line in the debugger where firebird **** out: Assertion failure: ((NULL == self->privateData) && (0 == self->tpdLength)) || (( NULL != self->privateData) && (0 != self->tpdLength)), at prtpd.c:182 Program received signal SIGABRT, Aborted. 0x90042aac in kill ()
Attached file More gdb output
Bug 223964 is now fixed, David, can you still reproduce this?
bug 223964 was a .mozconfig issue, is this bug found in official nightlies or third-party/CVS builds? (I doubt its in official nightlies or there'd be real confirmation on this already)
I still have problems with this bug. But here is something that might help, when I compile mozilla and firebird I change the security/coreconf/Darwin.mk optimization to my own which are "-O3 -mcpu=7450 -mtune=7450 -fomit-frame-pointer -faltivec -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mpowerpc-gpopt" Now I know someone will say why mess with the security config file, well for one the programs do run faster. I use the same optimization when I compile mozilla and mozilla works fine, but firebird does not. Yes Yes Yes I do need those optimization because without them mozilla is slow (atleast for me) with those puppies mozilla becomes almost as fast as safari.
Attached file Crash log
This problem was reproduced by Mozilla Firebird which built by OSX 10.3.2. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040117 Firebird/0.8.0+ However, it did not reproduce in official nightly buid 20040116. build config is as follows. --enable-strip --enable-crypto --enable-optimize=-O2 --enable-prebinding --disable-tests --disable-debug --disable-dtd-debug --disable-jsd --disable-ldap --disable-logging --disable-mailnews --disable-composer --enable-plaintext-editor-only --enable-extensions=cookie,wallet,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,inspector --disable-logrefcnt --disable-profilesharing --disable-mathml --disable-accessibility --disable-installer --disable-shared --enable-static
in comment 8, don't build wallet (in the extensions list) see bug 223964
Oh,It was build by the old config file. wallet was removed and built and it worked normally.
Build runs fine with changes as per Ali.
Firebird still crashes even when compiled from Feb 06,2004 cvs.
Dave: a) please post the .mozconfig you are using, or the flags shown in about:buildconfig b) please try dropping individual optimizations and retesting, I'm guessing -O3 isn't helping, sometimes compilers do silly things and make bad assumptions in order to run fast. If you really want the perf improvements that come along with using every optimization you can, you need to be willing to track down the problems. this works for everyone else who isn't monkeying with the standard compiler flags. If you want to find out what is specifically causing the problem, great, but otherwise this is pretty much INVALID.
Firefox also crashed with the Solaris version and I attach the end of the Truss. /1: readv(3, 0xFFBF97B8, 2) = 4096 /1: write(3, " ", 1) = 1 /1: read(3, 0xFFBF9838, 32) Err#11 EAGAIN /1: poll(0xFFBF9590, 1, -1) = 1 /1: read(3, "0118 %15\0\004\0\0\0\0\0".., 32) = 32 /1: readv(3, 0xFFBF97B8, 2) = 4096 /1: poll(0x01CC05C0, 2, 0) = 0 /1: poll(0x01CC05C0, 2, 0) = 0 /1: poll(0x01CC05C0, 2, 0) = 0 /1: poll(0x01CC05C0, 2, 0) = 0 /1: poll(0x01CC05C0, 2, 0) = 0 /1: poll(0x01CC05C0, 2, 0) = 0 /1: poll(0x01CC05C0, 2, 0) = 0 /1: poll(0x01CC05C0, 2, 0) = 0 /1: brk(0x01CD54D8) = 0 /1: brk(0x01CD74D8) = 0 /3: lwp_park(0xFE21FCD8, 0) Err#62 ETIME /1: stat("/usr/dist/local/exe/firefox/components/necko_cookie.xpt", 0x01CD6558) = 0 /1: open64("/usr/dist/local/exe/firefox/components/necko_cookie.xpt", O_RDONLY) = 30 /1: read(30, " X P C O M\n T y p e L i".., 1642) = 1642 /1: brk(0x01CD74D8) = 0 /1: brk(0x01CD94D8) = 0 /1: close(30) = 0 /1: Incurred fault #5, FLTACCESS %pc = 0xFF0F8E38 /1: siginfo: SIGBUS BUS_ADRALN addr=0x7369676E /1: Received signal #10, SIGBUS [default] /1: siginfo: SIGBUS BUS_ADRALN addr=0x7369676E
Leslie, can you verify the build config used in Sun's version? Specifically looking for info on the extensions configured, if you built wallet (either explicitly or by including default) you will see a similar crash. Dave, can you post the contents of about:buildconfig or your .mozconfig?
I find that a similar thing occurs on Solaris 2.8 with the contrib build. It appears to be dying inside nsGetWeakReference() in the middle of some javascript. Stack trace available on request.
Here is the about:buildconfig text about:buildconfig Build platform target powerpc-apple-darwin7.2.0 Build tools Compiler Version Compiler flags gcc gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O3 -mcpu=7450 -mtune=7450 -fomit-frame-pointer -faltivec -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mpowerpc-gpopt -fpascal-strings -no-cpp-precomp -fno-common -I/Developer/Headers/ FlatCarbon -pipe c++ gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) -frtti -fexceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O3 -mcpu=7450 -mtune=7450 -fomit-frame-pointer -faltivec -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mpowerpc-gpopt -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -I/Developer/ Headers/FlatCarbon -pipe -I/sw/include -no-cpp-precomp Configure arguments --enable-default-toolkit=mac --disable-mailnews --disable-ldap --disable-postscript --disable- xprint --enable-crypto --disable-jsd --disable-accessibility --enable-plaintext-editor-only -- disable-composer --enable-svg --disable-tests --disable-debug --disable-logging --enable-xterm- updates --enable-cpp-rtti --enable-cpp-exceptions --disable-dtd-debug --disable-shared --enable- static --disable-pedantic --enable-strip --without-x '--enable-optimize=-O3 -mcpu=7450 -mtune=7450 -fomit-frame-pointer -faltivec -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mpowerpc-gpopt' --enable-extensions=default,-spellcheck,-access-builtin,-content-packs,-cview,- help,-inspector,-irc,-layout-debug,-python,-venkman,-tridentprofile,-sql,-sroaming
Dave, the extensions bit is your problem too. Note that you have: --enable-extensions=default,-spellcheck,-access-builtin,-content-packs,-cview,- help,-inspector,-irc,-layout-debug,-python,-venkman,-tridentprofile,-sql,-sroaming and what you should have (add inspector to get the default build options per http://www.mozilla.org/projects/firefox/build.html) --enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,webservices Resolving as a dupe of bug 223964 Bug 233724 covers the Sun issue, so that part of the discussion should move there, though I think we're probably looking at another build-config problem. *** This bug has been marked as a duplicate of 223964 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Not so fast, I just compiled firefox feb 12, 2004 from feb 11,2004 cvs ~without~ any compiler flags or any optional flags and I still get the same error. AGGGHHH let me know what else you need to resolved this.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
here is my buildconfig about:buildconfig Build platform target powerpc-apple-darwin7.2.0 Build tools Compiler Version Compiler flags gcc gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -fpascal-strings -no-cpp- precomp -fno-common -I/Developer/Headers/FlatCarbon -pipe c++ gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) -frtti -fexceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp- precomp -fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe -I/sw/include -no- cpp-precomp Configure arguments --enable-default-toolkit=mac --disable-mailnews --disable-ldap --disable-postscript --disable- xprint --enable-crypto --disable-jsd --disable-accessibility --enable-plaintext-editor-only -- disable-composer --enable-svg --disable-tests --disable-debug --disable-logging --enable-xterm- updates --enable-cpp-rtti --enable-cpp-exceptions --disable-dtd-debug --disable-shared --enable- static --disable-pedantic --enable-strip --without-x --enable-extensions=default,-spellcheck,- access-builtin,-content-packs,-cview,-help,-irc,-layout-debug,-python,-venkman,-tridentprofile,- sql,-sroaming --enable-svg-renderer-libart
Dave, you didn't change the line I told you to change in your .mozconfig file, so of course it will crash. Please see my last comment. If you have "default" or "wallet" in your --enable-extensions line, you WILL build wallet and you WILL crash on opening this part of the prefernces dialog. Not sure about OS X, you might need to re-run configure and do a make clean to rebuild properly. *** This bug has been marked as a duplicate of 223964 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: