Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213304 - www-plugins/nspluginwrapper segfaults
Summary: www-plugins/nspluginwrapper segfaults
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 19:41 UTC by Ákos Maróy
Modified: 2009-08-21 15:08 UTC (History)
2 users (show)

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 Ákos Maróy 2008-03-13 19:41:49 UTC
when issuing the following command, it segfaults:

# nspluginwrapper -l
Segmentation fault


Reproducible: Always

Steps to Reproduce:
1. issue: nspluginwrapper -l
2.
3.

Actual Results:  
the program segfaults

Expected Results:  
should execute fine

the end of the strace output is:

open("/usr/lib/libSM.so.6", O_RDONLY)   = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\37\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=34912, ...}) = 0
mmap(NULL, 2130304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b36e3d14000
mprotect(0x2b36e3d1c000, 2093056, PROT_NONE) = 0
mmap(0x2b36e3f1b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7000) = 0x2b36e3f1b000
close(4)                                = 0
open("/usr/lib/libICE.so.6", O_RDONLY)  = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300S\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=94048, ...}) = 0
mmap(NULL, 2203904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b36e3f1d000
mprotect(0x2b36e3f33000, 2093056, PROT_NONE) = 0
mmap(0x2b36e4132000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x15000) = 0x2b36e4132000
mmap(0x2b36e4134000, 12544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b36e4134000
close(4)                                = 0
mprotect(0x2b36e4132000, 4096, PROT_READ) = 0
mprotect(0x2b36e3f1b000, 4096, PROT_READ) = 0
mprotect(0x2b36e3b0b000, 4096, PROT_READ) = 0
mprotect(0x2b36e36e3000, 8192, PROT_READ) = 0
mprotect(0x2b36e33c2000, 4096, PROT_READ) = 0
set_tid_address(0x2b36e297bb90)         = 16966
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-suspend2-r2 x86_64)
=================================================================
System uname: 2.6.22-suspend2-r2 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Wed, 12 Mar 2008 10:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en hu ja"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay1 /usr/local/portage/wolf31o2 /home/maroy/src/tyrell/src/corpora/src/tmote/src/tinyos-2-overlay /usr/local/portage/lu_zero /home/maroy/src/euedge/src/oss/svn.oss.euedge.com/packages/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aiglx alsa amd amd64 anthy apache2 automount avahi avi bash-completion bitmap-fonts bluetooth branding bzip2 cairo cdr cjk cli cpudetection cracklib crypt cups dbus dhcp dlloader dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam fbsplash ffmpeg firefox flac gdbm gif gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml hal http ical iconv ieee1394 immqt-bc ipv6 irda isdnlog java javacomm jpeg kerberos lcms ldap libcaca libg++ libnotify live logrotate mad midi mikmod mmx mp3 mp4live mpeg mpeg2 mplayer msn mudflap mysql ncurses network networkmanager nls nptl nptlonly nsplugin obex ogg openal opengl openmp oracle oss pam pcre pdf pdflib perl player plotutils png postgres postscript ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtsp sdl session smp sms spell spl sse sse2 ssl stream subtitles svg tcpd theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode urandom usb v4l v4l2 vim vim-syntax vorbis wma x264 xml xorg xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu ja" USERLAND="GNU" VIDEO_CARDS="dummy fglrx radeon v4l vesa vmware fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-13 22:19:30 UTC
Reopen with emerge --info and a backtrace; thanks.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Ákos Maróy 2008-03-13 22:27:30 UTC
see the emerge --info in the original post

as for the backtrack - strange enough, but the ebuild ignores the CFLAGS set in /etc/make.conf , so I don't know how to create a build with debug info, so as to have a meaningful bt. please advise.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-13 22:31:08 UTC
As said above; reopen with a backtrace.
Comment 4 Ákos Maróy 2008-03-14 06:56:29 UTC
see my comment: _how_ do I create a backtrace?

the documentation provided does not allow me to create a backtrace.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-14 07:13:11 UTC
See Comment #1, it has a detailed howto. If that's not clear enough, then 
see http://www.gentoo.org/main/en/support.xml and ask for help with producing a backtrace there.
Comment 6 Ákos Maróy 2008-03-14 07:25:18 UTC
do you actually read my comments?

I did follow the documentation, and as noted already, it doesn't yield to a backtrace, as the nspluginwrapper ebuild seems to totally disregard the CFLAGS setting in /etc/make.conf. and this is what is said in the documentation, to add -ggdb to CFLAGS.

I did, and it doesn't work with this ebuild.

how shall I put it in any other way to convey this information? the documentation provided does not result in an nspluginwrapper with debug symbols, thus can't produce a backtrace with symbols. (can send you a backtrace without them, but I guess that's not of much use)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-03-14 07:39:08 UTC
Sigh.

This already compiles w/ -g (hardcoded), but you obviously won't get any useful backtrace unless you compile this w/ FEATURES="nostrip", as written on that guide I've already referred to a couple of times but which you've stopped reading after the first paragraph apparently and instead opted for reopening this bug over and over again without providing any info required to actually debug your issue.


Comment 8 Ákos Maróy 2008-03-14 09:47:09 UTC
strange enough - I figured if the first step doesn't go through, there's no use going on. but you're right, I'm sorry, here's the backtrack:

Program received signal SIGSEGV, Segmentation fault.
0x00002ac9428e8490 in __pthread_initialize_minimal () from /lib/libpthread.so.0
(gdb) bt
#0  0x00002ac9428e8490 in __pthread_initialize_minimal ()
   from /lib/libpthread.so.0
#1  0x00002ac9428e7e49 in ?? () from /lib/libpthread.so.0
#2  0x00002ac94075b0d2 in ?? ()
   from /usr/lib/nsbrowser/plugins/npwrapper.nphelix.so
#3  0x00002ac93f7d0c8b in ?? () from /lib64/ld-linux-x86-64.so.2
#4  0x00002ac93f7d0e15 in ?? () from /lib64/ld-linux-x86-64.so.2
#5  0x00002ac93f7d4b40 in ?? () from /lib64/ld-linux-x86-64.so.2
#6  0x00002ac93f7d0916 in ?? () from /lib64/ld-linux-x86-64.so.2
#7  0x00002ac93f7d4347 in ?? () from /lib64/ld-linux-x86-64.so.2
#8  0x00002ac93f9e0faa in ?? () from /lib/libdl.so.2
#9  0x00002ac93f7d0916 in ?? () from /lib64/ld-linux-x86-64.so.2
#10 0x00002ac93f9e132d in ?? () from /lib/libdl.so.2
#11 0x00002ac93f9e0f22 in dlopen () from /lib/libdl.so.2
#12 0x000000000040148b in is_wrapper_plugin ()
#13 0x0000000000401597 in is_wrapper_plugin_0 ()
#14 0x00000000004013ab in process_plugin_dir ()
#15 0x0000000000401444 in process_list ()
#16 0x000000000040375d in main ()
Comment 9 Patrick McLean gentoo-dev 2008-03-14 20:34:39 UTC
Try deleting /usr/lib/nsbrowser/plugins/npwrapper.nphelix.so and uninstalling helixplayer temporarily.
Comment 10 Daniel G 2008-03-15 14:12:10 UTC
Hi,
I have a similar case here.
I removed everything that creates a plugin in /usr/lib32/nsbrowser/plugins or /usr/lib64/nsbrowser/plugins. Then re-emerged nspluginwrapper with -O0 -ggdb and FEATURES="nostrip". Then emerge netscape-flash. And now comes the critical step which causes the SIGSEGV:
nspluginwrapper -i /usr/lib32/nsbrowser/plugins/libflashplayer.so

After this I end up getting this unuseful backtrace:

gdb --args nspluginwrapper -l
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/nspluginwrapper -l
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff94bfd000
[Thread debugging using libthread_db enabled]
[New Thread 0x2ae0166ffb00 (LWP 30938)]
Error while reading shared library symbols:
Cannot find new threads: generic error

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2ae0166ffb00 (LWP 30938)]
0x0000000000404c81 in update_plugin (plugin_path=0x7fff94b04420 "\021")
    at /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:867
867     /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c: No such file or directory.
        in /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c
(gdb) bt
#0  0x0000000000404c81 in update_plugin (plugin_path=0x7fff94b04420 "\021")
    at /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:867
#1  0x0000000000404251 in process_plugin_dir (plugin_dir=0x4057a0 "/usr/lib/nsbrowser/plugins", test=0x403eb7 <is_wrapper_plugin_0>,
    process=0x404d57 <list_plugin>)
    at /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:670
#2  0x0000000000405026 in process_list (argvc=0, argv=0x7fff94b06b68)
    at /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:957
#3  0x000000000040545f in main (argc=2, argv=0x7fff94b06b58)
    at /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:1085

emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
Timestamp of tree: Sat, 15 Mar 2008 11:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O0 -march=nocona -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O0 -march=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ "
LINGUAS="en he"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ansi apache2 arts audiofile bash-completion berkdb bidi bzip2 c++ cairo cdda cddb cdr chm clamav cli cracklib crypt cups daap darcs dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran gd gdbm gif git glitz gnome gpm gstreamer gtk hal htmlhandbook iconv imagemagick ipod ipv6 isdnlog jpeg jpeg2k kde kerberos ldap lm_sensors mad math midi mikmod mmx mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl sdl-image session sndfile spell spl sse sse2 ssl stream subversion svg tcpd theora threads tiff tk truetype unicode upnp v4l vcd vorbis winbind x264 xcomposite xml xorg xosd xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Any idea how this can be fixed?
Comment 11 Jamal Natour 2008-03-15 19:16:40 UTC
Hi,

This is down to unsafe use of dlopen in net-wwww/nspluginwrapper.

A fix and description of the problem can be found here http://bugs.gentoo.org/show_bug.cgi?id=212850


J

(In reply to comment #10)
> Hi,
> I have a similar case here.
> I removed everything that creates a plugin in /usr/leib32/nsbrowser/plugins or
> /usr/lib64/nsbrowser/plugins. Then re-emerged nspluginwrapper with -O0 -ggdb
> and FEATURES="nostrip". Then emerge netscape-flash. And now comes the critical
> step which causes the SIGSEGV:
> nspluginwrapper -i /usr/lib32/nsbrowser/plugins/libflashplayer.so
> 
> After this I end up getting this unuseful backtrace:
> 
> gdb --args nspluginwrapper -l
> GNU gdb 6.7.1
> Copyright (C) 2007 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-pc-linux-gnu"...
> Using host libthread_db library "/lib/libthread_db.so.1".
> (gdb) run
> Starting program: /usr/bin/nspluginwrapper -l
> warning: no loadable sections found in added symbol-file system-supplied DSO at
> 0x7fff94bfd000
> [Thread debugging using libthread_db enabled]
> [New Thread 0x2ae0166ffb00 (LWP 30938)]
> Error while reading shared library symbols:
> Cannot find new threads: generic error
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x2ae0166ffb00 (LWP 30938)]
> 0x0000000000404c81 in update_plugin (plugin_path=0x7fff94b04420 "\021")
>     at
> /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:867
> 867    
> /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:
> No such file or directory.
>         in
> /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c
> (gdb) bt
> #0  0x0000000000404c81 in update_plugin (plugin_path=0x7fff94b04420 "\021")
>     at
> /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:867
> #1  0x0000000000404251 in process_plugin_dir (plugin_dir=0x4057a0
> "/usr/lib/nsbrowser/plugins", test=0x403eb7 <is_wrapper_plugin_0>,
>     process=0x404d57 <list_plugin>)
>     at
> /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:670
> #2  0x0000000000405026 in process_list (argvc=0, argv=0x7fff94b06b68)
>     at
> /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:957
> #3  0x000000000040545f in main (argc=2, argv=0x7fff94b06b58)
>     at
> /var/tmp/portage/net-www/nspluginwrapper-0.9.91.5-r1/work/nspluginwrapper-0.9.91.5/src/npw-config.c:1085
> 
> emerge --info
> Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
> 2.6.23-gentoo-r9 x86_64)
> =================================================================
> System uname: 2.6.23-gentoo-r9 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @
> 2.66GHz
> Timestamp of tree: Sat, 15 Mar 2008 11:30:01 +0000
> ccache version 2.4 [enabled]
> app-shells/bash:     3.2_p17-r1
> dev-java/java-config: 1.3.7, 2.1.4
> dev-lang/python:     2.4.4-r9, 2.5.1-r5
> dev-python/pycrypto: 2.0.1-r6
> dev-util/ccache:     2.4-r7
> sys-apps/baselayout: 1.12.11.1
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.61-r1
> sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
> sys-devel/binutils:  2.18-r1
> sys-devel/gcc-config: 1.4.0-r4
> sys-devel/libtool:   1.5.26
> virtual/os-headers:  2.6.23-r3
> ACCEPT_KEYWORDS="amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O0 -march=nocona -pipe -ggdb"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config
> /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
> /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
> /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
> /etc/texmf/web2c /etc/udev/rules.d"
> CXXFLAGS="-O0 -march=nocona -pipe -ggdb"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
> strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ "
> LINGUAS="en he"
> MAKEOPTS="-j5"
> PKGDIR="/usr/portage/packages"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
> --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="X a52 aac acl acpi alsa amd64 ansi apache2 arts audiofile bash-completion
> berkdb bidi bzip2 c++ cairo cdda cddb cdr chm clamav cli cracklib crypt cups
> daap darcs dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg
> firefox flac fortran gd gdbm gif git glitz gnome gpm gstreamer gtk hal
> htmlhandbook iconv imagemagick ipod ipv6 isdnlog jpeg jpeg2k kde kerberos ldap
> lm_sensors mad math midi mikmod mmx mp3 mp4 mpeg mudflap mysql ncurses nls nptl
> nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3
> qt3support qt4 quicktime readline reflection samba sdl sdl-image session
> sndfile spell spl sse sse2 ssl stream subversion svg tcpd theora threads tiff
> tk truetype unicode upnp v4l vcd vorbis winbind x264 xcomposite xml xorg xosd
> xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
> bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
> intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
> hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
> share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
> authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
> authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
> dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
> headers include info log_config logio mem_cache mime mime_magic negotiation
> rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
> ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
> text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
> LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
> PORTDIR_OVERLAY
> 
> Any idea how this can be fixed?
> 

Comment 12 R Bar-On 2008-05-23 14:21:54 UTC
Your ebuild works, but running nspluginwrapper -v -i /usr/lib32/nsbrowser/plugins/libflashplayer.so doesn't install the plugin on my machine.
Comment 13 Patrick McLean gentoo-dev 2009-08-21 15:08:13 UTC
Please test www-plugins/nspluginwrapper-1.2.2 and reopen if it still has this.