* Mozilla & whats new/whats kool && X @ 1998-05-17 21:43 Uncle George 1998-05-17 22:10 ` Christopher Curtis 0 siblings, 1 reply; 7+ messages in thread From: Uncle George @ 1998-05-17 21:43 UTC (permalink / raw) To: lesstif; +Cc: axp-list@redhat.com the second time around with the new&kool menu, the X server freezes up in what appears to be in mouse/keyboard input. I cannot acticate/select any windows, and my keyboard cannot select either. Neither does the alt-f4/f5 get me temporarily out of the system to a console screen. the TOP pgm still appears to update its window. If i telnet in, I can kill netscape, and get response back from X. Is there any way to figure out whats happening in X that is preventing it from reading any more input ? ie what is the last X command from lesstif/Xt to X before all input stops Or what X is doing via some log? gat. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mozilla & whats new/whats kool && X 1998-05-17 21:43 Mozilla & whats new/whats kool && X Uncle George @ 1998-05-17 22:10 ` Christopher Curtis 1998-05-17 22:38 ` Uncle George 1998-05-17 23:43 ` Michal Jaegermann 0 siblings, 2 replies; 7+ messages in thread From: Christopher Curtis @ 1998-05-17 22:10 UTC (permalink / raw) To: axp-list@redhat.com; +Cc: lesstif On Sun, 17 May 1998, Uncle George wrote: > the second time around with the new&kool menu, the X server freezes up > in what appears to be in mouse/keyboard input. I cannot acticate/select [...] > Is there any way to figure out whats happening in X that is preventing > it from reading any more input ? ie what is the last X command from > lesstif/Xt to X before all input stops Or what X is doing via some log? Best I can suggest is that you run netscape from an xterm via: strace netscape and use as normal. This may be too low-level, but _will_ tell you. -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mozilla & whats new/whats kool && X 1998-05-17 22:10 ` Christopher Curtis @ 1998-05-17 22:38 ` Uncle George 1998-05-17 22:49 ` Christopher Curtis 1998-05-17 23:43 ` Michal Jaegermann 1 sibling, 1 reply; 7+ messages in thread From: Uncle George @ 1998-05-17 22:38 UTC (permalink / raw) To: axp-list strace may be usefull, as I tried "attaching" on an alternate console with gdb . the mozilla pgm is simply in its "idle thread" loop. Unlike Java where I can get a thread dump, I dont know how to do it in netscape. One other thing, the strace does not hang - so go figure ;-( Christopher Curtis wrote: > On Sun, 17 May 1998, Uncle George wrote: > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mozilla & whats new/whats kool && X 1998-05-17 22:38 ` Uncle George @ 1998-05-17 22:49 ` Christopher Curtis 0 siblings, 0 replies; 7+ messages in thread From: Christopher Curtis @ 1998-05-17 22:49 UTC (permalink / raw) To: axp-list On Sun, 17 May 1998, Uncle George wrote: > strace may be usefull, as I tried "attaching" on an alternate console with > gdb . the mozilla pgm is simply in its "idle thread" loop. Unlike Java where > I can get a thread dump, I dont know how to do it in netscape. Did you say that you could or could not log in from another machine? If 'yes' (actually, it shouldn't matter), log into X, then log in from another machine. From the test machine, do an "xhost +localhost", and from the remote machine, do a "export DISPLAY=localhost:0". Still on the remote machine, "gdb netscape" and "run". Use Netscape as normal from the test machine. When it hangs, go back to the remote machine and interrupt it (^C a couple times). If you end up an in idle thread "info threads" will get you a little further, but specifically where I don't know. debugging symbols are essential, methinks. > One other thing, the strace does not hang - so go figure ;-( Odd. This might help - gdb doesn't (I don't think) intercept every message. However, if strace prevents the hang, it would seem like some sort of timing issue (there is a severe performace hit for strace'd binaries) - something I wouldn't want to get near to save my life. ;-) I had a lot of similar problems on an NT system because I can't get it to lock a mutex when it's supposed to, and it often blocks on mutexes that aren't locked (and no, it's not that I have the logic or a parameter revesed -- trust me, I looked -- it's not consistent behavior). Scary thing now, it works with debugging symbols, but not without. I *hate* NT. -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mozilla & whats new/whats kool && X 1998-05-17 22:10 ` Christopher Curtis 1998-05-17 22:38 ` Uncle George @ 1998-05-17 23:43 ` Michal Jaegermann 1998-05-18 0:24 ` Uncle George 1 sibling, 1 reply; 7+ messages in thread From: Michal Jaegermann @ 1998-05-17 23:43 UTC (permalink / raw) To: axp-list Christopher Curtis wrote: > > On Sun, 17 May 1998, Uncle George wrote: > > > the second time around with the new&kool menu, the X server freezes up > > in what appears to be in mouse/keyboard input. > > Best I can suggest is that you run netscape from an xterm via: > strace netscape > > and use as normal. Ughhh! This will generate TONS of on irrelevant ouput which will be very difficult to weed out. 'strace' also can be attached to a running process, so it it better to start Netscape, attach 'strace' once everything is already running, with -o option to save output in a file obviously enough, and only then perform the action in question. Hard to tell what you will get but maybe something. As you can still log on from another terminal then maybe you should try to send QUIT signal to 'scrape and generate a core? Set 'ulimit -c' before that high enough, like to 'unlimited'. --mj ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mozilla & whats new/whats kool && X 1998-05-17 23:43 ` Michal Jaegermann @ 1998-05-18 0:24 ` Uncle George 1998-05-18 7:16 ` Harvey J. Stein 0 siblings, 1 reply; 7+ messages in thread From: Uncle George @ 1998-05-18 0:24 UTC (permalink / raw) To: lesstif; +Cc: axp-list@redhat.com, Michal Jaegermann, Christopher Curtis can someone at lesstif tell me: if i put a breakpoint at MenuShellPopdownDown() and the breakpint gets hit, my X stops taking mouse input. Is the X server waiting for something to complete? My first attempt at this froze the gdb session ( focus on mozilla ), and i coildn't continue. does this happen on any of ur X servers? I tried to close the mozilla composer window using the "file" menu gat ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mozilla & whats new/whats kool && X 1998-05-18 0:24 ` Uncle George @ 1998-05-18 7:16 ` Harvey J. Stein 0 siblings, 0 replies; 7+ messages in thread From: Harvey J. Stein @ 1998-05-18 7:16 UTC (permalink / raw) To: axp-list; +Cc: lesstif, Michal Jaegermann, Christopher Curtis, hjstein Uncle George <gatgul@voicenet.com> writes: > can someone at lesstif tell me: > > if i put a breakpoint at > MenuShellPopdownDown() > > and the breakpint gets hit, my X stops taking mouse input. Is the X server > waiting for something to complete? > My first attempt at this froze the gdb session ( focus on mozilla ), and i > coildn't continue. > > does this happen on any of ur X servers? > I tried to close the mozilla composer window using the "file" menu If netscape is grabbing the mouse then you're going to be stuck until it lets go. But, in this situation the mouse pointer will still move around. And, you'll be able to Cntrl-Alt-F1 to a console & kill Netscape, but by that time X might be somewhat hung & you'll have to kill the X server. I'm not sure how close this is to you're situation. BTW, I often have this problem with Netscape on linux/intel. If my ppp session is hung & I start netscape & pull down a menu, it grabs the mouse & then seems to try to do some name resolution, during which it just freezes up waiting for a response because the networking is down. At this point I have to kill netscape & often have to kill X too. -- Harvey J. Stein BFM Financial Research hjstein@bfr.co.il ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1998-05-18 7:16 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-05-17 21:43 Mozilla & whats new/whats kool && X Uncle George 1998-05-17 22:10 ` Christopher Curtis 1998-05-17 22:38 ` Uncle George 1998-05-17 22:49 ` Christopher Curtis 1998-05-17 23:43 ` Michal Jaegermann 1998-05-18 0:24 ` Uncle George 1998-05-18 7:16 ` Harvey J. Stein
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox