| View previous topic :: View next topic |
| Author |
Message |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Sat Sep 17, 2005 8:03 pm Post subject: Opera and Firefox Crash |
|
|
I've tried Opera versions 8.00 to 8.02, and have gotton nearly the same error on all of them: | Code: | | /opt/opera/lib/opera/8.0-20050415.5/opera: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory | Also, in Firefox I've gotten the following Gtk warnings and the final error (when Firefox crashes) fairly often: | Code: | (Gecko:17082): Gdk-CRITICAL **: gdk_pixbuf_get_from_drawable: assertion `gdk_window_is_viewable (src)' failed
(Gecko:17082): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `pixbuf != NULL' failed
(Gecko:17082): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_bits_per_sample: assertion `pixbuf != NULL' failed
(Gecko:17082): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
(Gecko:17082): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed
(Gecko:17082): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `pixbuf != NULL' failed
(Gecko:17082): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed |
| Code: | (Gecko:32486): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
/usr/libexec/mozilla-launcher: line 119: 32486 Segmentation fault "$mozbin" "$@"
firefox-bin exited with non-zero status (139) | Why are there so many errors from these browsers? |
|
| Back to top |
|
 |
KK_r Apprentice


Joined: 17 Dec 2003 Posts: 176
|
Posted: Sun Sep 18, 2005 3:01 pm Post subject: |
|
|
Make a soft link in /usr/lib named libstdc++.so.5 to libstdc++.so.[insert version number] to fix the opera problem. _________________ Seamos realistas, exijamos lo imposibile |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Mon Sep 19, 2005 9:43 pm Post subject: |
|
|
Now I get this with Opera: | Code: | /opt/opera/lib/opera/8.02-20050727.5/opera: Symbol `_ZTV6QFrame' has different size in shared object, consider re-linking
Segmentation fault | Also, mozilla-firefox-bin crashes before a window even comes up. |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Fri Sep 23, 2005 11:27 pm Post subject: |
|
|
Opera 8.50 gets this error: | Code: | $ opera
ScimInputContextPlugin()
Segmentation fault
|
|
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Fri Nov 25, 2005 7:34 pm Post subject: |
|
|
| I'm getting these exact same errors again while in TWM. |
|
| Back to top |
|
 |
kasperhans Tux's lil' helper

Joined: 04 Nov 2003 Posts: 90 Location: Hansestadt Bremen - Germany
|
Posted: Fri Nov 25, 2005 9:05 pm Post subject: |
|
|
try firefox
:O also a way to get around those advertisings in op_ra _________________ stay high and life the all day flight |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Fri Nov 25, 2005 10:05 pm Post subject: |
|
|
| kasperhans wrote: | try firefox
:O also a way to get around those advertisings in op_ra | No, I meant that I have the same problems with Firefox, Mozilla, and Opera as I had before. |
|
| Back to top |
|
 |
rwf Apprentice

Joined: 24 Jan 2004 Posts: 234 Location: wa.us
|
Posted: Sat Nov 26, 2005 2:36 am Post subject: |
|
|
I believe libstdc++.so.5 comes from the gcc 3.n.n package
A couple of questions.
- What version of gcc do you have on your system?
- Why are you messing with Opera version 8.0 - 8.02?
- The .5 version of Opera was built with gcc 3.n.n
- The .6 version of Opera is built with gcc 4.0.0 -- which I believe supplies libstdc++.so.6
- emerge always gets the .5 version or if the static use flag is set, gets the .1 version.
- If you in fact are running w/ gcc 4.n.n -- download (and try) the .6 version. ftp://ftp.opera.com/pub/opera/linux/851/final/en/i386/opera-8.51-20051114.6-shared-qt.i386-en.tar.bz2
|
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Sat Nov 26, 2005 2:03 pm Post subject: |
|
|
a. 3.4.4-r1
b. Because version 8.5 crashes
I have Opera 8.51 installed. |
|
| Back to top |
|
 |
rwf Apprentice

Joined: 24 Jan 2004 Posts: 234 Location: wa.us
|
Posted: Sat Nov 26, 2005 3:53 pm Post subject: |
|
|
I just downloaded opera-8.51-20051114.6-shared-qt.i386-en.tar.bz2; un-tar'ed it and checked the Opera binary.
| Code: |
~% ldd /tmp/opera-8.51-20051114.6-shared-qt.i386-en/bin/opera
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f63000)
libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0xb7873000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb77a4000)
libz.so.1 => /lib/libz.so.1 (0xb7792000)
libdl.so.2 => /lib/libdl.so.2 (0xb778e000)
libm.so.6 => /lib/tls/libm.so.6 (0xb776b000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7650000)
/lib/ld-linux.so.2 (0xb7f89000)
libstdc++.so.6 => not found
libmng.so.1 => /usr/lib/libmng.so.1 (0xb75ef000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb75ce000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb759d000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb7595000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb758d000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7588000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb757e000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb756a000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb74f1000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb74c6000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb74b6000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb74ac000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7495000)
libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5 (0xb73db000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_s.so.1 (0xb73d3000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb739d000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb7376000)
|
I suspect you have libstdc++.so.6 on your system; therefore w/o the soft link, does opera 8.51 still seg fault? You don't have to install Opera to test this, just do the following:
| Code: |
cd /tmp/opera-8.51-20051114.6.shared-qt.i386-en/
./opera --debugplugin --debugjava
|
When you start Opera from the download directory is uses Opera's default settings (doesn't mess with your ~/.opera/ settings). |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Sat Nov 26, 2005 9:05 pm Post subject: |
|
|
| To be honest, I really just want to get a Mozilla-based browser working. I really don't like Links2's lack of CSS support, even in X mode. |
|
| Back to top |
|
 |
kasperhans Tux's lil' helper

Joined: 04 Nov 2003 Posts: 90 Location: Hansestadt Bremen - Germany
|
Posted: Sat Nov 26, 2005 10:05 pm Post subject: |
|
|
which glib and glibc do you have? _________________ stay high and life the all day flight |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Sun Nov 27, 2005 12:34 pm Post subject: |
|
|
| glib 2.8.4 and glibc 2.3.5-r3. |
|
| Back to top |
|
 |
rwf Apprentice

Joined: 24 Jan 2004 Posts: 234 Location: wa.us
|
Posted: Sun Nov 27, 2005 5:03 pm Post subject: |
|
|
You can always start firefox thusly:
This will run firefox under gdb. I don't expect this to be much help though. You appear to be running an ~x86 system (based on your gcc, glib & glibc version).
Sometimes the leading edge becomes the crumbling edge.
Good luck. |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Tue Nov 29, 2005 10:19 pm Post subject: |
|
|
Could the reason be that I am trying Firefox 1.5 RC3?
Here's the error: Firefox
Does that mean the error is in Anthy? What should I do? |
|
| Back to top |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1459 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Tue Nov 29, 2005 10:29 pm Post subject: |
|
|
you could try to downgrade/upgarde the anthy package and see if this helps. _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
last.fm |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1302 Location: Looking over your shoulder.
|
Posted: Tue Nov 29, 2005 10:55 pm Post subject: |
|
|
| Gergan Penkov wrote: | | you could try to downgrade/upgarde the anthy package and see if this helps. | Good advice; it's apparently working now.
No more Links2! |
|
| Back to top |
|
 |
urcindalo Guru

Joined: 08 Feb 2005 Posts: 397 Location: Almeria, Spain
|
Posted: Wed Nov 30, 2005 9:34 am Post subject: |
|
|
| Kenji Miyamoto wrote: | | Gergan Penkov wrote: | | you could try to downgrade/upgarde the anthy package and see if this helps. | Good advice; it's apparently working now. |
I always get the same error: | Code: | *** loading the extensions datasource
/usr/libexec/mozilla-launcher: line 116: 26729 Violación de segmento "$mozbin" "$@"
firefox-bin exited with non-zero status (139) |
whenever I visit versiontracker.
However, I'm not a japanese, so I don't think my solution is also to emerge anthy.
Could anyone try to load versiontracker in his/her Firefox and tell me if it crashes?
Here is my system info: | Code: | Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/lib64/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=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="en es"
PKGDIR="/home/ramiro/usr/local/portage/pkgdir-backup/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility acl acpi adns aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bonobo browserplugin bzip2 bzlib caps cdparanoia cdr crypt ctype cups curl curlwrappers db2 dba dbase dbm dbx dga dio directfb divx4linux dv dvb dvd dvdr dvdread eds emboss emul-linux-x86 encode esd ethereal evo exif expat fam fastcgi fbcon ffmpeg fftw flac flash flatfile foomaticdb fortran freetds ftp gd gdbm geoip gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hyperwave-api iconv icq idn ieee1394 imagemagick imap imlib inifile innodb interbase iodbc ipv6 jabber jack java javascript jikes jpeg kde ladcca lcms ldap lesstif libcaca libg++ libgda libwww lzw lzw-tiff m17n-lib mad maildir mailwrapper matroska mbox mcal mcve memlimit mhash mikmod milter mime ming mmap mng motif mozilla mp3 mpeg mpi msession msn msql mysql mysqli nas ncurses neXt netboot netcdf nis nls nptl oci8 ofx ogg openal opengl oracle oracle7 oscar oss ovrimos pam pcntl pcre pdflib perl php pie plotutils png portaudio posix postgres ppds prelude profile python qdbm qt quicktime readline recode ruby samba sapdb sasl scanner sdl sharedext simplexml skey slang slp sndfile snmp soap sockets socks5 source sox speex spell spl ssl svg sysfs sysvipc szip tcltk tcpd tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf v4l vcd vhosts vorbis wddx wmf wxwindows xface xine xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid yahoo yaz zeo zlib linguas_en linguas_es userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS |
|
|
| Back to top |
|
 |
mathfeel Guru


Joined: 02 Aug 2004 Posts: 553
|
Posted: Fri Dec 02, 2005 8:25 pm Post subject: |
|
|
My firefox seems to crash (along with other software) only after I upgraded gcc to 3.4.4. So my guess is that it's its fault.
Other software (juk, kdesktop, etc) also fails to load. But I am doing an
and things are getting better. juk just started to load correctly now. Hopefully firefox too once I am done?
Edit: Nope, done emerge -e world, firefox problem still persists. _________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
| Back to top |
|
 |
llondru n00b

Joined: 20 Feb 2005 Posts: 52 Location: Al Regàs o en el món de les idees. I fent algun rm per no perdre la pràctica (?¿)
|
|
| Back to top |
|
 |
SnEptUne l33t


Joined: 22 Aug 2004 Posts: 637
|
Posted: Tue Dec 27, 2005 4:20 pm Post subject: |
|
|
I also have the same problem after I updated my GCC to 3.4.4. This is not a flash problem and thus the link above is irrelevant. I will try to recompile firefox instead of using the binary.
On the other hand, I can get opera to run after I disabled scim, but firefox still crash even with scim disabled. Has anyone found a solution?
[Edit]
Okay. After I recompile firefox instead of using the binary package, firefox runs fine now.
[/Edit] _________________ "There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114) |
|
| Back to top |
|
 |
svenk Tux's lil' helper


Joined: 04 Aug 2005 Posts: 97 Location: Germany
|
Posted: Sat Mar 04, 2006 7:24 pm Post subject: Symlink libstdc++.so.6 to libstdc++.so.5 has no effect... |
|
|
I've also got these problems with firefox-bin and opera:
| Code: | $ opera
/opt/opera/lib/opera/8.52-20060201.5/opera: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
|
I've got libstdc++.so.6 but not anymore the "old" version of the lib.
Of course, simply installing the sourcecode-version of firefox solved the problem, but opera is closed source ;-(
Symlinking the lib it didn't solve anything:
| Code: |
# cd /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/
# ln -s libstdc++.so.6 libstdc++.so.5
$ ldd /opt/opera/lib/opera/8.52-20060201.5/opera | grep .so.5
libstdc++.so.5 => not found
|
That's strange. By the way, is that library downwardly compatible?
Sven _________________ people said there would be nothing else other than gentoo. I agreed, looking through my window. For many years, I've seen nothing. After smashing the window, my brain got free. Yeah, nowadays I live windowless. |
|
| Back to top |
|
 |
rwf Apprentice

Joined: 24 Jan 2004 Posts: 234 Location: wa.us
|
Posted: Sat Mar 04, 2006 8:14 pm Post subject: |
|
|
| Code: |
emerge -pv libstdc++-v3
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-libs/libstdc++-v3-3.3.4 -build (-multilib) +nls +nptl 0 kB
equery files libstdc++-v3
[ Searching for packages matching libstdc++-v3... ]
* Contents of sys-libs/libstdc++-v3-3.3.4:
/etc
/etc/env.d
/etc/env.d/99libstdc++
/usr
/usr/lib
/usr/lib/libstdc++-v3
/usr/lib/libstdc++-v3/libstdc++.so.5 -> libstdc++.so.5.0.6
/usr/lib/libstdc++-v3/libstdc++.so.5.0.6
|
I would suggest you emerge sys-libs/libstdc++-v3 |
|
| Back to top |
|
 |
svenk Tux's lil' helper


Joined: 04 Aug 2005 Posts: 97 Location: Germany
|
Posted: Sat Mar 04, 2006 8:21 pm Post subject: Opera ebuild |
|
|
I've just solved that strange opera-Problem. There are also compiled opera-versions for libstdc++.so.6, you only have to download it manually or edit/set up a new ebuild-file.
I'll describe the manual generation for an ebuild-file (instead of installing it manually you can still use portage and update opera, thats an advantage):
* Go to the opera-directory in portage: # cd /usr/portage/www-client/opera
* Copy the latest existing ebuild-file to a new one, e.g. # cp opera-8.52.ebuild opera-8.525.ebuild
* Open the new ebuild-file with your favourite text-editor and change the SRC_URI-Variable:
| Code: |
[...]
SRC_URI="
x86? ( qt-static? ( ${OPERA_URI}i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
x86? ( !qt-static? ( ${OPERA_URI}i386/shared/${PN}-${OPERAVER}.[b]6-shared-qt[/b].i386-en.tar.bz2 ) )
amd64? ( qt-static? ( ${OPERA_URI}i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
amd64? ( !qt-static? ( ${OPERA_URI}i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
sparc? ( ${OPERA_URI}sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 )
ppc? ( ${OPERA_URI}ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 )"
[...]
|
Edit the corresponding line. For example, if you use x86 and disabled the qt-static-USE-Flag, you have to edit the third line in the shown file-extract. Simply change .5-shared-qt to .6-shared-qt - that's all!
* Now we've to install that ebuild correctly into the directory. I could imagine there's a tool whats doing all the following things, but I don't know so we do it manually
- Find out the md5sum and the size in Bytes of your new ebuild-file by using the tools md5sum name-of-your-file and stat name-of-your-file. Open the file Manifest and add a line that contains
| Quote: | | MD5 The md5sum of your file filename size in bytes |
Start emerging opera by typing emerge opera. Portage will download the correct tarball but afterwards fail with something like | Code: | !!! No package digest file found: /usr/portage/www-client/opera/files/digest-opera-8.525
!!! Type "ebuild foo.ebuild digest" to generate it. |
Now of course we simply executed the recommended command or do the svenish-way (because I was too stupid to read that text ):
Find out the md5sum and the size in Bytes of the tarball by using md5sum and stat as above
Go into the files-directory in the opera-portage-directory (cd files/)
Make a new file called digest-opera-8.525 (of course you must change the version to the version of your new ebuild-file)
Fill your new file with a line MD5 The md5sum of your file filename size in bytes (thats the same play like above)
* Now simply emerge opera
enjoy
Sven _________________ people said there would be nothing else other than gentoo. I agreed, looking through my window. For many years, I've seen nothing. After smashing the window, my brain got free. Yeah, nowadays I live windowless. |
|
| Back to top |
|
 |
greggel n00b


Joined: 14 Nov 2004 Posts: 7 Location: Bonn/Germany
|
Posted: Mon Mar 06, 2006 9:25 am Post subject: |
|
|
i've got this problem after upgrading gcc from 3.3.4 to 3.4.4, upgrading system and world with the new compiler and unmerging gcc-3.3.4.
emerge libstdc++-v3!
| Code: | esearch libstdc
[ Results for search key : libstdc ]
[ Applications found : 2 ]
* sys-libs/libstdc++-v3
Latest version available: 3.3.4
Latest version installed: [ Not Installed ]
Size of downloaded files: 22,784 kB
Homepage: http://gcc.gnu.org/libstdc++/
Description: Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++
License: GPL-2 LGPL-2.1 |
after this you have to reemerge mozilla-firefox-bin. this might work with all binaries linked against libstdc++.so.5. |
|
| Back to top |
|
 |
|