Closed Bug 35643 Opened 24 years ago Closed 24 years ago

[crash] on browser resize

Categories

(SeaMonkey :: UI Design, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlarsen, Assigned: danm.moz)

References

Details

(Keywords: crash, regression)

build: 2000041205
1. Start a browser window that is smaller than the size of your desktop.
2. Goto mozilla.org and New Checkins
3. ctrl-f for find.  enter something to find, hit find, hit cancel
4. select a rev # of any new checkin.
5. Resize window.

Mozilla will crash with
MOZILLA caused an invalid page fault in
module GKHTML.DLL at 016f:6023e169.
Registers:
EAX=00000000 CS=016f EIP=6023e169 EFLGS=00010246
EBX=0068e978 SS=0177 ESP=0068e6dc EBP=0068e754
ECX=00000000 DS=0177 ESI=00000000 FS=3d17
EDX=0068e760 ES=0177 EDI=00b783ec GS=0000
Bytes at CS:EIP:
8b 01 ff 50 60 56 8d 4d 1c 89 45 ec 89 75 1c e8
Stack dump:
00000000 602a36b8 0134710c 00000000 01282020 0068e714 601c9b8b 01282020 00000000
0068e744 601cb358 01282020 00000000 602a36b8 019ab040 00000000



Note: Build: 2000041205 is in general acting unstable with window resizes, but
thats was a test case that I could reproduce 100% on several computers.
Build ID 2000-040708 Linux
-
Had a "resize window" crash looking like this:
Program received signal SIGWINCH, Window size changed.
[Switching to Thread 5457]
Program received signal SIGWINCH, Window size changed.
0x40393a00 in __poll (fds=0xbf7ffd00, nfds=1, timeout=12384) at
../sysdeps/unix/sysv/linux/poll.c:45
../sysdeps/unix/sysv/linux/poll.c:45: No such file or directory.

I wasn't aware i had changed windowsize but had changed focus to console to 
check what happened as things seemed to hang. Saw in console the crash had 
occured. Happened to run gdb at the time:

(gdb) bt 
#0  0x40393a00 in __poll (fds=0xbf7ffd00, nfds=1, timeout=12384) at
../sysdeps/unix/sysv/linux/poll.c:45
#1  0x40165724 in PR_Poll ()
#2  0x4084dd65 in NSGetModule ()
#3  0x4010847f in nsThread::Main ()
#4  0x4016678e in PR_Select ()
#5  0x4017db25 in pthread_start_thread (arg=0xbf7ffe40) at manager.c:241

(Copied over from bug 35150. Crash as such was likely irrellevant for that bug, 
which was a network tcp-socket bug fixed yesterday. Just made a note since it 
happened along the way.)
This time i'm certain: build 2000041211 linux
Didn't touch the window, merely changed focus to another app and back and the
crash indicating a window resize occured. I change focus via window managers
"raise on mouseover" feature so didn't even click on the apps.
I am unable to reproduce this crash with build 041205 under NT

*** This bug has been marked as a duplicate of 35150 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
oops, wrong.  not a dupe
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
2000-041309 M16 linux: suspicously well behaved again. Can resize all i want -

changing focus doesn't affect it.





Still crashing (sometimes, not as often), But only crashes on 800X600 display 
(in windows)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Aha!!  Can reproduce this sucker on Linux 2000041508.

Steps to reproduce: (follow exactly!)
1) After mozilla starts, click on Mozilla.org link in the personal toolbar.
2) Open a link (I used the "Mozilla is hiring..." one) in a new window (using
right-click)
3) Close the new window with Ctrl-W.
4) Resize original window (only one remaining at this point)  *crash*
Whoops...missed a step.

Step 3.5 should be "Reload mozilla.org".
Here's another way to crash on resize after reload:
(PC/Linux, 2000-04-15-05-M15 & 2000-04-14-09-M16)

1) start mozilla
2) right-click in the page on plain page content, to bring up the context menu
3) left-click somewhere outside the contect menu to make it disappear
4) click reload
5) resize the browser window --> crash with segv

This method is an extension of the steps of bug 30243.

See also bug 35881. This bug partly seems to be a duplicate of it.
*** Bug 35881 has been marked as a duplicate of this bug. ***
accepting bug, adding cc list from bug 35881, moving to XPApps, marking critical 
and adding crash keyword.
Severity: normal → critical
Status: NEW → ASSIGNED
Component: Browser-General → XPApps
Keywords: crash
spam - forgot to reassign. 
Assignee: asadotzler → don
Status: ASSIGNED → NEW
QA Contact: jelwell → paulmac
100% reproducable on PC/Linux with build 2000040708
(which is the first one I have where context menus are working again).
Does not occur on the 3/29 build.
(which is the last one I have where context menus were still working).

General pattern seems to be: use context menu, reload, resize, crash.
changing os to ALL as per afranke's comment.
OS: Windows 95 → All
trudelle@netscape.com had assigned bug 35881 to danm as p2 for M17,
and its severity was blocker when it was marked duplicate.
What about this bug?
assigning to danm for m17 as per trudelle's comment to bug 35881.
Assignee: don → danm
Target Milestone: --- → M17
bumping to p1
Priority: P3 → P1
m16
Target Milestone: M17 → M16
*** Bug 35863 has been marked as a duplicate of this bug. ***
QA Contact: paulmac → sairuh
spamming perhaps.. odd stuff but again i had a "resize" crash when i definately
didn't resize mozilla window. What I DID resize was the terminal window where i
had started moz. But of course, this also implies changing focus, from one
window to another. Moz seems to "resize" all on it's own then? Had not used
context-menus.
Build ID 2000-041808-M16 Linux.
yep, i see this w/linux opt comm bits, 2000.04.19.09-m16, and got a talkback
report:

http://cyclone/reports/incidenttemplate.CFM?reportID=124&style=0&tc=97&cp=1&ck1=SUser+email+address&cd1=%25sairuh%40netscape%2Ecom%25&co1=like&bbid=9007636


 Call Stack:    (Signature = libraptorhtml.so + 0x330331 (0x40c94331) 1bd128aa) 
     
  libraptorhtml.so + 0x330331 (0x40c94331) 
                                               
     
  libraptorhtml.so + 0x330b0d (0x40c94b0d) 
                                               
     
  libraptorhtml.so + 0x339146 (0x40c9d146) 
                                               
     
  libraptorhtml.so + 0x338f42 (0x40c9cf42) 
                                               
     
  libraptorhtml.so + 0x312598 (0x40c76598) 
                                               
     
  libraptorhtml.so + 0x3113df (0x40c753df) 
                                               
     
  libraptorhtml.so + 0x31b4ea (0x40c7f4ea) 
                                               
     
  libraptorhtml.so + 0x314706 (0x40c78706) 
                                               
     
  libraptorhtml.so + 0x3113df (0x40c753df) 
                                               
     
  libraptorhtml.so + 0x31b4ea (0x40c7f4ea) 
                                               
     
  libraptorhtml.so + 0x31b011 (0x40c7f011) 
                                               
     
  libraptorhtml.so + 0x30cfd0 (0x40c70fd0) 
                                               
     
  libraptorhtml.so + 0x1a0437 (0x40b04437) 
                                               
     
  libraptorhtml.so + 0x1d1964 (0x40b35964) 
                                               
     
  libraptorhtml.so + 0x1c167b (0x40b2567b) 
                                               
     
  libraptorhtml.so + 0x1c3d91 (0x40b27d91) 
                                               
     
  libraptorview.so + 0x150bd (0x40e960bd) 
                                               
     
  libraptorview.so + 0x169f9 (0x40e979f9) 
                                               
     
  libraptorview.so + 0x790d (0x40e8890d) 
                                               
     
  libwidget_gtk.so + 0x3093a (0x4047f93a) 
                                               
     
  libwidget_gtk.so + 0x3085d (0x4047f85d) 
                                               
     
  libwidget_gtk.so + 0x2f931 (0x4047e931) 
                                               
     
  libwidget_gtk.so + 0x36f9a (0x40485f9a) 
                                               
     
  libraptorview.so + 0x94e8 (0x40e8a4e8) 
                                               
     
  libraptorview.so + 0x1509e (0x40e9609e) 
                                               
     
  libraptorview.so + 0x169f9 (0x40e979f9) 
                                               
     
  libraptorview.so + 0x790d (0x40e8890d) 
                                               
     
  libwidget_gtk.so + 0x3093a (0x4047f93a) 
                                               
     
  libwidget_gtk.so + 0x3085d (0x4047f85d) 
                                               
     
  libwidget_gtk.so + 0x2f931 (0x4047e931) 
                                               
     
  libwidget_gtk.so + 0x36f9a (0x40485f9a) 
                                               
     
  libwidget_gtk.so + 0x37017 (0x40486017) 
                                               
     
  libraptorhtml.so + 0x3513ae (0x40cb53ae) 
                                               
     
  libdocshell.so + 0xd81e (0x401a581e) 
                                               
     
  libraptorwebwidget.so + 0xebd2 (0x40191bd2) 
                                               
     
  libnsappshell.so + 0x15c90 (0x40417c90) 
                                               
     
  libwidget_gtk.so + 0x3093a (0x4047f93a) 
                                               
     
  libwidget_gtk.so + 0x3085d (0x4047f85d) 
                                               
     
  libwidget_gtk.so + 0x2f931 (0x4047e931) 
                                               
     
  libwidget_gtk.so + 0x295e9 (0x404785e9) 
                                               
     
  libgtk-1.2.so.0 + 0x8d975 (0x4052f975) 
                                               
     
  libgtk-1.2.so.0 + 0xbafdd (0x4055cfdd) 
                                               
     
  libgtk-1.2.so.0 + 0xba55e (0x4055c55e) 
                                               
     
  libgtk-1.2.so.0 + 0xb8575 (0x4055a575) 
                                               
     
  libgtk-1.2.so.0 + 0xec8d8 (0x4058e8d8) 
                                               
     
  libgtk-1.2.so.0 + 0xf5b77 (0x40597b77) 
                                               
     
  libgtk-1.2.so.0 + 0xf55f6 (0x405975f6) 
                                               
     
  libgtk-1.2.so.0 + 0x8db4d (0x4052fb4d) 
                                               
     
  libgtk-1.2.so.0 + 0xba45b (0x4055c45b) 
                                               
     
  libgtk-1.2.so.0 + 0xb8575 (0x4055a575) 
                                               
     
  libgtk-1.2.so.0 + 0x4d458 (0x404ef458) 
                                               
     
  libgtk-1.2.so.0 + 0x4d14f (0x404ef14f) 
                                               
     
  libglib-1.2.so.0 + 0x10ba9 (0x40607ba9) 
                                               
     
  libglib-1.2.so.0 + 0xfbe6 (0x40606be6) 
                                               
     
  libglib-1.2.so.0 + 0x101a1 (0x406071a1) 
                                               
     
  libglib-1.2.so.0 + 0x10341 (0x40607341) 
                                               
     
  libgtk-1.2.so.0 + 0x8c209 (0x4052e209) 
                                               
     
  libwidget_gtk.so + 0x234ca (0x404724ca) 
                                               
     
  libnsappshell.so + 0x1423a (0x4041623a) 
                                               
     
  mozilla-bin + 0x320c (0x0804b20c) 
                                               
     
  mozilla-bin + 0x3523 (0x0804b523) 
                                               
     
  libc.so.6 + 0x181eb (0x402f21eb) 
                                               

Keywords: regression
Hardware: PC → All
removing myself from cc list.
QA Contact: sairuh → jrgm
.
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
verifying, fixed on winNT build 2000042508.
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.