(I'm the current nspluginwrapper upstream maintainer. Came across this report via Google Alerts.)
If you're running nspluginwrapper 1.2.2, I strongly recommend using a more stable release. Versions before the 1.4.x series have many many known bugs and race conditions. That said, I don't think I fixed anything relating to NP_GetMIMEDescription, so 1.2.x should be the same here. (Not sure where you're getting that 1.2.2 is trunk. The project home page is http://nspluginwrapper.org/ ) I don't seem to be able to reproduce your results, either with 1.4.4 or 1.2.2. I modified your test program to use argv[1] instead of a hard- coded string and got: $ gcc test.c -o test64 -ldl $ gcc test.c -o test32 -m32 -ldl $ ./test32 ./npica.so No plugin version Got NP_GetMIMEDescription: 0xf77a2590 Got MIME description: application/x-ica:ica:Handles ICA connections Got NP_GetValue: 0xf77a2420 $ ./test64 ./npwrapper.npica.so No plugin version Got NP_GetMIMEDescription: 0x7f411cee0a80 Got MIME description: application/x-ica:ica:Handles ICA connections Got NP_GetValue: 0x7f411cee0370 $ ./test64 ./npwrapper.npica-1.2.2.so No plugin version Got NP_GetMIMEDescription: 0x7fc2fc16c040 Got MIME description: application/x-ica:ica:Handles ICA connections Got NP_GetValue: 0x7fc2fc16be60 I notice that your program in the first script uses "/usr/OOO/ICAClient/npica.so". Did you possibly rename npwrapper.npica.so between the two runs? The generated wrapper plugin doesn't actually contain the original plugin and just uses the path you installed it with. It's possible you're getting all the NULLs because it can't find the original 32-bit plugin anymore. (Huh, I was not aware of NP_GetPluginVersion. I'll modify nspluginwrapper to wrap it sometime. Although it doesn't seem to be used by any plugin I can find.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/856993 Title: NP_GetMIMEDescription returns NULL in x86_64 instrumented Citrix ICA client npwrapper.npica.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/856993/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
