On Fri, Nov 03, 2006 at 08:26:44AM -0800, Dan Nicholson wrote:
> 
> Care to share the bt? Not that I'm a programmer, but I'd like to see it.
> 
 FWIW, I posted it on clfs-support.  Try
http://article.gmane.org/gmane.linux.lfs.clfs.support/408/match=gdb
but that just shows it ending in main, perhaps because the debugging
symbols don't exist (--enable-strip was commented out, and I didn't
pass --enable-optimize).

> You could try strace to see if it's opening the right libraries/files/etc.
 I did - 585k of output (nearly 5000 lines), much of which is looking
in every conceivable place for libraries and other files, before
looking in the obvious places.  The fact I'm on multilib (so some
of the progs it runs are 64-bit) probably doesn't make it easier.
Eventually, it seems to open libjsj.so followed by a load of xpt
files, then some files in /root/.mozilla/firefox [ this is still
attempting the first run as root ], looks for the whiteglass cursor,
finds it, then seems to clean up after itself.

 Oh, tucked away near the end is a write to
/root/.mozilla/firefox/console.log - I hadn't noticed that.  When I
look at it, lines saying

*** Console log: 2006-11-02 21:16:48 ***
[JavaScript Error: "uncaught exception: unknown (can't convert to
string)"]
[JavaScript Error: "uncaught exception: unknown (can't convert to
string)"]

 NB system clock is correct, the log is +1 hour although I've been
on UTC (GMT) since before I tried building 2.0.

 So, it's fubar'd somewhere in the javascript.  Thanks for prompting
me to rerun strace.  What I'd established last night was that it
gets as far as

nsCOMPtr<nsIExtensionManager> 
em(do_GetService("@mozilla.org/extensions/manager;1"));
NS_ENSURE_TRUE(em, 1);

 - the second line is just a macro to return 1 if the first arg is
false, so I was looking to see where do_GetService is defined -
there are thousands of references, so far I haven't found the
definition (today I've been taking a break from it).  Not that I
understand the <...> syntax.

> And of course, ppc64 needs the pragma_visibility hack, but I think you
> already knew that.
 Yeah, if there's one thing I've learned this year, it's that pragma
only works on x86, and only mozilla projects seem to try to use it
:)  But that's a manageable problem - it happens when you try to
compile it, so you know it's broken.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to