Issue 110747 - extensions: mozilla plugin not working on 64bits
Summary: extensions: mozilla plugin not working on 64bits
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 3.2
Hardware: PC (x86_64) All
: P2 Trivial (vote)
Target Milestone: OOo 3.2.1
Assignee: mikhail.voytenko
QA Contact: issues@framework
URL:
Keywords: regression
Depends on:
Blocks: 109046
  Show dependency tree
 
Reported: 2010-04-09 18:45 UTC by rene
Modified: 2010-05-22 17:49 UTC (History)
4 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
try this (392 bytes, patch)
2010-04-10 14:43 UTC, caolanm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description rene 2010-04-09 18:45:42 UTC
[ saw this first in the Debian packages but Mechtilde confirms it for
the vanilla version, too ]

Hi,

rene@frodo:~/.mozilla/plugins$ ls -l
insgesamt 0
lrwxrwxrwx 1 rene rene 45  9. Apr 19:03 libnpsoplugin.so ->
/opt/openoffice.org3/program/libnpsoplugin.so

Ok, so the plugin is activated (and about:plugins in Firefox confims this).

Though the plugin does not work; it just prints the usual "...", does start a
soffice.bin and after a long (longer than "normal") time Firefox thinks it's
done. There's nothing shown, though.

System is Debian unstable amd64, Firefox (well, Iceweasel) 3.5.6.

Works with the 32-bit version of my packages, but not with the 64bit one;
64bit also fails for vanilla, I would bet it also would work for 32bit vanilla,
but have yet to try that.

Regards,

Rene
Comment 1 rene 2010-04-09 18:46:55 UTC
eh, sorry, 3.5.8...
Comment 2 rene 2010-04-09 20:57:01 UTC
yes, 32bit vanilla works. As said, 64bit not...
Comment 3 rene 2010-04-10 00:25:39 UTC
I think P3 is too low for it being completely broken on x86_64...
Comment 4 rene 2010-04-10 00:33:52 UTC
This is most probably a regression. I don't remember though when it last worked
- but it *did* work once I think..
Comment 5 caolanm 2010-04-10 12:06:00 UTC
Hmm, I seem to recall it working at some stage. I might have a look at it on
Mon. I did fix something at some stage to get 64bit firefox plugins working
inside OOo, maybe I broke the 64 bit OOo firefox plugin. Hopefully not my fault :-)
Comment 6 caolanm 2010-04-10 14:43:58 UTC
Created attachment 68853 [details]
try this
Comment 7 caolanm 2010-04-10 14:48:27 UTC
A instance_id is of type "plugin_Int32" which isn't a Int32, its a "unsigned
long int" so converting to an Int32 is bustage. GetParent returns a long, so
easiest thing to do is make find_cur_node take a long, and problem goes away I
think.
Comment 8 rene 2010-04-12 00:59:56 UTC
regression -> should be fixed in 3.2.1
Comment 9 rene 2010-04-12 01:17:39 UTC
yes, the patch fixes it
Comment 10 philipp.lohmann 2010-04-12 10:17:53 UTC
@mav: please have a look
Comment 11 mikhail.voytenko 2010-04-12 10:22:50 UTC
Thank you for the patch. I will integrate it in one of the next show-stopper cws's.
Comment 12 mikhail.voytenko 2010-04-14 09:34:56 UTC
Integrated in fwk140.
Comment 13 mikhail.voytenko 2010-04-14 11:30:21 UTC
The patch is in cws, setting to verified as development issue.
Comment 14 caolanm 2010-05-22 17:49:36 UTC
closing, integrated DEV300_m78 and OOO320_m16