#8024 NORM 8.2.1: Browse hangs on startup

Zarro Boogs per Child bugtracker at laptop.org
Thu Aug 21 13:05:00 EDT 2008


#8024: Browse hangs on startup
-------------------------+--------------------------------------------------
   Reporter:  tomeu      |       Owner:  dsaxena      
       Type:  defect     |      Status:  assigned     
   Priority:  normal     |   Milestone:  8.2.1        
  Component:  kernel     |     Version:  not specified
 Resolution:             |    Keywords:               
Next_action:  never set  |    Verified:  0            
  Blockedby:  8089       |    Blocking:               
-------------------------+--------------------------------------------------

Comment(by tomeu):

 Replying to [comment:8 cscott]:
 >
 > There's no way we should not have enough for any reasonable request.
 Are we positive this bug is reproducible on a real XO (not sugar-jhbuild)
 running the stock olpcrd?

 Oh, I don't think this can be reproduced in jhbuild. You can easily see
 this with your own eyes in joyride 2301. Just boot and move the pointer
 just enough to click on the browse icon, you'll see how it never finishes
 launching until you move the mouse.

 > How many bytes exactly is Browse trying to get out?

 Not really sure as using the xulrunner debuginfo in an XO is quite
 painful, but I suspect of this (fine) code from
 http://mxr.mozilla.org/seamonkey/source/xpcom/base/nsUUIDGenerator.cpp#85:

 {{{
 81     unsigned int seed;
 82
 83     PRSize bytes = 0;
 84     while (bytes < sizeof(seed)) {
 85         PRSize nbytes = PR_GetRandomNoise(((unsigned char
 *)&seed)+bytes,
 86                                           sizeof(seed)-bytes);
 87         if (nbytes == 0) {
 88             return NS_ERROR_FAILURE;
 89         }
 90         bytes += nbytes;
 91     }
 }}}

 You can find the other (few) places that call that func through this link:

 http://mxr.mozilla.org/seamonkey/ident?i=PR_GetRandomNoise

-- 
Ticket URL: <http://dev.laptop.org/ticket/8024#comment:10>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list