DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default Firefox 2.0 Crash Problem

Hi everyone,
I am currently using firefox 2, which is required by Eclipse's Apatana plugin.

Unfortunately, my firefox2 crashes on a regular basis with the following message:
Code:
disappearedng@192 /usr/home/disappearedng]$ firefox
LoadPlugin: failed to initialize shared library /usr/home/disappearedng/.mozilla/plugins/libflashplayer.so [Shared object "libpthread.so.0" not found, required by "libflashplayer.so"]
NP_Initialize
New
SetWindow
SetWindow
SetWindow
New
SetWindow
SetWindow
SetWindow
New
SetWindow
SetWindow
SetWindow
NewStream
WriteReady
Write
decoding...
NewStream
WriteReady
Write
decoding...
WriteReady
Write
WriteReady
Write
WriteReady
Write
WriteReady
Write
DestroyStream
Destroy
DestroyStream
Destroy
Destroy
The program 'gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 89 error_code 179 request_code 147 minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Any idea what that means
Reply With Quote
  #2   (View Single Post)  
Old 5th November 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

LoadPlugin: failed to initialize shared library /usr/home/disappearedng/.mozilla/plugins/libflashplayer.so [Shared object "libpthread.so.0" not found, required by "libflashplayer.so"]

it should really be as simple as that. It can't find the version of the posix threads library it is looking for, see $ ls /usr/lib | grep thread.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 6th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default

Code:
[disappearedng@192 /usr/home/disappearedng]$ ls /usr/lib | grep thread
libpthread.a
libpthread.so
libpthread_p.a
libthread_db.a
libthread_db.so
libthread_db.so.3
libthread_db_p.a
Unfortunately I have not been able to install flash under firefox in FreeBSD. What is this suppose to mean then? Is my firefox going to be unstable because it can't find the library of flash?
Reply With Quote
  #4   (View Single Post)  
Old 6th November 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

libpthread.so.0 looks like a linux pthread library.

do you have ports/emulators/linux_base* installed, is linuxulator working?
Reply With Quote
  #5   (View Single Post)  
Old 7th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default

Interestingly enough,

Code:
[disappearedng@192 /usr/ports/emulators/linux_base-fc4]$ pkg_info | grep linux_base
linux_base-fc-4_13  Base set of packages needed in Linux mode (for i386/amd64)
Unless I have deinstalled it and reinstalled it. So I guess libthread.so.0 does not come with linux_base-fc4 ?
Reply With Quote
  #6   (View Single Post)  
Old 7th November 2008
anemos's Avatar
anemos anemos is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ελλάδα
Posts: 53
Default

Actually it is libpthread.so.0.
Could you # find / -name "libpthread*" to see whether the lib does exist or not?
Which version of FreeBSD do you use?
Reply With Quote
  #7   (View Single Post)  
Old 7th November 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

also, whats the o/p of: pkg_info -L linux_base-fc-4_13
Reply With Quote
  #8   (View Single Post)  
Old 7th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default

Quote:
Originally Posted by anemos View Post
Actually it is libpthread.so.0.
Could you # find / -name "libpthread*" to see whether the lib does exist or not?
Which version of FreeBSD do you use?
Code:
[disappearedng@192 /usr/home/disappearedng]$ sudo  find / -name "libpthread*"
Password:
/usr/lib/libpthread.a
/usr/lib/libpthread.so
/usr/lib/libpthread_p.a
/usr/local/lib/pth/libpthread.a
/usr/local/lib/pth/libpthread.so
/usr/local/lib/pth/libpthread.so.20
/usr/local/lib/compat/libpthread.so.2
/usr/local/lib/compat/libpthread.so.1
/usr/src/lib/libthread_db/libpthread_db.c
/usr/src/lib/libthread_db/libpthread_db.h
/usr/src/lib/libthread_db/arch/amd64/libpthread_md.c
/usr/src/lib/libthread_db/arch/arm/libpthread_md.c
/usr/src/lib/libthread_db/arch/i386/libpthread_md.c
/usr/src/lib/libthread_db/arch/ia64/libpthread_md.c
/usr/src/lib/libthread_db/arch/powerpc/libpthread_md.c
/usr/src/lib/libthread_db/arch/sparc64/libpthread_md.c
/usr/src/lib/libthread_db/libpthread_db.o
/usr/src/lib/libthread_db/libpthread_md.o
/usr/src/lib/libthread_db/libpthread_db.po
/usr/src/lib/libthread_db/libpthread_md.po
/usr/src/lib/libthread_db/libpthread_db.So
/usr/src/lib/libthread_db/libpthread_md.So
/usr/compat/linux/lib/obsolete/linuxthreads/libpthread-0.10.so
/usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0
/usr/compat/linux/lib/libpthread-2.3.6.so
/usr/compat/linux/lib/libpthread.so.0
/usr/ports/devel/libpthread-stubs
/var/tmp/instmp.yuPvvZ/lib/compat/libpthread.so.1
I am using FreeBSD 7.0
Reply With Quote
  #9   (View Single Post)  
Old 7th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default

Quote:
Originally Posted by ephemera View Post
also, whats the o/p of: pkg_info -L linux_base-fc-4_13
The results are too long,
please check this pastebin:

[link]http://pastebin.com/m3aaf6cf0[/link]
Reply With Quote
Old 7th November 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

umm, is this the linux version of firefox or native?
if its native then i am not sure if its possible to use a linux library (/usr/home/disappearedng/.mozilla/plugins/libflashplayer.so) without some shim/hack.

i don't use firefox or flash on fbsd so others may be able to offer more pertinent advice.

have you checkedout this thread: http://www.daemonforums.org/showthread.php?t=2225?
Reply With Quote
Old 7th November 2008
anemos's Avatar
anemos anemos is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ελλάδα
Posts: 53
Default

Hi disappearedng,
could you also post # ls -l /usr/home/disappearedng/.mozilla/plugins/libflashplayer.so

Most probably, this must be a symlink.
Reply With Quote
Old 8th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default

Quote:
Originally Posted by anemos View Post
Hi disappearedng,
could you also post # ls -l /usr/home/disappearedng/.mozilla/plugins/libflashplayer.so

Most probably, this must be a symlink.
Code:
[disappearedng@192 /usr/home/disappearedng]$ sudo ls -l /usr/home/disappearedng/.mozilla/plugins/libflashplayer.so
Password:
-rwxr-xr-x  1 disappearedng  disappearedng  10017140 Oct 30 18:57 /usr/home/disappearedng/.mozilla/plugins/libflashplayer.so
Reply With Quote
Old 8th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default

Quote:
Originally Posted by ephemera View Post
umm, is this the linux version of firefox or native?
Native (I guess). I added it via packages using pkg_add -r firefox2.
Reply With Quote
Old 8th November 2008
anemos's Avatar
anemos anemos is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ελλάδα
Posts: 53
Default

Hi again disappearedng,
In general, it is suggested installing firefox from source using ports. So maybe trying to pkg_delete it and re-install it from ports would solve the problem. However, I still believe that the problem is either a matter of a symlink or an entry into /etc/libmap.conf. A quick search on the internet showed some quite similar issues to have been solved.
So before trying to reinstall firefox, i suggest that you have a look - there are plenty of things you cat try out, mostly related with what already mentioned.
Good luck
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fluxbox crash? HELP bsdnewbie999 OpenBSD General 9 2nd April 2009 04:35 AM
Fluxbox + Firefox = UTF8 title problem.. DNAeon FreeBSD Ports and Packages 7 10th December 2008 08:52 AM
How to Crash my FreeBSD server - run portsdb Bruco FreeBSD Ports and Packages 15 1st September 2008 06:28 PM
Java + FF3 = crash graudeejs FreeBSD Ports and Packages 12 3rd August 2008 08:26 AM
Upgrading firefox to firefox 3 -keeping plugins+bookmarks kasse FreeBSD Ports and Packages 11 5th July 2008 01:34 PM


All times are GMT. The time now is 11:39 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick