npviewer.bin crashed with SIGSEGV

Bug #286445 reported by Perfecto on 2008-10-20
82
This bug affects 14 people
Affects Status Importance Assigned to Milestone
nspluginwrapper (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: nspluginwrapper

There was a lot of time I didn't receive this bug but it crashes again sometimes

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Disassembly: 0xff9d1e4c:
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
NonfreeKernelModules: nvidia
Package: nspluginwrapper 1.1.2-0ubuntu1
ProcAttrCurrent: unconfined
ProcCmdline: /usr/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/lib/flashplugin-nonfree/libflashplayer.so --connection /org/wrapper/NSPlugins/libflashplayer.so/15291-17
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: nspluginwrapper
Stacktrace: #0 0xff9d1e4c in ?? ()
StacktraceTop: ?? ()
ThreadStacktrace:

Title: npviewer.bin crashed with SIGSEGV
Uname: Linux 2.6.27-7-generic x86_64
UserGroups: adm admin audio cdrom clamav dialout dip fax floppy flumotion fuse gnokii lpadmin netdev plugdev sambashare scanner tape users vdr video

Perfecto (perfecto) wrote :

StacktraceTop:?? ()

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in nspluginwrapper:
importance: Undecided → Medium
status: New → Incomplete
Perfecto (perfecto) wrote :

I have installed nspluginwrapper-dbgsym

perfe@meiga64x2mv:~$ gdb --args /usr/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/lib/flashplugin-nonfree/libflashplayer.so
outputting trace to '/tmp/gdb-npviewer.bin.txt'
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

This is the contain of '/tmp/gdb-npviewer.bin.txt':
-------------------------------------------------------

Program exited with code 0177.
No stack.
The program has no registers now.
No registers.

If this is not enough I need instructions of what to do next.

Perfecto (perfecto) wrote :

I have opened another bug that I think it is related to this: 300012

Jean-Baptiste Lallement (jibel) wrote :

Could you install the package ia32-libs and tell if it still occurs.

Perfecto (perfecto) wrote :

I have it already installed.
In addition, I have installed:
ia32-libs
ia32-libs-gtk
ia32-libs-libcurl3
ia32-libs-libidn11
ia32-libs-libspnr4
ia32-libs-libnss3
ia32-libs-libssh2
ia32-libs-xulrunner

Jean-Baptiste Lallement (jibel) wrote :

What is the output of /usr/lib/nspluginwrapper/i386/linux/npviewer.bin ?

Jean-Baptiste Lallement (jibel) wrote :

Sorry for the typo, the right command is:
ldd /usr/lib/nspluginwrapper/i386/linux/npviewer.bin

Thanks

Perfecto (perfecto) wrote :

perfe@meiga64x2mv:~$ ldd /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
 linux-gate.so.1 => (0xf7ee5000)
 libgtk-x11-2.0.so.0 => not found
 libgdk-x11-2.0.so.0 => not found
 libgobject-2.0.so.0 => not found
 libdl.so.2 => /lib32/libdl.so.2 (0xf7ea7000)
 libglib-2.0.so.0 => not found
 libX11.so.6 => not found
 libXt.so.6 => not found
 libpthread.so.0 => /lib32/libpthread.so.0 (0xf7e8d000)
 libgthread-2.0.so.0 => not found
 libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7e7e000)
 libc.so.6 => /lib32/libc.so.6 (0xf7d20000)
 /lib/ld-linux.so.2 (0xf7ee6000)
perfe@meiga64x2mv:~$ ls /usr/lib/libgtk-x11-2.0.so.0
/usr/lib/libgtk-x11-2.0.so.0
perfe@meiga64x2mv:~$ ls /usr/lib/libgdk-x11-2.0.so.0
/usr/lib/libgdk-x11-2.0.so.0
perfe@meiga64x2mv:~$

and the same for the rest ...
What's happening?

It's happening that the dynamic linker is unable to locate the shared libraries.

Could you please run
sudo ldconfig -v > /tmp/ldconfig-v.log

and attach the file /tmp/ldconfig-v.log

Can you check if ldd output remains the same as above after ldconfig's run. Thanks.

Perfecto (perfecto) wrote :

perfe@meiga64x2mv:~$ sudo ldconfig -v > /tmp/ldconfig-v.log
[sudo] password for perfe:
/sbin/ldconfig.real: No se puede verificar /usr/lib/kde4/lib: No existe el fichero ó directorio
/sbin/ldconfig.real: No se puede verificar /usr/lib32/alsa-lib: No existe el fichero ó directorio
/sbin/ldconfig.real: No se puede verificar /usr/lib/libvdpau.so: No existe el fichero ó directorio
/sbin/ldconfig.real: No se puede verificar /usr/lib/libboost_python-gcc41-mt-1_34_1.so: No existe el fichero ó directorio
/sbin/ldconfig.real: No se puede verificar /usr/lib/libvdpau_trace.so: No existe el fichero ó directorio
/sbin/ldconfig.real: No se puede verificar /usr/lib/libvdpau_nvidia.so: No existe el fichero ó directorio
/sbin/ldconfig.real: No se puede verificar /usr/lib/libboost_python-gcc41-1_34_1.so: No existe el fichero ó directorio
perfe@meiga64x2mv:~$ ldd /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
 linux-gate.so.1 => (0xf7f85000)
 libgtk-x11-2.0.so.0 => not found
 libgdk-x11-2.0.so.0 => not found
 libgobject-2.0.so.0 => not found
 libdl.so.2 => /lib32/libdl.so.2 (0xf7f47000)
 libglib-2.0.so.0 => not found
 libX11.so.6 => not found
 libXt.so.6 => not found
 libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f2d000)
 libgthread-2.0.so.0 => not found
 libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7f1e000)
 libc.so.6 => /lib32/libc.so.6 (0xf7dc0000)
 /lib/ld-linux.so.2 (0xf7f86000)
perfe@meiga64x2mv:~$

Thank you. npviewer should load the libs in /usr/lib32/ and /lib32 but it finds the version in /lib and /usr/lib ( 64bit version) and can't load it. ia32-libs normally handle this but I've no amd64 to test with.

For now, a workaround might be to use LD_LIBRARY_PATH in the wrapper script to place /lib32 and /usr/lib32 before the 64bit version of the libs in the search path.

I'm marking this report as triaged since it has enough information and let the developers handle it from there. Thanks for your help.

Changed in nspluginwrapper:
importance: Medium → High
status: Incomplete → Triaged
Perfecto (perfecto) wrote :

Could you tell me which is the file name of the wrapper script? I will try to modify it while waiting for a solution.

Alexander Sack (asac) wrote :

try to reinstlal flash like:

sudo apt-get install --reinstall flashplugin-nonfree

does that help?

Alexander Sack (asac) wrote :

oh also have the nspluginwrapper isntalled before doing that.

Perfecto (perfecto) wrote :

After updating from the repositories I have tried what you said but there is no new version and logically the problem persists.
Jean-Baptiste talked about a script - "For now, a workaround might be to use LD_LIBRARY_PATH in the wrapper script to place /lib32 and /usr/lib32 before the 64bit version of the libs in the search path" - but I don't know which is the script or how to look for it to can modify the line LD_LIBRARY_PATH on my own while waiting for a new version with this little bug solved.

Changed in nspluginwrapper (Ubuntu):
status: Triaged → Confirmed
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers