[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: epiphany-browser and iceweasel do not start



Am Samstag, 12. Mai 2007 09:04 schrieb Mike Hommey:
> On Fri, May 11, 2007 at 10:01:22PM +0200, Rainer Dorsch <rdorsch@web.de> 
wrote:
> > Am Donnerstag, 10. Mai 2007 22:45 schrieb Sven Arvidsson:
> > > On Thu, 2007-05-10 at 19:18 +0200, Rainer Dorsch wrote:
> > > > epiphany-browser comes up, but then it most likely crashes during
> > > > rendering of the starting page www.debian.org. I run strace with
> > > > epiphany, but did not notice a problem. For reference this output is
> > > > at
> > > >
> > > > http://www.alzental-castle.de/~rd/epiphany-browser-new.strace
> > > >
> > > > Not sure what iceweasel and epiphany-browser broke, but any hints
> > > > what to check are very welcome.
> > >
> > > From the strace log:
> > > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > >
> > > You're getting a segfault, which would indicate a bug or something
> > > seriously wrong with your setup.
> > >
> > > I would suggest getting a backtrace, there are instructions available
> > > here,
> > > http://wiki.debian.org/?HowToGetABacktrace
> >
> > Sven,
> >
> > good observation, thanks. I did what you suggested and it looks to me
> > like the problem comes out of libxul. NS_RegistryGetFactory () is calling
> > itself many times before the crash. I see more details, I tried to run
> > with libxul0d-dbg, but I failed. Has anybody an idea why that is or could
> > I do something else?
>
> I can't tell for iceweasel, but for epiphany, the root of your problem
> appears in your strace:
> stat64("/usr/lib/xulrunner/res/langGroups.properties", 0xbfd0ea80) = -1
> ENOENT (No such file or directory)
> lstat64("/usr/lib/xulrunner/res/langGroups.properties", 0xbfd0ea80) = -1
> ENOENT (No such file or directory)
> stat64("/usr/lib/xulrunner/res/fonts/fontEncoding.properties", 0xbfd0e7a0)
> = -1 ENOENT (No such file or directory)
> lstat64("/usr/lib/xulrunner/res/fonts/fontEncoding.properties", 0xbfd0e7a0)
> = -1 ENOENT (No such file or directory)
>
> These files are supposed to exist.
> The actual files are /usr/share/xulrunner/res/langGroups.properties and
> /usr/share/xulrunner/res/fonts/fontEncoding.properties, and
> /usr/lib/xulrunner/res should look like this:
> lrwxrwxrwx 1 root root 25 2007-04-09 22:18 /usr/lib/xulrunner/res ->
> ../../share/xulrunner/res
>
> There is obviously something wrong with your installation, so you should
> reinstall libxul0d and libxul-common.
>

Mike,

many thanks for that reply, I though that is the root cause of the problem 
(but it was not :-(. 

My root partition was recently almost full and I decided to move part of it to 
the old windows partition (which is still mounted under /mnt/hda1). 
Now /usr/lib is in /mnt/hda1/usr/lib and /usr/lib is a symlink 
to /mnt/hda1/usr/lib. The same for /usr/bin, the rest of /usr is still in 
the / partition. The link from /usr/lib/xulrunner/res 
(res -> ../../share/xulrunner/res) does not find its destination 
inn /usr/share any more, I assume, because it is resolved from the real 
directory /mnt/hda1/usr/lib/xulrunner which would then point 
to /mnt/hda1/usr/share..... I am surpised the the link resolution works like 
this, because the shell apparently knows the /usr/lib/xulrunner is the path 
and can distinguish between the two paths. For details goto the end of the 
mail.

I replaced the symbolic link by a absolute link, now /usr/lib/xulrunner/res 
finds its target:

topsi:/usr/lib/xulrunner# ln -s /usr/share/xulrunner/res/ .


But I still get the segfault

stat64("/usr/lib/xulrunner/res/fonts/fontEncoding.properties", 
{st_mode=S_IFREG|0644, st_size=8501, ...}) = 0
open("/usr/lib/xulrunner/res/fonts/fontEncoding.properties", O_RDONLY|
O_LARGEFILE) = 29
lseek(29, 0, SEEK_CUR)                  = 0
lseek(29, 0, SEEK_END)                  = 8501
lseek(29, 0, SEEK_SET)                  = 0
read(29, "# ***** BEGIN LICENSE BLOCK ****"..., 8192) = 8192
read(29, "ri, Bengali, Gurmukhi, Gujarati,"..., 8192) = 309
read(29, "", 8192)                      = 0
close(29)                               = 0
open("/var/lib/defoma/fontconfig.d/B/Bitstream-Vera-Sans.ttf", O_RDONLY) = 29
fcntl64(29, F_SETFD, FD_CLOEXEC)        = 0
fstat64(29, {st_mode=S_IFREG|0644, st_size=65932, ...}) = 0
mmap2(NULL, 65932, PROT_READ, MAP_PRIVATE, 29, 0) = 0xb3bb5000
close(29)                               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

The complete strace is at 
http://alzental-castle.de/~rd/epiphany-browser-2.strace


I am still wondering why the system is not able to follow the link....but I 
think I need to get gdb working now. 

Any ideas are welcome...

Thanks,
Rainer

Here are the details how the directories are mounted:

rd@topsi:/usr/share/xulrunner/res$ cd /usr
rd@topsi:/usr$ ls -l
insgesamt 44
lrwxrwxrwx   1 root root    17 2007-03-13 07:21 bin -> /mnt/hda1/usr/bin
drwxr-xr-x   2 root root  4096 2006-10-07 20:37 doc
drwxr-xr-x   2 root root  4096 2007-03-13 22:37 games
drwxr-xr-x  42 root root  8192 2007-03-14 19:32 include
lrwxrwxrwx   1 root root    17 2007-03-13 07:20 lib -> /mnt/hda1/usr/lib
drwxr-xr-x   3 root root  4096 2007-03-12 22:48 lib64
drwxrwsr-x  10 root staff 4096 2003-11-08 15:54 local
drwxr-xr-x   2 root root  8192 2007-04-10 11:21 sbin
drwxr-xr-x 211 root root  4096 2007-05-04 23:16 share
drwxrwsr-x   7 root src   4096 2007-05-12 11:15 src
drwxr-xr-x   3 root root  4096 2007-04-05 22:14 X11R6
rd@topsi:/usr$ cd lib/xulrunner/
rd@topsi:/usr/lib/xulrunner$ ls -l
insgesamt 524
lrwxrwxrwx 1 root root     28 2007-03-31 13:24 
chrome -> ../../share/xulrunner/chrome
drwxr-xr-x 2 root root   8192 2007-05-11 21:01 components
lrwxrwxrwx 1 root root     30 2007-03-31 13:24 
defaults -> ../../share/xulrunner/defaults
-rw-r--r-- 1 root root    107 2007-03-28 08:36 dependentlibs.list
drwxr-xr-x 2 root root   4096 2006-09-29 00:37 extensions
lrwxrwxrwx 1 root root     30 2007-03-31 13:24 
greprefs -> ../../share/xulrunner/greprefs
-rw-r--r-- 1 root root   4646 2007-03-28 08:40 javaxpcom.jar
-rw-r--r-- 1 root root    476 2007-03-28 08:43 libfreebl3.chk
-rw-r--r-- 1 root root 224564 2007-03-28 08:43 libfreebl3.so
lrwxrwxrwx 1 root root     23 2007-05-11 21:01 
libgtkembedmoz.so -> ../libgtkembedmoz.so.0d
-rw-r--r-- 1 root root   8048 2007-03-28 08:43 libjavaxpcomglue.so
lrwxrwxrwx 1 root root     17 2007-05-11 21:01 
libmozjs.so -> ../libmozjs.so.0d
lrwxrwxrwx 1 root root     17 2007-05-11 21:01 
libnspr4.so -> ../libnspr4.so.0d
-rw-r--r-- 1 root root 263244 2007-03-28 08:43 libnssckbi.so
lrwxrwxrwx 1 root root     16 2007-05-11 21:01 libplc4.so -> ../libplc4.so.0d
lrwxrwxrwx 1 root root     17 2007-05-11 21:01 
libplds4.so -> ../libplds4.so.0d
lrwxrwxrwx 1 root root     17 2007-05-11 21:01 
libxpcom.so -> ../libxpcom.so.0d
lrwxrwxrwx 1 root root     15 2007-05-11 21:01 libxul.so -> ../libxul.so.0d
lrwxrwxrwx 1 root root     25 2007-03-31 13:24 
res -> ../../share/xulrunner/res
rd@topsi:/usr/lib/xulrunner$ ls -l res
lrwxrwxrwx 1 root root 25 2007-03-31 13:24 res -> ../../share/xulrunner/res
rd@topsi:/usr/lib/xulrunner$ ls -l res/
ls: res/: Datei oder Verzeichnis nicht gefunden
rd@topsi:/usr/lib/xulrunner$ ls -l ../../share/xulrunner/res
ls: ../../share/xulrunner/res: Datei oder Verzeichnis nicht gefunden
rd@topsi:/usr/lib/xulrunner$ ls -l /usr/share/xulrunner/res
insgesamt 276
-rw-r--r-- 1 root root    52 2007-02-25 19:20 arrowd.gif
-rw-r--r-- 1 root root    49 2007-02-25 19:20 arrow.gif
-rw-r--r-- 1 root root   165 2007-02-25 19:21 broken-image.gif
-rw-r--r-- 1 root root 11338 2007-03-28 08:20 charsetalias.properties
-rw-r--r-- 1 root root  8507 2007-02-25 19:19 charsetData.properties
-rw-r--r-- 1 root root    93 2007-02-25 19:21 cmessage.txt
drwxr-xr-x 2 root root  4096 2007-03-31 13:25 dtd
-rw-r--r-- 1 root root 10566 2007-02-25 19:21 EditorOverride.css
drwxr-xr-x 2 root root  4096 2007-03-31 13:25 entityTables
drwxr-xr-x 2 root root  4096 2007-03-31 13:25 fonts
-rw-r--r-- 1 root root 13250 2007-03-28 08:40 forms.css
-rw-r--r-- 1 root root   858 2007-02-25 19:21 grabber.gif
-rw-r--r-- 1 root root   117 2007-02-25 19:21 hiddenWindow.html
drwxr-xr-x 2 root root  4096 2007-03-31 13:25 html
-rw-r--r-- 1 root root  9587 2007-02-25 19:20 html.css
-rw-r--r-- 1 root root  5561 2007-02-25 19:19 langGroups.properties
-rw-r--r-- 1 root root  5449 2007-02-25 19:19 language.properties
-rw-r--r-- 1 root root   157 2007-02-25 19:21 loading-image.gif
-rw-r--r-- 1 root root 13572 2007-02-25 19:20 mathml.css
-rw-r--r-- 1 root root 11757 2007-02-25 19:20 quirk.css
drwxr-xr-x 2 root root  4096 2007-03-31 13:25 samples
-rw-r--r-- 1 root root  2076 2007-02-25 19:17 sample.unixpsfonts.properties
-rw-r--r-- 1 root root  2251 2007-02-25 19:20 svg.css
-rw-r--r-- 1 root root   823 2007-02-25 19:21 
table-add-column-after-active.gif
-rw-r--r-- 1 root root   826 2007-02-25 19:21 table-add-column-after.gif
-rw-r--r-- 1 root root   826 2007-02-25 19:21 table-add-column-after-hover.gif
-rw-r--r-- 1 root root    50 2007-02-25 19:21 
table-add-column-before-active.gif
-rw-r--r-- 1 root root   825 2007-02-25 19:21 table-add-column-before.gif
-rw-r--r-- 1 root root   825 2007-02-25 19:21 
table-add-column-before-hover.gif
-rw-r--r-- 1 root root   822 2007-02-25 19:21 table-add-row-after-active.gif
-rw-r--r-- 1 root root   826 2007-02-25 19:21 table-add-row-after.gif
-rw-r--r-- 1 root root   826 2007-02-25 19:21 table-add-row-after-hover.gif
-rw-r--r-- 1 root root   821 2007-02-25 19:21 table-add-row-before-active.gif
-rw-r--r-- 1 root root   825 2007-02-25 19:21 table-add-row-before.gif
-rw-r--r-- 1 root root   825 2007-02-25 19:21 table-add-row-before-hover.gif
-rw-r--r-- 1 root root   835 2007-02-25 19:21 table-remove-column-active.gif
-rw-r--r-- 1 root root   841 2007-02-25 19:21 table-remove-column.gif
-rw-r--r-- 1 root root   841 2007-02-25 19:21 table-remove-column-hover.gif
-rw-r--r-- 1 root root   835 2007-02-25 19:21 table-remove-row-active.gif
-rw-r--r-- 1 root root   841 2007-02-25 19:21 table-remove-row.gif
-rw-r--r-- 1 root root   841 2007-02-25 19:21 table-remove-row-hover.gif
drwxr-xr-x 2 root root  4096 2007-03-31 13:25 throbber
-rw-r--r-- 1 root root  6053 2007-02-25 19:20 ua.css
-rw-r--r-- 1 root root 18967 2007-02-25 19:19 unixcharset.properties
-rw-r--r-- 1 root root    11 2007-02-25 19:22 viewer.properties
-rw-r--r-- 1 root root  3042 2007-02-25 19:20 viewsource.css
rd@topsi:/usr/lib/xulrunner$



Reply to: