After upgrading from Opera 8.00 to 8.01 it won't start any more. While trying to start I'm getting a "Segmentation fault" from /opt/opera/lib/opera/8.01-20050615.5/opera. Reproducible: Always Steps to Reproduce: 1. /usr/bin/opera 2. 3. Actual Results: After adding a set -x to /usr/bin/opera - this is what I get: + OPERA_BINARYDIR=/opt/opera/lib/opera/8.01-20050615.5 + export OPERA_BINARYDIR + passflags= + test 0 -gt 0 ++ echo /opt/opera/lib/opera/8.01-20050615.5 ++ sed -e 's/.*[^\/]$/NO/' + test NO = NO + OPERA_BINARYDIR=/opt/opera/lib/opera/8.01-20050615.5/ + test '!' -f /opt/opera/lib/opera/8.01-20050615.5/opera + test '!' -x /opt/opera/lib/opera/8.01-20050615.5/opera + test '' = '' + test -d /opt/opera/share/opera + OPERA_DIR=/opt/opera/share/opera + OPERA_LD_PRELOAD= + export OPERA_LD_PRELOAD + test -f /javapath.txt + test '!' '' + test -f /home/dan/.opera/javapath.txt + test '!' '' + test -f /opt/blackdown-jdk-1.4.2.02/lib/i386/libjava.so + test '!' '' + test -f /opt/blackdown-jdk-1.4.2.02/jre/lib/i386/libjava.so + OPERA_JAVA_DIR=/opt/blackdown-jdk-1.4.2.02/jre/lib/i386 + test '!' /opt/blackdown-jdk-1.4.2.02/jre/lib/i386 + test /opt/blackdown-jdk-1.4.2.02/jre/lib/i386 + LD_LIBRARY_PATH=/opt/blackdown-jdk-1.4.2.02/jre/lib/i386:/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/native_threads:/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/client:/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/classic: + export LD_LIBRARY_PATH OPERA_JAVA_DIR + LD_PRELOAD=libjvm.so:libawt.so: + export LD_PRELOAD ++ /opt/opera/lib/opera/8.01-20050615.5//works + JAVA_WORKAROUND=works + test works = works + OPERA_FORCE_JAVA_ENABLED=1 + export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED + for BINDIR in '/usr/local/Acrobat[45]/bin' '/usr/lib/Acrobat[45]/bin' '/usr/X11R6/lib/Acrobat[45]/bin' '/opt/Acrobat[45]/bin' '/usr/Acrobat[45]/bin' + test -d '/usr/local/Acrobat[45]/bin' + for BINDIR in '/usr/local/Acrobat[45]/bin' '/usr/lib/Acrobat[45]/bin' '/usr/X11R6/lib/Acrobat[45]/bin' '/opt/Acrobat[45]/bin' '/usr/Acrobat[45]/bin' + test -d '/usr/lib/Acrobat[45]/bin' + for BINDIR in '/usr/local/Acrobat[45]/bin' '/usr/lib/Acrobat[45]/bin' '/usr/X11R6/lib/Acrobat[45]/bin' '/opt/Acrobat[45]/bin' '/usr/Acrobat[45]/bin' + test -d '/usr/X11R6/lib/Acrobat[45]/bin' + for BINDIR in '/usr/local/Acrobat[45]/bin' '/usr/lib/Acrobat[45]/bin' '/usr/X11R6/lib/Acrobat[45]/bin' '/opt/Acrobat[45]/bin' '/usr/Acrobat[45]/bin' + test -d '/opt/Acrobat[45]/bin' + for BINDIR in '/usr/local/Acrobat[45]/bin' '/usr/lib/Acrobat[45]/bin' '/usr/X11R6/lib/Acrobat[45]/bin' '/opt/Acrobat[45]/bin' '/usr/Acrobat[45]/bin' + test -d '/usr/Acrobat[45]/bin' + export OPERA_DIR PATH + LD_LIBRARY_PATH=/opt/opera/lib/opera/8.01-20050615.5/:/opt/blackdown-jdk-1.4.2.02/jre/lib/i386:/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/native_threads:/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/client:/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/classic: + export LD_LIBRARY_PATH + for LIBASPELL_DIR in /usr/local/lib /opkg/lib + test -f /usr/local/lib/libaspell.so.15 + for LIBASPELL_DIR in /usr/local/lib /opkg/lib + test -f /opkg/lib/libaspell.so.15 ++ cat /home/dan/.qt/qtrc ++ grep style= + QTSTYLE=style=HighColor + STYLE=HighColor + eval exec ''\''/opt/opera/lib/opera/8.01-20050615.5/opera'\'' -style HighColor' ++ exec /opt/opera/lib/opera/8.01-20050615.5/opera -style HighColor Segmentation fault Here's the output from "emerge info": Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 10 2005, 19:35:51)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/X11/xkb /usr/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/pkgdir" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://prince.dmj.nu/gentoo-portage" USE="x86 X alsa apm arts artswrappersuid avi bash-completion berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd emboss encode esd exif fam flac foomaticdb fortran gd gdbm gif gpm gtk2 imagemagick imap imlib java javascript jpeg kde ldap libg++ libwww mad matrox mikmod mime mmx mmx2 mng motif mp3 mpeg ncurses network nls ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl scanner sdl slp sndfile sox spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis xine xinerama xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
try to just start "/opt/opera/lib/opera/8.01-20050615.5/opera"
Allready done that - same result. (:-(
try to use the static version
Nope, still the same...
hm, try to remerge qt/x11/fontconfig
here's the backtrace: (gdb) r ; exitStarting program: /opt/opera/lib/opera/8.01-20050615.5/opera (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 29878)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 29878)] 0xb7f966af in __pthread_alt_lock () from /lib/libpthread.so.0 (gdb) where #0 0xb7f966af in __pthread_alt_lock () from /lib/libpthread.so.0 #1 0xb7f93205 in pthread_mutex_lock () from /lib/libpthread.so.0 #2 0x081c40b1 in calloc () #3 0xb7ff9011 in _dl_tls_setup () from /lib/ld-linux.so.2 #4 0xb7f93953 in __pthread_initialize_minimal () from /lib/libpthread.so.0 #5 0xb7f902e5 in call_initialize_minimal () from /lib/libpthread.so.0 #6 0xb7f8fccc in _init () from /lib/libpthread.so.0 #7 0xb7ff6bbe in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #8 0xb7ff6d4b in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #9 0xb7feb805 in ?? () from /lib/ld-linux.so.2 here's the LD flags that opera's being run with: LD_PRELOAD= LD_LIBRARY_PATH=/opt/opera/lib/opera/8.01-20050615.5/: OPERA_LD_PRELOAD= and emerge --info ; emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9ewq i686) ================================================================= System uname: 2.6.11-gentoo-r9ewq i686 Pentium III (Coppermine) Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 10:26:12)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /lib/rcscripts/addons /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/X11/xkb /usr/lib/mozilla/defaults/pref /usr/lib/portage /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi adns alsa apm arts avi berkdb bitmap-fonts blas bzlib cdparanoia cdr crypt cups curl divx4linux dts dvd dvdr dvdread emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 jpeg kde lapack libcaca libg++ libwww mad mhash mikmod mmap mmx motif mozilla mp3 mpeg ncurses nls nvidia offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real rtc sdl spell sse ssl svga tcltk tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis xanim xml xml2 xmms xpm xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
> hm, try to remerge qt/x11/fontconfig Still no go, (even reemerged opera).
try the glibc from ~x86
> try the glibc from ~x86 Thats a way I really don't want to go - I try to run pure x86 and no ~x86 as this is on my workstation and I would hate if it stopped working. --Dan
I have a case open at Opera.com - so let's see what they come up with.
Opera 8.01 is running fine on my laptop (I'm posting through it now). Opera 8.01 segfaults on my desktop. Assuming that it might help the debugging process to know about a machine that it works on (since you guys already seem to have access to machines that it doesn't work on), here are the results of running "emerge info" on my laptop. If anyone is interested in more detailed information about my laptop, post instructions for me to follow, and I'll post the results as soon as I can. bash$ emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4. 20041102-r1, 2.6.11.5 i686) ================================================================= System uname: 2.6.11.5 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 6 2005, 10:26:40)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.noved.org/ http:// gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds. net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://desk/portage" USE="x86 X acpi alsa avi berkdb bitmap-fonts cscope cups emboss encode f77 foomaticdb fortran gdbm gif gphoto2 gpm imlib ipv6 ithreads java jpeg libg++ libwww mad mikmod mmx mng mozilla mp3 mpeg ncurses nptl ogg oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline sdl spell sse ssl svga tcltk tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
can you please post the link to the bug on opera.com, i masked this version again
(In reply to comment #11) > Opera 8.01 is running fine on my laptop (I'm posting through it now). > Opera 8.01 segfaults on my desktop. > If anyone is interested in more detailed information about my laptop, post > instructions for me to follow, and I'll post the results as soon as I can. Could you please post which glibc versions are you running (qpkg -v -I -i glibc & glib-config --version) as Heinrich Wendel suggested that that might be a problem. --Dan
(In reply to comment #12) > can you please post the link to the bug on opera.com, i masked this version > again Sure, here it is: https://support.opera.com:443/bin/customer?action=listTicket&ticketId=500440 --Dan
Here are the results of qpkg -v -I -i glibc and glib-config --version: bash(1002)$ qpkg -v -I -i glibc sys-libs/glibc-2.3.4.20041102-r1 * GNU libc6 (also called glibc2) C library [ http://sources.redhat.com/ glibc/ ] Compiled with USE Flags: -nls -pic -build nptl -nptlonly -erandom -hardened - multilib -debug -userlocales -nomalloccheck -debug dost(1003)$ glib-config --version 1.2.10
It just dawned on me that my laptop (where Opera works) has nptl in USE. My desktop (where Opera segfaults) has -nptl in USE. Is this just coincidence?
Hmm . . . here's mine: =================== # qpkg -v -I -i glibc sys-libs/glibc-2.3.4.20041102-r1 * GNU libc6 (also called glibc2) C library [ http://sources.redhat.com/ glibc/ ] Compiled with USE Flags: nls -pic -build nptl nptlonly -erandom -hardened - multilib -debug userlocales -nomalloccheck -debug # glib-config --version 1.2.10 =================== and Opera works fine here, hence I have not downgraded yet. -- Regards, Mick
Okay, so there's two computers with nptl in USE where Opera 8.01 works fine. There's one computer with -nptl in USE where Opera 8.01 segfaults. Does anyone have an example of a computer with nptl in USE where Opera doesn't work? How about someone who has -ntpl in USE where Opera does work?
OK, I have recompiled my glibc with nptl enable and now Opera Works as designed. Now I am just curious if the people at opera.com find the problem. --Dan
I have recompiled glibc (same version as used by Dan Johansson) with the nptl-Flag, too, and Opera 8.01 works fine now. Without the nptl-Flag Opera showed the same behaviour as described by Dan. -- Florian
Same here - Opera was dying with -nptl. Recompiled glibc with nptl, Opera is happy again.
Updating to nptl on the one machine that couldn't run Opera seems to have fixed the problem for me. Judging from the number of other responses saying the same thing, I think we've discovered the failure condition: -nptl. So, what happens now?
I have today sent a E-mail to Opera with a comment about what the problem is. So lets see if I get an answer... --Dan
CCing amd64, as this leave amd64 as amd64 still has this marked stable.
glibc-2.3.5-r1 is out and I do not have -ntpl in my USE flags - opera seg faults. What I'm supposed to do now? Downgrade glibc?!
(In reply to comment #25) > glibc-2.3.5-r1 is out and I do not have -ntpl in my USE flags - opera seg faults. > What I'm supposed to do now? Downgrade glibc?! I can confirm that with glibc-2.3.5-r1 Opera crashes with a Segmentation fault. I downgraded to glibc-2.3.5 and Opera is running again. I compiled glibc with -nptl. Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.10-gentoo-r7 i686) ============================================================== === System uname: 2.6.10-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mmmx -msse -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/ kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/ share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mmmx -msse -msse2" DISTDIR="/mnt/portage" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://mirror.nutsmaas.nl/gentoo/ ftp://gentoo. ccccom.com http://pandemonium.tiscali.de/pub/gentoo/" LANG="en_CA.utf8" LC_ALL="en_CA.utf8" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/poverlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi aim alsa apm arts artswrappersuid avantgo avi berkdb bigger-fonts bitmap-fonts bonobo bootspla bootsplash bzip2 bzlib cddb cdparanoia cdr cdrom client codecs crypt curl curlwrappers dba dbx divx4linux dv dvd dvdread emboss encode escreen exif faac faad fam fbcon ffmpeg flac font-server foomaticdb fortran freetype gd gdbm gif gimpprint gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml iconv icq idea imagemagick imap imlib ipv6 ithreads jabber java javascript jikes jpeg junit kde ldap libg++ libwww mad maildir mailwrapper matroska md5sum mikmod mime mmx moznocompose moznoirc moznomail moznoxft mp3 mpeg mpeg4 mplayer msn mysql ncurses network nls nntp nvidia odbc offensive ogg oggvorbis ooo-kde opengl operanom2 oscar oss pam pcmcia pcre pda pdf pdflib perl php plotutils png pnp povray prelude python qt quicktime radeon readline real ruby samba sasl scanner sdl session silc simplexml slang smime sockets speedo speex spell sqlite sse sse2 ssl subversion svg svga tcltk tcpd tetex tidy tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb userlocales v4l v4l2 vim-with-x visualization vorbis wifi xine xml xml2 xmlrpc xmms xscreensaver xsl xv xvid xvmc zeroconf zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
8.02 is out, changelog says "# Multiple stability fixes." Does it fix this, too?
(In reply to comment #27) > 8.02 is out, changelog says "# Multiple stability fixes." Does it fix this, too? I haven't tried 8.02 (but of a newbie, so the messy ebuilds in this other bug confused me,) but 8.10-p2 seems to fix the problem. http://bugs.gentoo.org/show_bug.cgi?id=100595
i had contact with the opera developer who is assigned to that issue. he says that it is fixed in opera 8.02. if it is not fixed for you please reopen the bug, if possible with a backtrace, and we will investigate further with the help of the opera developer.