plash
[Top][All Lists]
Advanced

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

Re: [Plash] Firefox now hangs


From: Mark Seaborn
Subject: Re: [Plash] Firefox now hangs
Date: Tue, 09 May 2006 23:08:32 +0100 (BST)

Thomas Leonard <address@hidden> wrote:

> #1: open: flags=0o0, mode=0o0, /usr/share/fonts/type1: got dir, use dummy FD
> #1: dir_fstat: ok
> 
> It hangs there. This is with firefox 1.5.0.3.

I took a backtrace using gdb: the offending code was in
libfreetype.so.6, and, looking at the source of freetype-2.1.10, more
specifically in builds/unix/ftsystem.c.  It could be more robust by
checking for directories, and it will hang on empty files.  But Plash
should really have read() return EISDIR on directory FDs, so I guess I
should wrap read() to check for this case.

In the mean time try adding "-t /usr/share/fonts/type1 /dev/zero" to
the arguments to pola-run.  (pola-run doesn't provide a way to force a
pathname to be unmapped in the file namespace, but this should work
for the purpose.)

Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]