Hi,

Now I can remember. Thanks to the call stack.

You need to make a change in jvmfwk/plugins/sunmajor/pluginlib/util.cxx. This is already fixed on jre5issues. I attached a patch (diff -r 1.5 -r 1.5.6.1 util.cxx). The important line is at 1093 in rev 1.5:
1093c1099
< for(int j= 0; j < cJavaNames; j++)
---
> for(int j= 0; j < cCollectDirs; j++)


The cJavaNames must be replaced by cCollectDirs. I suppose this fixes your problem.


Regards, Joachim


eric.bachard wrote:
Hi Joachim,

Joachim Lingner a �crit :

Eric,

[bootstrap]
JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1

is read by the sunjavaplugin.so. If it is set to 1 then it does not test if a JRE has an accessibility bridge installed.


Ok

 The file sunjavapluginrc

is only available in the build environment. I doubt that this has something to do with the crash you are refering to, because in an office this file is not available at all.


Ah.... so I have a log, and you can see...

Are you able to provide a call stack for the crash?


Excuse me for the delay. Because I do builds without debug symbol (this will changes soon), it's a bit difficult to use gdb.
I have tested using soffice.bin and gdb, and using "bt" (back trace) command. Of course, if you coul'd give me some better instructions, I'll try them with pleasure.


Before to open an unnecessary issue, I have placed the log here :

<http://eric.bachard.free.fr/mac/MacOSX_m71s1/crashes/java_macosx_crash.txt>


Thank's in advance for your help


Regards, eric bachard



Index: util.cxx
===================================================================
RCS file: /cvs/udk/jvmfwk/plugins/sunmajor/pluginlib/util.cxx,v
retrieving revision 1.5
retrieving revision 1.5.6.1
diff -c -r1.5 -r1.5.6.1
*** util.cxx    16 Dec 2004 11:45:40 -0000      1.5
--- util.cxx    14 Jan 2005 10:11:43 -0000      1.5.6.1
***************
*** 2,10 ****
   *
   *  $RCSfile: util.cxx,v $
   *
!  *  $Revision: 1.5 $
   *
!  *  last change: $Author: kz $ $Date: 2004/12/16 11:45:40 $
   *
   *  The Contents of this file are made available subject to the terms of
   *  either of the following licenses
--- 2,10 ----
   *
   *  $RCSfile: util.cxx,v $
   *
!  *  $Revision: 1.5.6.1 $
   *
!  *  last change: $Author: jl $ $Date: 2005/01/14 10:11:43 $
   *
   *  The Contents of this file are made available subject to the terms of
   *  either of the following licenses
***************
*** 99,105 ****
      "j2sdk",
      "jdk",
      "jre", 
!     "java"
  };
  /* These are directory names which could contain multiple java installations.
   */
--- 99,106 ----
      "j2sdk",
      "jdk",
      "jre", 
!     "java",
!     "Home"
  };
  /* These are directory names which could contain multiple java installations.
   */
***************
*** 117,127 ****
--- 118,133 ----
     looked for.
  */
  char const *g_arSearchPaths[] = {
+ #ifdef MACOSX
+     "",
+     "System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/"
+ #else
      "",
      "usr/",
      "usr/local/",
      "usr/lib/",
      "usr/bin/"
+ #endif
  };
  }
  #endif //  UNX
***************
*** 1090,1096 ****
          DirectoryItem item;
          if(DirectoryItem::get(usDir1, item) == File::E_None)
          {
!             for(int j= 0; j < cJavaNames; j++)
              {
                  // /usr/java/
                  OUString usDir2(usDir1 + arCollectDirs[j]);
--- 1096,1102 ----
          DirectoryItem item;
          if(DirectoryItem::get(usDir1, item) == File::E_None)
          {
!             for(int j= 0; j < cCollectDirs; j++)
              {
                  // /usr/java/
                  OUString usDir2(usDir1 + arCollectDirs[j]);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to