You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by imacat <im...@mail.imacat.idv.tw> on 2012/08/25 07:40:26 UTC

3.4.1 Crashes on MacOS 10.7.4

Dear all,

    One of our local user (he is not good in English) reported that
3.4.1 crashes on his MacOS 10.7.4, with clean new user profile.  I have
no MacOS to test, so I reported it here to see if there is anyone that
can help.  Raphael suggested that he should turn on both 32bit and 64bit
Java.  He did, but it still crashes.

    He uses Macbook Pro 13" Intel c2d 2.26GHz.  He barely found a
message in the system log saying that:

12/8/25 12:16:52.533am soffice: Warning - conversion from 64 bit to 32
bit integral value requested within NSPortCoder, but the 64 bit value
18446744073709551615 cannot be represented by a 32 bit value

    I have no clue on this.  Could anyone help?  Or should I ask for
more information?  Thank you.

-- 
Best regards,
imacat ^_*' <im...@mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://wofoss.blogspot.com/
Apache OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids Taiwan http://www.educoo.tw/


Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Fernando Cassia <fc...@gmail.com>.
On Sat, Aug 25, 2012 at 5:05 AM, imacat <im...@mail.imacat.idv.tw> wrote:
>> Java 7 JRE for Mac OS X*
>> http://javadl.sun.com/webapps/download/AutoDL?BundleId=67389
>
>     Thank you, but that link is for 64bit Java.  Shouldn't the user
> download and install 32bit Java?

Hrmmm not sure what to tell you. I´m not a Mac user just wanted to
point out about the availability of an official Oracle Java 7 JRE for
Mac OS X since it came out in the last week or so (in fact, Java.com
hasn´t been updated yet, still shows the "Apple provides Java" message
when it senses a Mac browser user-agent).

But looking at the other Oracle JRE download site, it also shows a
single download for Mac OS X JRE...

See:
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.html

Which makes me wonder if perhaps it´s an ´universal´ installer of
sorts (for both 32bit and 64bit)?.

In any case, you lose nothing by trying (other than having a better
Java JRE than Apple´s Java6 in your system ;).

In the worst case scenario, perhaps the crash was not Java related and
we can move on with the debugging ;)

FC
-- 
During times of Universal Deceit, telling the truth becomes a revolutionary act
Durante épocas de Engaño Universal, decir la verdad se convierte en un
Acto Revolucionario
- George Orwell

Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by imacat <im...@mail.imacat.idv.tw>.
On 2012/08/25 22:46, Larry Gusaas said:
> On 2012-08-25 3:49 AM imacat wrote:
>>      Also, the user reports a screen capture to me, saying that he cannot
>> click on either the Don't Restore Windows or the Restore Windows button.
> 
> He needs to delete the file "org.openoffice.script.savedState".
> 
> Option-click the Go menu
> Choose Library from the menu to open the folder in the Finder.
> Click on the folder Saved Application State
> Delete the file org.openoffice.script.savedState
> 
> See bug report : https://issues.apache.org/ooo/show_bug.cgi?id=119006
> 

    Great news!  Our local user has reported that the problem he
encountered is solved with the above method.  It seems that it is hanged
with the previous saved state.  Thank you everyone for your time and
investigation on this. ^_*'

-- 
Best regards,
imacat ^_*' <im...@mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://wofoss.blogspot.com/
Apache OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids Taiwan http://www.educoo.tw/


Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Larry Gusaas <la...@gmail.com>.
On 2012-08-25 3:49 AM imacat wrote:
>      Also, the user reports a screen capture to me, saying that he cannot
> click on either the Don't Restore Windows or the Restore Windows button.

He needs to delete the file "org.openoffice.script.savedState".

Option-click the Go menu
Choose Library from the menu to open the folder in the Finder.
Click on the folder Saved Application State
Delete the file org.openoffice.script.savedState

See bug report : https://issues.apache.org/ooo/show_bug.cgi?id=119006

-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com
"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese



Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by imacat <im...@mail.imacat.idv.tw>.
On 2012/08/25 16:26, Fernando Cassia said:
> On Sat, Aug 25, 2012 at 5:05 AM, imacat <im...@mail.imacat.idv.tw> wrote:
>>     Thank you, but that link is for 64bit Java.  Shouldn't the user
>> download and install 32bit Java?
> 
> Hmm did some more research.
> 
> According to this:
> https://blogs.oracle.com/henrik/entry/oracle_jdk_and_javafx_sdk
> 
> ---
> Oracle's JDK and JavaFX release supports OS X Lion on any 64-bit
> capable Intel-based Mac. Specifically, ___our implementation is 64-bit
> only so it requires a 64-bit operating system___.
> 
> (snip)
> 
> What if I want a 32-bit JVM, or support for older PPC-based Macs?
> There are community efforts based on OpenJDK to build JDK 7 for other
> configurations, easily found using your favorite search engine. We
> applaud these efforts! :-)
> ---
> 
> So if I read that right Oracle´s official Java7 for OSX is 64-bit
> only, but community builds of OpenJDK (which is the same source code
> base) are provided in 32-bit version.
> 
> That means you probably want to try this
> http://code.google.com/p/openjdk-osx-build/downloads/detail?name=OpenJDK-OSX-1.7-universal-u6-jre-b24-20120813.dmg
> (there are separate builds named x64 so I guess the above is 32bit)
> 
> Source page:
> http://code.google.com/p/openjdk-osx-build/
> 
> Keep in mind I´m shooting in the dark here as I have no Mac to test.

    Thank you for the diagnosis.  I shall tell the user to try it.

    Also, the user reports a screen capture to me, saying that he cannot
click on either the Don't Restore Windows or the Restore Windows button.

https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-snc7/339560_146581208814235_962267326_o.jpg

    I suppose this dialog is generated by the system, right?  Or will
hanged OpenOffice block the dialog from receiving the focus?  (Sorry I
do not know anything about MacOS.)

> 
> Good luck!
> FC
> 


-- 
Best regards,
imacat ^_*' <im...@mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://wofoss.blogspot.com/
Apache OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids Taiwan http://www.educoo.tw/


Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Fernando Cassia <fc...@gmail.com>.
On Sat, Aug 25, 2012 at 5:05 AM, imacat <im...@mail.imacat.idv.tw> wrote:
>     Thank you, but that link is for 64bit Java.  Shouldn't the user
> download and install 32bit Java?

Hmm did some more research.

According to this:
https://blogs.oracle.com/henrik/entry/oracle_jdk_and_javafx_sdk

---
Oracle's JDK and JavaFX release supports OS X Lion on any 64-bit
capable Intel-based Mac. Specifically, ___our implementation is 64-bit
only so it requires a 64-bit operating system___.

(snip)

What if I want a 32-bit JVM, or support for older PPC-based Macs?
There are community efforts based on OpenJDK to build JDK 7 for other
configurations, easily found using your favorite search engine. We
applaud these efforts! :-)
---

So if I read that right Oracle´s official Java7 for OSX is 64-bit
only, but community builds of OpenJDK (which is the same source code
base) are provided in 32-bit version.

That means you probably want to try this
http://code.google.com/p/openjdk-osx-build/downloads/detail?name=OpenJDK-OSX-1.7-universal-u6-jre-b24-20120813.dmg
(there are separate builds named x64 so I guess the above is 32bit)

Source page:
http://code.google.com/p/openjdk-osx-build/

Keep in mind I´m shooting in the dark here as I have no Mac to test.

Good luck!
FC

-- 
During times of Universal Deceit, telling the truth becomes a revolutionary act
- George Orwell

Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by imacat <im...@mail.imacat.idv.tw>.
On 2012/08/25 15:40, Fernando Cassia said:
> On Sat, Aug 25, 2012 at 2:40 AM, imacat <im...@mail.imacat.idv.tw> wrote:
>>  I have
>> no MacOS to test, so I reported it here to see if there is anyone that
>> can help.  Raphael suggested that he should turn on both 32bit and 64bit
>> Java.  He did, but it still crashes.
> 
> Apple will no longer provide their own JRE but instead has contributed
> its code to the OpenJDK project so now Oracle is providing current and
> future versions of Java for Mac OS X.
> 
> I´d suggest you tell that user to download the latest greatest Java 7
> for Mac OS X from this URL and see if it makes any difference.
> 
> Java 7 JRE for Mac OS X*
> http://javadl.sun.com/webapps/download/AutoDL?BundleId=67389

    Thank you, but that link is for 64bit Java.  Shouldn't the user
download and install 32bit Java?

> 
> * Java 7 requires an Intel-based Mac running Mac OS X 10.7.3 (Lion) or
> later and administrator privileges
> 
> more docs here:
> http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jre.html
> FC
> 


-- 
Best regards,
imacat ^_*' <im...@mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://wofoss.blogspot.com/
Apache OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids Taiwan http://www.educoo.tw/


Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Fernando Cassia <fc...@gmail.com>.
On Sat, Aug 25, 2012 at 2:40 AM, imacat <im...@mail.imacat.idv.tw> wrote:
>  I have
> no MacOS to test, so I reported it here to see if there is anyone that
> can help.  Raphael suggested that he should turn on both 32bit and 64bit
> Java.  He did, but it still crashes.

Apple will no longer provide their own JRE but instead has contributed
its code to the OpenJDK project so now Oracle is providing current and
future versions of Java for Mac OS X.

I´d suggest you tell that user to download the latest greatest Java 7
for Mac OS X from this URL and see if it makes any difference.

Java 7 JRE for Mac OS X*
http://javadl.sun.com/webapps/download/AutoDL?BundleId=67389

* Java 7 requires an Intel-based Mac running Mac OS X 10.7.3 (Lion) or
later and administrator privileges

more docs here:
http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jre.html
FC

-- 
During times of Universal Deceit, telling the truth becomes a revolutionary act
Durante épocas de Engaño Universal, decir la verdad se convierte en un
Acto Revolucionario
- George Orwell

Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Andreas Säger <vi...@t-online.de>.
Am 25.08.2012 12:18, Rony G. Flatscher (Apache) wrote:
>
>    * Problem at hand, some Java installation on Mac, which causes problems to one person so far.
>      Shooting in the dark and pointing to untested Javas for MacOSX is not a solution, but adds to
>      the grief. So, as long as there is no correct error/problem description, please do not point to
>      "solutions" that are none. Java on MacOSX has been *very* special from the day that Apple
>      tweaked it to get it into its UI and operating system the way Apple deemed to be the "correct"
>      way. Until Sun/Oracle has not completely implemented all aspects of that special Apple Java
>      support, and tested it and made a 32-bit version available to it, I regard any "solution"
>      pointing to OpenJDK as adding confusion and problems to the table.
>

... which is why I suggested to turn off Java completely and see what 
happens. You are barking up the wrong tree.


Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Fernando Cassia <fc...@gmail.com>.
On Sat, Aug 25, 2012 at 1:24 PM, imacat <im...@mail.imacat.idv.tw> wrote:
>  What's NSPortCoder for?

I don´t know, but here another foss project, Anki, shows the same error message.
https://groups.google.com/d/topic/ankisrs/G-6KqTS5qOE/discussion
and they blame it on the "GUI toolkit".

Now I´m really confused as to wether Anki is based on OO source code
or perhaps this is a bug due to interaction with the Mac OS X GUI
Toolkit.

FC

Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by imacat <im...@mail.imacat.idv.tw>.
On 2012/08/25 23:30, Fernando Cassia said:
> On Sat, Aug 25, 2012 at 7:18 AM, Rony G. Flatscher (Apache)
> <ro...@apache.org> wrote:
>>   * Problem at hand, some Java installation on Mac, which causes problems to one person so far.
>>     Shooting in the dark and pointing to untested Javas for MacOSX is not a solution, but adds to
>>     the grief. So, as long as there is no correct error/problem description, please do not point to
>>     "solutions" that are none. Java on MacOSX has been *very* special from the day that Apple
>>     tweaked it to get it into its UI and operating system the way Apple deemed to be the "correct"
>>     way. Until Sun/Oracle has not completely implemented all aspects of that special Apple Java
>>     support, and tested it and made a 32-bit version available to it, I regard any "solution"
>>     pointing to OpenJDK as adding confusion and problems to the table.
>>
>> And a question ad MacOSX port of AOO:
> 
> If you continue lecturing me on what is appropiate or not appropiate
> to suggest to users to solve their problems, I will have no choice but
> to leave this mailing list so that enlightened users like yourself can
> point to the "right answers".
> 
> I apologize, then, for trying to help.

    Thank you, Fernando and Rony, for trying so much to help. ^^;

    I guess it's about 32bit/64bit integer transformation, though I'm
not sure.  Maybe memory leak with integer transformation?  Or falsely
assume the size of an integer?  What's NSPortCoder for?

12/8/25 12:16:52.533am soffice: Warning - conversion from 64 bit to 32
bit integral value requested within NSPortCoder, but the 64 bit value
18446744073709551615 cannot be represented by a 32 bit value

> 
> FULL STOP.
> 
> FC


-- 
Best regards,
imacat ^_*' <im...@mail.imacat.idv.tw>
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://wofoss.blogspot.com/
Apache OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids Taiwan http://www.educoo.tw/


Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Fernando Cassia <fc...@gmail.com>.
On Sat, Aug 25, 2012 at 7:18 AM, Rony G. Flatscher (Apache)
<ro...@apache.org> wrote:
>   * Problem at hand, some Java installation on Mac, which causes problems to one person so far.
>     Shooting in the dark and pointing to untested Javas for MacOSX is not a solution, but adds to
>     the grief. So, as long as there is no correct error/problem description, please do not point to
>     "solutions" that are none. Java on MacOSX has been *very* special from the day that Apple
>     tweaked it to get it into its UI and operating system the way Apple deemed to be the "correct"
>     way. Until Sun/Oracle has not completely implemented all aspects of that special Apple Java
>     support, and tested it and made a 32-bit version available to it, I regard any "solution"
>     pointing to OpenJDK as adding confusion and problems to the table.
>
> And a question ad MacOSX port of AOO:

Dear Rony Fletcher,

The OP asked for suggestions, I pointed to the Oracle official Java7
JRE for Mac OS X (which should be the Java of choice for OS X users
going forward).

Then I realized that Oracle´s Java JRE is 64-bit only, so I offered as
an alternative a link to download a 32-bit build of OpenJDK.

OpenJDK, as you are surely aware, is the underlying code of the
"official" Java from Oracle (that´s why Oracle made OpenJDK the
reference implementation of Java7).

Thus, OpenJDK is field-tested by hundreds of thousands of users
world-wide, and if there´s a bug, the more users that test it, the
better, as the bugfixes get added not only to the OpenJDK code base
but also to the freeware binaries that Oracle provider for download
both from Oracle.com and Java.com.

So, I tried to help the OP in good faith, assuming that a newer Java
has a better chance of having bugs fixed than Apple´s outdated (and on
the way out) Java6 port.

If you continue lecturing me on what is appropiate or not appropiate
to suggest to users to solve their problems, I will have no choice but
to leave this mailing list so that enlightened users like yourself can
point to the "right answers".

I apologize, then, for trying to help.

FULL STOP.

FC

Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by "Rony G. Flatscher (Apache)" <ro...@apache.org>.
On 25.08.2012 11:56, Andreas Säger wrote:
> Am 25.08.2012 09:44, Fernando Cassia wrote:
>> On Sat, Aug 25, 2012 at 4:18 AM, Andreas Säger <vi...@t-online.de> wrote:
>>> Most of this office suite runs very well without Java.
>>
>> Of course "most" does not include the database component.
>>
>> http://www.openoffice.org/download/common/java.html
>>
>> "Java is required for complete OpenOffice (OpenOffice.org)
>> functionality. Java is mainly required for the HSQLDB database engine
>> (used by our database product Base) and to make use of accessibility
>> and assistive technologies. Furthermore some wizards rely on Java
>> technology"
>>
>> FC
>>
>
> Even the database component works well without Java.
> Connect to some non-JDBC database, add queries and forms. For reporting you can still use the Calc
> component.
> The most important core functionality is still there, otherwise we could not print serial letters
> without Java.
> The Java based "wizards" are totally counterproductive anyway. They hide more functionality than
> they are able to offer.
> Mind that Java is just a major annoyance for many computer users (and for Microsoft of course). I
> ran OOo 2.x without Java for many years and I am a comparatively heavy user of Base.

Just a few, brief remarks:

  * Java adds important functionality to AOO, like it or not. There are extensions, components
    written in Java that are helpful, like it or not. The AOO scirpting framework is written in
    Java, hence removing Java removes the ability to add and use scripting languages besides Basic
    and Python. Ad database: how can you run HSQL without Java, which is the default base engine AOO
    has been using for many years now?
    Removing Java would cripple AOO bad times (for other reasons as well).

  * Problem at hand, some Java installation on Mac, which causes problems to one person so far.
    Shooting in the dark and pointing to untested Javas for MacOSX is not a solution, but adds to
    the grief. So, as long as there is no correct error/problem description, please do not point to
    "solutions" that are none. Java on MacOSX has been *very* special from the day that Apple
    tweaked it to get it into its UI and operating system the way Apple deemed to be the "correct"
    way. Until Sun/Oracle has not completely implemented all aspects of that special Apple Java
    support, and tested it and made a 32-bit version available to it, I regard any "solution"
    pointing to OpenJDK as adding confusion and problems to the table.

And a question ad MacOSX port of AOO:

  * One question I would have is: why is the MacOSX version of AOO compiled for 32-bit only? Are
    there any problems compiling and distributing a 64-bit version for MacOSX, now that the newer
    versions seem to be 64-bit ?

---rony




Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Andreas Säger <vi...@t-online.de>.
Am 25.08.2012 09:44, Fernando Cassia wrote:
> On Sat, Aug 25, 2012 at 4:18 AM, Andreas Säger <vi...@t-online.de> wrote:
>> Most of this office suite runs very well without Java.
>
> Of course "most" does not include the database component.
>
> http://www.openoffice.org/download/common/java.html
>
> "Java is required for complete OpenOffice (OpenOffice.org)
> functionality. Java is mainly required for the HSQLDB database engine
> (used by our database product Base) and to make use of accessibility
> and assistive technologies. Furthermore some wizards rely on Java
> technology"
>
> FC
>

Even the database component works well without Java.
Connect to some non-JDBC database, add queries and forms. For reporting 
you can still use the Calc component.
The most important core functionality is still there, otherwise we could 
not print serial letters without Java.
The Java based "wizards" are totally counterproductive anyway. They hide 
more functionality than they are able to offer.
Mind that Java is just a major annoyance for many computer users (and 
for Microsoft of course). I ran OOo 2.x without Java for many years and 
I am a comparatively heavy user of Base.



Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Fernando Cassia <fc...@gmail.com>.
On Sat, Aug 25, 2012 at 4:18 AM, Andreas Säger <vi...@t-online.de> wrote:
> Most of this office suite runs very well without Java.

Of course "most" does not include the database component.

http://www.openoffice.org/download/common/java.html

"Java is required for complete OpenOffice (OpenOffice.org)
functionality. Java is mainly required for the HSQLDB database engine
(used by our database product Base) and to make use of accessibility
and assistive technologies. Furthermore some wizards rely on Java
technology"

FC
-- 
During times of Universal Deceit, telling the truth becomes a revolutionary act
- George Orwell

Re: 3.4.1 Crashes on MacOS 10.7.4

Posted by Andreas Säger <vi...@t-online.de>.
Am 25.08.2012 07:40, imacat wrote:
> Dear all,
>
>      One of our local user (he is not good in English) reported that
> 3.4.1 crashes on his MacOS 10.7.4, with clean new user profile.  I have
> no MacOS to test, so I reported it here to see if there is anyone that
> can help.  Raphael suggested that he should turn on both 32bit and 64bit
> Java.  He did, but it still crashes.
>


Hi,

I would turn off any use of Java in the options panel and see if it 
still crashes. Most of this office suite runs very well without Java.

Greetings,
Andreas Säger