LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems with firefox 1.0 (https://www.linuxquestions.org/questions/linux-software-2/problems-with-firefox-1-0-a-252856/)

eantoranz 11-09-2004 12:00 PM

problems with firefox 1.0
 
I just downloaded firefox (I work on a Mandrake 10)

If I run it as root, it works fine, however, when I run it with any user, It has a segmentation fault:
Code:

/usr/local/firefox/run-mozilla.sh: line 451:  7655 Segmentation fault      "$prog" ${1+"$@"}
with gdb it says:
Code:

*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
.
.
.
.
.
*** loading the extensions datasource
*** loading the extensions datasource
GConf Error: Failed to create pipe for communicating with spawned gconf daemon: Too many open files

*** loading the extensions datasource
Fontconfig error: Cannot load default config file
/usr/local/firefox/run-mozilla.sh: line 451:  7655 Segmentation fault      "$prog" ${1+"$@"}

Program exited with code 0213.

What's going on?

Santas 11-09-2004 01:55 PM

Have you got a profile created yet or you haven't got it? If you have one try to delete it. because may be there is an incompatibility between versions

eantoranz 11-09-2004 01:58 PM

Well... I don't think I have a firefox profile... yet.

However, I'm a mozilla user. Could that be the problem?

Santas 11-09-2004 02:04 PM

No, because they store the profiles in dif7655 Segmentation fault ferents paths mozilla in $HOME/.mozilla and firefox in $HOME/.firefox.
Sorry but i can't help you further.

eantoranz 11-09-2004 02:16 PM

I don't know if this is helpful to u, but there's no .firefox directory (that's the first thing I checked). I have a .mozilla/firefox directory.

Santas 11-09-2004 02:29 PM

Yes i have just installed firefox and i see that you can create the profile path where you want, and the default path is the this.
Where have you installed firefox? mine is in /usr/local/firefox and i haven't got any problem

eantoranz 11-09-2004 02:37 PM

It's just like we were cloned. I installed it exactly in the same place.

I'm gonna do something good. Let me transcript the firefox --debug output:

Code:

[antoranz@pinguino antoranz]$ /usr/local/firefox/firefox --debug
/usr/local/firefox/run-mozilla.sh -g /usr/local/firefox/firefox-bin
MOZILLA_FIVE_HOME=/usr/local/firefox
  LD_LIBRARY_PATH=/usr/local/firefox:/usr/local/firefox/plugins:/usr/local/lib/mre/mre-1.0
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/usr/local/firefox:/usr/local/lib/mre/mre-1.0
    LIBRARY_PATH=/usr/local/firefox:/usr/local/firefox/components:/usr/local/lib/mre/mre-1.0
      SHLIB_PATH=/usr/local/firefox:/usr/local/lib/mre/mre-1.0
          LIBPATH=/usr/local/firefox:/usr/local/lib/mre/mre-1.0
      ADDON_PATH=/usr/local/firefox
      MOZ_PROGRAM=/usr/local/firefox/firefox-bin
      MOZ_TOOLKIT=
        moz_debug=1
    moz_debugger=
which: no ddd in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/local/java/bin:/usr/local/apache-ant-1.6.2/bin:/home/antoranz/bin)
/usr/bin/gdb /usr/local/firefox/firefox-bin -x /tmp/mozargs9446
GNU gdb 6.0-2mdk (Mandrake Linux)
Copyright 2003 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 "i586-mandrake-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb)

That's it.

I can't help but notice that which says "no ddd in blah blah"

I went to check with root, but it was the same. root didn't have it anywhere in its path.

I just looked for it with locate and the only thing that resambles it is a ddd.xpm in icewm.

So.... It seems I'm missing one executable. What do I have to install?

eantoranz 11-09-2004 02:40 PM

I found out it's one debugging tool. I guess that's not the problem.

I'll try using gdb by itself. I'll write back in a minute

eantoranz 11-09-2004 02:44 PM

Code:

[antoranz@pinguino firefox]$ gdb
GNU gdb 6.0-2mdk (Mandrake Linux)
Copyright 2003 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 "i586-mandrake-linux-gnu".
(gdb) exec-file bash
(gdb) run /usr/local/fi
firefox            firefox-installer
(gdb) run /usr/local/firefox/fi
firefox      firefox-bin
(gdb) run /usr/local/firefox/firefox
Starting program: /bin/bash /usr/local/firefox/firefox
(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...
Detaching after fork from child process 9589.
Detaching after fork from child process 9590.
Detaching after fork from child process 9591.
Detaching after fork from child process 9598.
Detaching after fork from child process 9599.
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource
.
.
.
. (too many times the same line)
.
.
.
.
.
*** loading the extensions datasource
*** loading the extensions datasource
*** loading the extensions datasource

** (firefox-bin:9604): CRITICAL **: file linc-protocols.c: line 934 (link_protocol_destroy_cnx): assertion `proto != NULL' failed

(firefox-bin:9604): Gtk-WARNING **: /usr/lib/gtk-2.0/2.2.0/engines/libgalaxy.so: cannot open shared object file: Too many open files

(firefox-bin:9604): GdkPixbuf-WARNING **: Can not open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': Too many open files
GConf Error: Failed to create pipe for communicating with spawned gconf daemon: Too many open files


(Gecko:9604): libgnomevfs-WARNING **: Cannot create pipe for GnomeVFSProcess initialization: Too many open files
GConf Error: Failed to create pipe for communicating with spawned gconf daemon: Too many open files

*** loading the extensions datasource
Fontconfig error: Cannot load default config file
/usr/local/firefox/run-mozilla.sh: line 451:  9604 Segmentation fault      "$prog" ${1+"$@"}

Program exited with code 0213.
(gdb)


Santas 11-15-2004 02:18 PM

Have you got xft or libxft (i don't know exactly how it's called) installed?

darkRoom 11-20-2004 08:37 AM

Hi
I just had the same problem with firefox. Works fine as root but as normal user it produces the
'*** loading the extensions datasource' which you mentioned. I don't know if this helps but i just gave the normal user write access to the below directory. No more problems :)

/opt/firefox/extensions

eantoranz 11-20-2004 08:40 AM

mmmmmmmmmmmm......... I'll give it a shot and tell you about the outcome on monday man. Thanks!

jonr 11-20-2004 09:41 AM

For the record, anytime I install a new version of Firefox on my Mdk 10.1 system, I choose the path /home/jon/firefox
when the installer gives the option of choosing where to place the program files.

The installation goes along and concludes successfully. But always the user files are placed in:

/home/jon/.mozilla/firefox

i. e. a subdirectory of my own .mozilla directory.

I have wondered repeatedly why Firefox cannot use its OWN "hidden" directory, as Thunderbird does:

/home/jon/.thunderbird contains the Thunderbird user files. Thunderbird leaves the .mozilla directory alone.

paulymath 12-03-2004 06:40 PM

This fix worked for me...
 
(blatanly ripped off from user darkRoom earlier this thread)

I installed in /usr/local/firefox, so just gave the user write permission to the directory /usr/local/firefox/extensions , and after a few short complaints, firefox would run for a non-root user. Now it doesn't complain anymore, it just runs. In summary (for you newbies :) :

1. change to root
2. type this: "chmod 777 /usr/local/firefox/extensions" if your install directory was "/usr/local/firefox". adjust as needed.

Hopefully that saves someone some trouble... and hopefully the firefox team clears this one up, because the default (install where the installer resides) is a bad idea. Installers are supposed to pick a good location to put the payload program.



-Paul

sachins 02-17-2005 10:58 AM

run once as root
 
I think if you run once as root then firefox will create all the necessary directories itself. Or else everytime it will go on searching for non existent directories.


All times are GMT -5. The time now is 02:37 AM.