Closed Bug 323066 Opened 20 years ago Closed 20 years ago

startup crash at nsDirectoryService::AddRef()

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 249475

People

(Reporter: Lorenzo.Delana, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920 Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920 /usr/src/mozilla# ./dist/bin/firefox -g ./dist/bin/run-mozilla.sh -g ./dist/bin/firefox-bin MOZILLA_FIVE_HOME=./dist/bin LD_LIBRARY_PATH=./dist/bin:./dist/bin/plugins:/opt/mozilla/lib/mre/mre-1.5 DISPLAY=:0.0 DYLD_LIBRARY_PATH=./dist/bin:/opt/mozilla/lib/mre/mre-1.5 LIBRARY_PATH=./dist/bin:./dist/bin/components:/opt/mozilla/lib/mre/mre-1.5:/opt/lib:/opt/lib64:/usr/X11R7/lib:/usr/lib/Mesa/lib:/opt/mysql/lib/mysql:/opt/pgsql/lib:/opt/odbc/lib:/opt/nas/lib64:/opt/firefox/dist/lib SHLIB_PATH=./dist/bin:/opt/mozilla/lib/mre/mre-1.5 LIBPATH=./dist/bin:/opt/mozilla/lib/mre/mre-1.5 ADDON_PATH=./dist/bin MOZ_PROGRAM=./dist/bin/firefox-bin MOZ_TOOLKIT= moz_debug=1 moz_debugger= which: no ddd in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/local/bin:/usr/local/sbin:/opt/bin:/opt/sbin:/opt/bin/x86_64-unknown-linux-gnu:/opt/lib32/bin:/opt/lib32/sbin:/opt/jdk1.5.0_05/bin:/opt/netbeans-4.1/bin:/opt/openssl/bin:/opt/mysql/bin:/opt/pgsql/bin:/opt/odbc/bin:/opt/nas/bin:/opt/qt/bin:/opt/firefox/dist/bin) /usr/bin/gdb ./dist/bin/firefox-bin -x /tmp/mozargs.ieCf84 GNU gdb 6.3 Copyright 2004 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 "x86_64-unknown-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) r Starting program: /usr/src/mozilla/dist/bin/firefox-bin [Thread debugging using libthread_db enabled] [New Thread 46912551903696 (LWP 20390)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912551903696 (LWP 20390)] 0x00002aaaaaf68926 in non-virtual thunk to nsDirectoryService::AddRef() () at nsAutoPtr.h:953 953 nsAutoPtr.h: No such file or directory. in nsAutoPtr.h (gdb) bac #0 0x00002aaaaaf68926 in non-virtual thunk to nsDirectoryService::AddRef() () at nsAutoPtr.h:953 #1 0x00002aaaaaf67954 in nsDirectoryService::QueryInterface (this=0x57b1a0, aIID=@0x41fa30, aInstancePtr=0x7fffffa4b8a0) at nsDirectoryService.cpp:563 #2 0x00002aaaaaf67553 in nsDirectoryService::Create (outer=0x57b1a0, aIID=@0x41fa30, aResult=0x1) at nsDirectoryService.cpp:426 #3 0x00002aaaaaf86c54 in GetLocationFromDirectoryService ( prop=0x2aaaaafc26a3 "ComsD", aDirectory=0x57d7e0) at nsComponentManager.cpp:694 #4 0x00002aaaaaf872ba in nsComponentManagerImpl::Init (this=0x57d710, aStaticModules=0x528b90, aStaticModuleCount=5756896) at nsComponentManager.cpp:820 #5 0x00002aaaaaf4205b in NS_InitXPCOM3_P (result=0x7fffffa4bca0, binDirectory=0x7fffffa4ba90, appFileLocationProvider=0x7fffffa4bcd0, staticComponents=0x528b90, componentCount=1) at nsXPComInit.cpp:540 #6 0x000000000040a37d in ScopedXPCOMStartup::Initialize (this=0x7fffffa4bca0) at nsAppRunner.cpp:592 #7 0x000000000040eae8 in XRE_main (argc=-5981056, argv=0x7fffffa4bc80, aAppData=0x7fffffa4bca0) at nsAppRunner.cpp:2140 #8 0x0000000000409e88 in main (argc=5747104, argv=0x41fa30) at nsBrowserApp.cpp:61 (gdb) ================================ lorenzo Reproducible: Always Steps to Reproduce: 1. ./configure --prefix=/opt/mozilla --e nable-application=browser --enable-default-toolkit=gtk2 --with-system-zlib --ena ble-debug 2. run Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.0.2/configure --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-clocale=gnu --enable-languages=all --disable-libstdcxx-pch Thread model: posix gcc version 4.0.2
cvs version works
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
*** This bug has been marked as a duplicate of 249475 ***
Status: VERIFIED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.