bug:forever while loop causes browser+fb hang, can't break unless tell browser stop script

75 views
Skip to first unread message

Jim Michaels

unread,
Jan 29, 2013, 11:50:38 PM1/29/13
to fir...@googlegroups.com
bug:forever while loop causes browser+fb hang, can't break unless tell browser stop script
------------------------------------------------------------------------------------------

new profile using firefox -p makes no difference.
fb 1.11.1
Pentium 4 HT 2.8GHz (1 core 2 thread)
firefox 18.0.1
XP Pro SP3 32-bit
3GB RAM, 38GB VM
2x2TB hard disks

disk free space (* next to drive is current/windows drive)
Tue 01/29/2013 19:23:50.81||E:\|>\u\df * -a
       C:---------------------------------******* 178.79GB/ 896.18GB( 19.95%)
       D:-----------------***********************   1.18TB/   2.00TB( 59.07%)
      *E:-----------------------------------***** 145.93GB/   1.00TB( 14.52%)
       F:-----------------------*****************   3.38GB/   7.75GB( 43.67%)
       G:------------------------****************   3.14GB/   7.51GB( 41.90%)
       H:------------------------****************   3.20GB/   7.56GB( 42.33%)
       I:-----------------------*****************   3.44GB/   7.80GB( 44.07%)
       J:-----------------------*****************   3.33GB/   7.69GB( 43.28%)
       K:-----------------------*****************   3.44GB/   7.81GB( 44.10%)
       L:-----------------------*****************   3.28GB/   7.66GB( 42.89%)
       M:--------------------------**************   2.91GB/   8.01GB( 36.41%)
     TOT:-------------------------***************   1.53TB/   3.96TB( 38.67%)
TOT USED:----------------************************   2.43TB/   3.96TB( 61.33%)
the small partitions are for swap/VM. 32-bit system has limit of 4GiB swap chunks, but you can have lots of them.

something critical to reproducing this problem MIGHT be:
- the slowness of my machine. Pentium 4 HT 2.8GHz (1 core 2 thread). it's equivalent to today's cheapest $300 laptop. really bad. I am used to it, but sometimes it seems really slow.
- my platform or OS. I have XP Pro SP3 32-bit

I would ask that you please try doing your testing on a really slow box like an old P4 xp machine. you might be able to repro the results. I have had similar troubles with fb before on this platform. this is all I have right now for a platform. I can also try on a windows 8 p4 box.

test case:

1.write a program with a forever while loop like while(true){if(true){continue;}} and use the browser to stop the code, then try to insert a breakpoint into the code. there should be some level of success. my code is much bigger and not as brainless, but has a similar problem.
2.turn on debugger
3.enable all panels
4.reload
5.hope you can break. only way to break is to tell browser to stop the script.

expected:
maybe some way to break the program with the debugger with fb button. if not, still can do this with the browser.
in fact,there's no break/halt or stop(reset) buttons! (nearly every debugger has at least one)

actual:
no stop(reset), break/halt button. at least 2 would be useful, such as break and stop(reset).
break would halt the current program in its tracks but keep the program counter, while reset would reset everything to starting conditions. those two would be very valuable.

Sebastian Zartner

unread,
Feb 5, 2013, 6:25:03 PM2/5/13
to fir...@googlegroups.com
This bug is covered by issue 4938 and should be fixed together with issue 5421.

no stop(reset)
I guess you mean a button to terminate the script execution as described in issue 3343.

there's no break/halt
Sounds to me like Break On Next.
 
Sebastian

Sebastian Zartner

unread,
Feb 11, 2013, 5:36:37 AM2/11/13
to fir...@googlegroups.com
This got reported in issue 6262 even when I mentioned before that this is already covered by another issue.

Sebastian
Reply all
Reply to author
Forward
0 new messages