Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77461 - web browsers crash in xorg-x11 6.7.0, ok in 6.8.x
Summary: web browsers crash in xorg-x11 6.7.0, ok in 6.8.x
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 20:16 UTC by Iain Buchanan
Modified: 2005-01-13 19:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Buchanan 2005-01-10 20:16:27 UTC
Various web browsers (firefox, mozilla, epiphany) crash when using xorg-x11-6.7.0-r3, but are ok when I compile and use xorg-x11-6.8.1.901

I haven't included a url that shows the problem, cause it happens with almost all. It seems to be consistent though.


Reproducible: Always
Steps to Reproduce:
1. Open browser
2. go to random link





I recompiled firefox with features="nostrip", and CFLAGS="... -g", and got a 
trace (attaching soon).  Do I need to recompile some library here?  Also, I did
qpkg -f /usr/X11R6/lib/libglib-2.0.so.0.600.0 and got nothing in response...
Comment 1 Iain Buchanan 2005-01-10 20:34:30 UTC
backtrace: (couldn't create attachment)
$ cat firefox-trace
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 9381)]
0xb6badacf in nsTextFrame::PaintUnicodeText ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
(gdb) thread apply all bt

Thread 6 (Thread 65541 (LWP 9431)):
#0  0xb7e212a6 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()
#2  0xb7e1db0c in __pthread_timedsuspend_new (self=0x862d960,
    abstime=0xb58dde14) at pthread.c:1364
#3  0xb7e1a037 in __pthread_cond_timedwait (cond=0x80ef7fc, mutex=0x80ef798,
    abstime=0xb58dde14) at restart.h:45
#4  0xb7e9bb14 in PR_Lock () from /usr/lib/MozillaFirefox/libnspr4.so
#5  0xb7e9bec7 in PR_WaitCondVar () from /usr/lib/MozillaFirefox/libnspr4.so
#6  0xb74317e5 in NSGetModule ()
   from /usr/lib/MozillaFirefox/components/libnecko.so
#7  0xb74318dd in NSGetModule ()
   from /usr/lib/MozillaFirefox/components/libnecko.so
#8  0xb7ea11c8 in PR_Select () from /usr/lib/MozillaFirefox/libnspr4.so
#9  0xb7e1aae8 in pthread_start_thread (arg=0x862d960) at manager.c:310
#10 0xb776849a in clone () from /lib/libc.so.6

Thread 5 (Thread 49156 (LWP 9388)):
#0  0xb7e212a6 in nanosleep () from /lib/libpthread.so.0
#1  0x00000001 in ?? ()
#2  0xb7e1db0c in __pthread_timedsuspend_new (self=0x81713e0,
    abstime=0xb61a5e44) at pthread.c:1364
---Type <return> to continue, or q <return> to quit---
#3  0xb7e1a037 in __pthread_cond_timedwait (cond=0x81709fc, mutex=0x8170998,
    abstime=0xb61a5e44) at restart.h:45
#4  0xb7e9bb14 in PR_Lock () from /usr/lib/MozillaFirefox/libnspr4.so
#5  0xb7e9bec7 in PR_WaitCondVar () from /usr/lib/MozillaFirefox/libnspr4.so
#6  0xb7406dde in NSGetModule ()
   from /usr/lib/MozillaFirefox/components/libnecko.so
#7  0xb7ea11c8 in PR_Select () from /usr/lib/MozillaFirefox/libnspr4.so
#8  0xb7e1aae8 in pthread_start_thread (arg=0x81713e0) at manager.c:310
#9  0xb776849a in clone () from /lib/libc.so.6

Thread 4 (Thread 32771 (LWP 9387)):
#0  0xb7e212a6 in nanosleep () from /lib/libpthread.so.0
#1  0x00000001 in ?? ()
#2  0xb7e1db0c in __pthread_timedsuspend_new (self=0x8125c60,
    abstime=0xb71b9e24) at pthread.c:1364
#3  0xb7e1a037 in __pthread_cond_timedwait (cond=0x812116c, mutex=0x8121108,
    abstime=0xb71b9e24) at restart.h:45
#4  0xb7e9bb14 in PR_Lock () from /usr/lib/MozillaFirefox/libnspr4.so
#5  0xb7e9bec7 in PR_WaitCondVar () from /usr/lib/MozillaFirefox/libnspr4.so
#6  0xb7f35205 in TimerThread::TimerDelayChanged ()
   from /usr/lib/MozillaFirefox/libxpcom.so
#7  0xb7f33547 in nsThread::Main () from /usr/lib/MozillaFirefox/libxpcom.so
#8  0xb7ea11c8 in PR_Select () from /usr/lib/MozillaFirefox/libnspr4.so
---Type <return> to continue, or q <return> to quit---
#9  0xb7e1aae8 in pthread_start_thread (arg=0x8125c60) at manager.c:310
#10 0xb776849a in clone () from /lib/libc.so.6

Thread 3 (Thread 16386 (LWP 9386)):
#0  0xb775fe06 in *__GI___poll (fds=0xb77c2ff4, nfds=1, timeout=-1)
    at poll.c:86
#1  0xb7e9fc49 in PR_Poll () from /usr/lib/MozillaFirefox/libnspr4.so
#2  0xb7425640 in NSGetModule ()
   from /usr/lib/MozillaFirefox/components/libnecko.so
#3  0xb7425cfd in NSGetModule ()
   from /usr/lib/MozillaFirefox/components/libnecko.so
#4  0xb7f33547 in nsThread::Main () from /usr/lib/MozillaFirefox/libxpcom.so
#5  0xb7ea11c8 in PR_Select () from /usr/lib/MozillaFirefox/libnspr4.so
#6  0xb7e1aae8 in pthread_start_thread (arg=0x80eea20) at manager.c:310
#7  0xb776849a in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 9385)):
#0  0xb775fe06 in *__GI___poll (fds=0xb77c2ff4, nfds=1, timeout=2000)
    at poll.c:86
#1  0xb7e1b2a0 in __pthread_manager (arg=0x0) at manager.c:152
#2  0xb776849a in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 9381)):
---Type <return> to continue, or q <return> to quit---
#0  0xb6badacf in nsTextFrame::PaintUnicodeText ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#1  0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#2  0xb6b5dc34 in nsContainerFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#3  0xb6b6f712 in nsHTMLContainerFrame::PaintDecorationsAndChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#4  0xb6b7d652 in nsInlineFrame::IsEmpty ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#5  0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#6  0xb6b4e00b in nsBlockFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#7  0xb6b55b5b in nsBlockFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#8  0xb6b6f712 in nsHTMLContainerFrame::PaintDecorationsAndChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#9  0xb6b5568f in nsBlockFrame::PaintFloats ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#10 0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#11 0xb6b5dc34 in nsContainerFrame::PaintChildren ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#12 0xb6c0feea in nsTableCellFrame::DecorateForSelection ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#13 0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#14 0xb6b5dc34 in nsContainerFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#15 0xb6c29eb7 in nsTableRowFrame::CalcHeight ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#16 0xb6c2cc22 in nsTableRowGroupFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#17 0xb6c2ca93 in nsTableRowGroupFrame::InitRepeatedFrame ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#18 0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#19 0xb6b5dc34 in nsContainerFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#20 0xb6c13108 in nsTableFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#21 0xb6c1aaae in nsTableFrame::PaintBCBorders ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#22 0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
---Type <return> to continue, or q <return> to quit---
#23 0xb6c23e14 in nsTableOuterFrame::GetCaptionSide ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#24 0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#25 0xb6b4e00b in nsBlockFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#26 0xb6b55b5b in nsBlockFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#27 0xb6b6f712 in nsHTMLContainerFrame::PaintDecorationsAndChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#28 0xb6b5568f in nsBlockFrame::PaintFloats ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#29 0xb6b5dd56 in nsContainerFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#30 0xb6b4e00b in nsBlockFrame::PaintChild ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#31 0xb6b55b5b in nsBlockFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#32 0xb6b6f712 in nsHTMLContainerFrame::PaintDecorationsAndChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#33 0xb6b5568f in nsBlockFrame::PaintFloats ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#34 0xb6b5dd56 in nsContainerFrame::PaintChild ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#35 0xb6b5dc34 in nsContainerFrame::PaintChildren ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#36 0xb6b6efed in nsGfxScrollFrameInner::Layout ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#37 0xb6b70750 in CanvasFrame::GetType ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#38 0x087cd1cc in ?? ()
#39 0x086ce848 in ?? ()
#40 0x0879dd70 in ?? ()
#41 0xbfffc9a0 in ?? ()
#42 0x00000002 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000021 in ?? ()
#45 0xb7afcb12 in gdk_region_offset () from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#46 0xb6b96857 in ReflowEvent::ReflowEvent ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#47 0xb6e584fe in nsView::GetClippedRect ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#48 0xb6e5afcf in nsViewManager::RenderDisplayListElement ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#49 0xb6e5fc03 in nsViewManager::RenderViews ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
---Type <return> to continue, or q <return> to quit---
#50 0xb6e60823 in nsViewManager::Refresh ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#51 0xb6e6206e in nsViewManager::UpdateViewAfterScroll ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#52 0xb6e572b6 in nsView::GetViewFor ()
   from /usr/lib/MozillaFirefox/components/libgklayout.so
#53 0xb68871d2 in nsCommonWidget::DispatchResizeEvent ()
   from /usr/lib/MozillaFirefox/components/libwidget_gtk2.so
#54 0xb687ce55 in nsWindow::OnExposeEvent ()
   from /usr/lib/MozillaFirefox/components/libwidget_gtk2.so
#55 0xb687f0d9 in nsWindow::ConvertBorderStyles ()
   from /usr/lib/MozillaFirefox/components/libwidget_gtk2.so
#56 0xb7c5f55a in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#57 0xb7a260cc in g_closure_invoke () from /usr/X11R6/lib/libgobject-2.0.so.0
#58 0xb7a3b416 in g_signal_has_handler_pending ()
   from /usr/X11R6/lib/libgobject-2.0.so.0
#59 0xb7a3c1af in g_signal_emit_valist ()
   from /usr/X11R6/lib/libgobject-2.0.so.0
#60 0xb7a3c721 in g_signal_emit () from /usr/X11R6/lib/libgobject-2.0.so.0
#61 0xb7d5a1fe in gtk_widget_activate ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#62 0xb7c5db43 in gtk_main_do_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#63 0xb7b020d4 in gdk_window_clear_area_e ()
   from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#64 0xb7b0216d in gdk_window_process_all_updates ()
   from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#65 0xb7b02202 in gdk_window_get_update_serial ()
   from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#66 0xb7a1a194 in ?? () from /usr/X11R6/lib/libglib-2.0.so.0
#67 0xbfffd448 in ?? ()
#68 0xb79bb9a9 in g_child_watch_add () from /usr/X11R6/lib/libglib-2.0.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb)





$ emerge --info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun 15 2004, 18:11:59)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.9.3, 1.4_p6, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms"
GENTOO_MIRRORS="ssh://iain:asdfpoiu@gauntlet:/usr/portage ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.gentoo.gr.jp ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa apache2 arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 irda java jpeg junit libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png postgres ppds python quicktime readline samba sdl spell sse ssl svga tcltk tcpd tetex tiff truetype xml xml2 xmms xv zlib"
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-13 16:38:30 UTC
That's nice to know, but it's fixed in the newer versions so we're not going to do anything about it. Thanks.
Comment 3 Iain Buchanan 2005-01-13 19:30:24 UTC
A little bit more information would be nice. eg.

1. How do you know its fixed, is it becuase I said it "works" with 6.8.x or becuase you recognise something?

2. Is it simply a bug just in xorg, or is it something to do with some other library?  Is there anything I can do to get around it?  Are there any links that you know of where I can read more?

3. I can't use the newer version because it "breaks" compatibility with ati drivers.  So looks like I can't use xorg 6.7 or xorg 6.8...
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-13 19:55:31 UTC
Reported working is working, when I can't reproduce it.

And incidentally, http://www.rage3d.com/board/showpost.php?p=1333446174&postcount=479