Closed Bug 208510 Opened 23 years ago Closed 22 years ago

lockup for me it happens every time

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 136362

People

(Reporter: terr, Assigned: blizzard)

References

()

Details

(Keywords: hang)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030507 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030507 Mozilla locks up and will not refresh screen or respond to input from mouse or keyboard Note: I reported this before and it was rejected - who reviewed it said that it works for him/her. Well - it doesn't work for me so something is badly broken here. I've tried all versions from 1.0 to this one and they all have this problem. Perhaps there is something weird about Debian woody installed via the network. Note: the NT version of mozilla works. It is only the version on woody that is broken AFAIK. Reproducible: Always Steps to Reproduce: 1.install in default debian woody (I did a net install) 2. go to the www.wikipedia web site. 3. Actual Results: locks up Expected Results: shouldn't lock up. Ps fax shows: 27419 pts/2 S 0:00 | | \_ strace mozilla 27420 pts/2 S 0:00 | | \_ /bin/sh/usr/local/mozilla1.4b/run-mozilla.sh /usr/local/mozilla1.4b/mozilla-bin 27440 pts/2 S 0:03 | | \_/usr/local/mozilla1.4b/mozilla-bin 27442 pts/2 S 0:00 | | \_/usr/local/mozilla1.4b/mozilla-bin 27443 pts/2 S 0:00 | | \_/usr/local/mozilla1.4b/mozilla-bin 27444 pts/2 S 0:00 | | \_/usr/local/mozilla1.4b/mozilla-bin 27445 pts/2 S 0:00 | | \_/usr/local/mozilla1.4b/mozilla-bin Next I did a strace -p blah. Only pid 27440 was listening and the output from strace is as follows: select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\6\0J+v\313\375\225?\0\0\0000\3`\1\0\0\0\0\357\2!\1\226"..., 32) = 32 read(3, 0xbfffcaac, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\6\0J+\224\313\375\225?\0\0\0000\3`\1\0\0\0\0001\3+\1\330"..., 32) = 32read(3, 0xbfffcaac, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\6\0J+\274\313\375\225?\0\0\0000\3`\1\0\0\0\0s\3;\1\32"..., 32) = 32 read(3, 0xbfffcaac, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\6\0J+\332\313\375\225?\0\0\0000\3`\1\0\0\0\0\257\3G\1"..., 32) = 32 read(3, 0xbfffcaac, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\10\0J+\3\314\375\225?\0\0\0000\3`\1\0\0\0\0\331\3O\1\200"..., 32) = 32read(3, "\7\2J+\3\314\375\225?\0\0\0\t\3`\1\0\0\0\0\331\3O\1\200"..., 32) = 32 read(3, 0xbfffcaac, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\10\3J+ \314\375\225?\0\0\0\t\3`\1\0\0\0\0\351\3O\1\220"..., 32) = 32 read(3, "\10\4J+ \314\375\225?\0\0\0\240\0`\1\10\3`\1\351\3O\1\220"..., 32) = 32read(3, "\10\4J+ \314\375\225?\0\0\0\236\0`\1\237\0`\1\351\3O\1"..., 32) = 32 read(3, "\10\4J+ \314\375\225?\0\0\0\204\0`\1\235\0`\1\351\3O\1"..., 32) = 32 read(3, "\10\4J+ \314\375\225?\0\0\0y\0`\1\203\0`\1\351\3O\1\227"..., 32) = 32 read(3, "\10\4J+ \314\375\225?\0\0\0x\0`\1y\0`\1\351\3O\1\227\3"..., 32) = 32 read(3, 0xbfffcaac, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL <unfinished ...> The only way to fix this is to kill the pid. Clearly mozilla is sitting in a select waiting for input from the keyboard or mouse and clearly it seems to be lost!
worksforme with linux trunk 20030610 did you build Mozilla? what we need is a stacktrace (from gdb)
Keywords: hang
Summary: lockup for me it happens every time → lockup for me it happens every time
Here is the backtrace. (gdb) ^C Program received signal SIGINT, Interrupt. 0x4039e87e in sigsuspend () from /lib/libc.so.6 (gdb) graph undisplay -1 (gdb) cont ^C Program received signal SIGINT, Interrupt. 0x4039e87e in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x4039e87e in sigsuspend () from /lib/libc.so.6 #1 0x400cb879 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x400c8102 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x400b115e in PR_WaitCondVar () from /usr/local/mozilla1.4b/libnspr4.so #4 0x405479be in nsThreadPool::GetRequest () from /usr/local/mozilla1.4b/libxpcom.so #5 0x40548130 in nsThreadPoolRunnable::Run () from /usr/local/mozilla1.4b/libxpcom.so #6 0x40546a8d in nsThread::Main () from /usr/local/mozilla1.4b/libxpcom.so #7 0x400b62b9 in PR_Select () from /usr/local/mozilla1.4b/libnspr4.so #8 0x400c90ba in pthread_start_thread () from /lib/libpthread.so.0 #9 0x400c9101 in pthread_start_thread_event () from /lib/libpthread.so.0 (gdb) kill (gdb)
I re-did the "bt" and have slightly different results. THe previous trace may be invalid adn if so it is because of my lack of experiance with ddd and gdb. GNU DDD 3.3.1 (i386-pc-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller. Copyright © 1995-1999 Technische Universität Braunschweig, Germany. Copyright © 1999-2001 Universität Passau, Germany. Copyright © 2001 Universität des Saarlandes, Germany. (no debugging symbols found)...(gdb) set args (gdb) run (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 1024 (LWP 4272)] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 2049 (LWP 4274)] [New Thread 1026 (LWP 4275)] [New Thread 2051 (LWP 4276)] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 3076 (LWP 4277)] (no debugging symbols found)...[New Thread 4101 (LWP 4278)] [New Thread 5126 (LWP 4279)] [New Thread 6151 (LWP 4280)] [New Thread 7176 (LWP 4281)] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 8201 (LWP 4282)] [New Thread 9226 (LWP 4283)] [New Thread 10251 (LWP 4284)] (no debugging symbols found)...(no debugging symbols found)...[New Thread 11276 (LWP 4285)] (no debugging symbols found)...[New Thread 12301 (LWP 4287)] ^C Program received signal SIGINT, Interrupt. [Switching to Thread 3076 (LWP 4277)] 0x40415de1 in nanosleep () from /lib/libc.so.6 (gdb) bt #0 0x40415de1 in nanosleep () from /lib/libc.so.6 #1 0x400cbcda in __pthread_timedsuspend_new () from /lib/libpthread.so.0 #2 0x400c835b in pthread_cond_timedwait_relative () from /lib/libpthread.so.0 #3 0x400c84ec in pthread_cond_timedwait () from /lib/libpthread.so.0 #4 0x400b0f53 in PR_Unlock () from /usr/local/mozilla1.4b/libnspr4.so #5 0x400b1175 in PR_WaitCondVar () from /usr/local/mozilla1.4b/libnspr4.so #6 0x40549f05 in TimerThread::Run () from /usr/local/mozilla1.4b/libxpcom.so #7 0x40546a8d in nsThread::Main () from /usr/local/mozilla1.4b/libxpcom.so #8 0x400b62b9 in PR_Select () from /usr/local/mozilla1.4b/libnspr4.so #9 0x400c90ba in pthread_start_thread () from /lib/libpthread.so.0 #10 0x400c9101 in pthread_start_thread_event () from /lib/libpthread.so.0 (gdb) stacktrace Undefined command: "stacktrace". Try "help". (gdb) kill (gdb)
I've done some more tracing. The previous traces were from the default thread and I suspect this is not the one that has the problem. Please refer to the following trace. This is from the thread that seems to have the select running and it should be the same thread that I did the strace from. [Switching to thread 1 (Thread 1024 (LWP 4553))]#0 0x4043f7ee in select () from /lib/libc.so.6 (gdb) Quit (gdb) bt #0 0x4043f7ee in select () from /lib/libc.so.6 #1 0x40351fdc in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6 #2 0x402ad3ba in _XRead () from /usr/X11R6/lib/libX11.so.6 #3 0x402addc3 in _XReply () from /usr/X11R6/lib/libX11.so.6 #4 0x402991ea in XGetImage () from /usr/X11R6/lib/libX11.so.6 #5 0x411ba669 in NSGetModule () from /usr/local/mozilla1.4b/components/libgfx_gtk.so #6 0x411ba2b7 in NSGetModule () from /usr/local/mozilla1.4b/components/libgfx_gtk.so #7 0x411ba134 in NSGetModule () from /usr/local/mozilla1.4b/components/libgfx_gtk.so #8 0x411c24b5 in NSGetModule () from /usr/local/mozilla1.4b/components/libgfx_gtk.so #9 0x411c4913 in NSGetModule () from /usr/local/mozilla1.4b/components/libgfx_gtk.so #10 0x411ae0d9 in NSGetModule () from /usr/local/mozilla1.4b/components/libgfx_gtk.so #11 0x4082e507 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #12 0x4082caf9 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #13 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #14 0x407db783 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #15 0x407efe38 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #16 0x407ffe18 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #17 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #18 0x407db783 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #19 0x407efe38 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #20 0x407ffe18 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #21 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #22 0x407d3eae in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #23 0x407efe38 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #24 0x407d3cb6 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #25 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #26 0x407db783 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #27 0x40899bfc in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #28 0x408b2fea in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #29 0x408b2e7f in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #30 0x408b5cc9 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #31 0x408b5b5b in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #32 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #33 0x407db783 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #34 0x4089fffa in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #35 0x408a0142 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #36 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #37 0x408ada61 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #38 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #39 0x407d3eae in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #40 0x407efe38 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #41 0x407d3cb6 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #42 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #43 0x407d3eae in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #44 0x407efe38 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #45 0x407d3cb6 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #46 0x407db8bf in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #47 0x407d3eae in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #48 0x407efe38 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #49 0x407d3cb6 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #50 0x408239f9 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #51 0x40b56cc7 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #52 0x40b5cd89 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #53 0x40b5c8c7 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #54 0x40b5b454 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #55 0x40b5e2c1 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #56 0x40b567b7 in NSGetModule () from /usr/local/mozilla1.4b/components/libgklayout.so #57 0x40f277c5 in parent_class_set_focus () from /usr/local/mozilla1.4b/components/libwidget_gtk.so #58 0x40f27688 in parent_class_set_focus () from /usr/local/mozilla1.4b/components/libwidget_gtk.so #59 0x40f2a963 in NSGetModule () from /usr/local/mozilla1.4b/components/libwidget_gtk.so #60 0x40f2aaa4 in NSGetModule () from /usr/local/mozilla1.4b/components/libwidget_gtk.so #61 0x40f2ab9d in NSGetModule () from /usr/local/mozilla1.4b/components/libwidget_gtk.so #62 0x40f2a780 in NSGetModule () from /usr/local/mozilla1.4b/components/libwidget_gtk.so #63 0x402534fa in g_timeout_add () from /usr/lib/libglib-1.2.so.0 #64 0x402524d8 in g_get_current_time () from /usr/lib/libglib-1.2.so.0 #65 0x40252ae3 in g_get_current_time () from /usr/lib/libglib-1.2.so.0 #66 0x40252c7c in g_main_run () from /usr/lib/libglib-1.2.so.0 #67 0x401727e7 in gtk_main () from /usr/lib/libgtk-1.2.so.0 #68 0x40f18ce5 in parent_class_set_focus () from /usr/local/mozilla1.4b/components/libwidget_gtk.so #69 0x40ef2ee3 in fullsoft_copyright () from /usr/local/mozilla1.4b/components/libnsappshell.so #70 0x08059f0d in getCountry () #71 0x0805a77b in main () #72 0x4038e14f in __libc_start_main () from /lib/libc.so.6 (gdb) kill (gdb)
it looks like the symbols are stripped from your build. can you remove the option "--enable-strip" from your build configuration and then rebuild? is your build XFT-enabled (--enable-xft)? ==> gtk based on stacktrace in comment 12
Assignee: general → blizzard
Component: Browser-General → GFX: Gtk
QA Contact: general → ian
Pretty sure this is a dup. *** This bug has been marked as a duplicate of 173204 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
reopening. from email with Terrell, this was with a .mozilla.org 1.4b build (no xft)
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
I can duplicate this bug with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040107, and also with v1.4 and v1.5 (latest release). I can load the page, but then attempting to move the scroll bar locks up Mozilla. I'm using Fedora Core 1 but I have had similar problems with Mozilla RH 8 and 9. Strangely, I do not get this problem using the version of Mozilla 1.4.1 that is included with Fedora Core 1. Another problem URL for me: http://www.redhat.com/archives/fedora-list/2004-January/thread.html
For me, at least it looks like the problem is related to Xinerama mode in X; if I don't use Xinerama I don't get the lockups.
that's bug 136362 terrell: are you running xinerama?
Yes - I am running +xinerama I'm running dual Matrox Milliniumms if this is of any interest. I suspect the dirvers are not relevant. Note: I get very infrequent lock ups in Ksirc Note: On occation since upgrading to the newest stable, the KDE desktop and X has locked up. When this happens - the mouse moves but does not do anything and the keyboard does nothing. To clear this problem it is necessary to use cntrl-alt-F1 to swtich to virtual terminal #1 and then use cntrl-c to kill X. Upon restart - all is fine. Note: It is Mozilla that is killing X some how. It happens infrequently but each time it is Mozilla that is running and never anything else. I have not tried any debugging at this time. As I get more proficient at Linux development I'll be able to help more.
I don't think this is a Mozilla issue specifically anymore. I turned off xfs at the suggestion of an XFree86 newsgroup post; this seems to have fixed the issue with Xinerama.
> Yes - I am running +xinerama ok, then this is a dupe of "using Xinerama and Xfs can hang the browser" *** This bug has been marked as a duplicate of 136362 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → DUPLICATE
Agreed: Eliminating XFS seems to rectify the problem. Goto /etc/X11 and check the XF86Config-4 file. comment out this line: (as follows) #FontPath "unix/:7100" # local font server Note: depending on what fonts you have installed, you may want to do more. There is a howto at www.kde.org and you can use google to find it. Search xinerama xfs - the true type fonts and microsoft (ugghh) core fonts are worth looking at. This problem should be escalated to the X team.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: