Re: [SLUG] firefox is seriously dragging

From: Eben King (eben01@verizon.net)
Date: Sat Jul 18 2009 - 14:40:57 EDT


On Sat, 18 Jul 2009, Paul Bransford wrote:

> Eben King wrote:
>>
>> At any rate, I copied sessionstore.js to ~ and told FF to start a new
>> session. It's in that JSNO(?) format as was said here. I found a Python
>> script for parsing it, but it gets an error. Maybe someone speaks
>> Python (I
>> don't) and can fix it:
>>
>> ,--
>> | eben@pc:~$ ./parse_sessionstore.py
>> | File "./parse_sessionstore.py", line 14
>> | return ch == 't'
>> | ^
>> | IndentationError: expected an indented block
>> '--
>>
>> What I believe to be line 14's subroutine is:
>>
>> 11 class JSBooleanTrue(object):
>> 12 @staticmethod
>> 13 def isValidStart(ch):
>> 14 return ch == 't'
>>
>> The whole thing is at
>>
>> http://tsukasa.net.au/~hg/greg_stuff/file/tip/parse_sessionsstore.py
>>
>> Right now I'm doing
>>
>> tr -d ' ' < sessionstore.bak | tr -d '^J' | tr , '\n' | grep
>> '{entries:\[{url:' | less -S
>>
>> to extract the URLs I need, but it sucks by and large.
>
> Location is hex? Exactly what did you see, and where?

eben@pc:~$ ldd /usr/bin/gnome-terminal | head
         linux-vdso.so.1 => (0x00007fff4e9fe000)
         liblaunchpad-integration.so.1 => /usr/lib/liblaunchpad-integration.so.1 (0x00007f7c46578000)
         libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f7c46307000)
         libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x00007f7c460ed000)
         libgnomeui-2.so.0 => /usr/lib/libgnomeui-2.so.0 (0x00007f7c45e52000)
         libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x00007f7c45c17000)
         libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0x00007f7c459ff000)

The first one. It's hex-only, the others have a filename.

> That sounds like a load offset - where in the programs memory that
> module is loaded. Was it something like this?
>
> 0x01234+linux-vdso.so.1 or linux-vdso.so.1+0x01234 ?
>
> If so, that's merely telling you where the instruction pointer was when
> there was an error. You'll get a hex location like that when you don't
> have all the debug symbols - normally it would tell you the function
> that died. The library could be dead, yes, but more likely something
> that the library is trying to do is setting off something bad.

I think it was something in one of the tabs that was messing up FF.

-- 
-eben    QebWenE01R@vTerYizUonI.nOetP    royalty.mine.nu:81
Answer: two spoonfuls in my cup, please.
Question: how much should I use?      (why top-posting is bad)
     http://www.fscked.co.uk/writing/top-posting-cuss.html
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:37:38 EDT