application crash when click on download ... fatal error has been detected by the Java Runtime Environment:

Defects
Anonymous
2014-03-06
2014-03-08

  • Anonymous
    2014-03-06

    (EDIT: by gnosygnu to add formatting)

    Crash happening in java version 1.7 as well as in 1.8 in ubuntu 13.10 64 bit release official ubuntu kernel version 3.11.0-18-generic.
    Cannot attached crash dump file because there is not possible to attached it unfortunately.

    ------------------------------------------------------------------------------
    version: 1.3.1.1; build date: 2014-03-02 21:14
    
    arguments:
      **** NONE ****
      use --help to show help
    
    cache_mgr.init:fatal error: err=exec nonQuery failed -- sql='INSERT INTO xowa_cfg (cfg_grp, cfg_key, cfg_val) VALUES ('fsdb.cache', 'next_id', '1')' err='class java.sql.SQLException columns cfg_grp, cfg_key are not unique [java.sql.SQLException]' []
    /usr/share/themes/Loma/gtk-2.0/gtkrc:47: Murrine configuration option "hilight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
    /usr/share/themes/Loma/gtk-2.0/gtkrc:49: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored.
    /usr/share/themes/Loma/gtk-2.0/gtkrc:50: Murrine configuration option "gradients" is no longer supported and will be ignored.
    
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  SIGSEGV (0xb) at pc=0x00007fe108f7ac0a, pid=16384, tid=140604496742144
    #
    
    SIGSEGV (0xb) at pc=0x00007fe108f7ac0a, pid=16384, tid=140604496742144
    #
    # JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  [ld-linux-x86-64.so.2+0xbc0a]  _dl_rtld_di_serinfo+0x293a
    #
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # An error report file with more information is saved as:
    # /media/u1/USB2Text4/_ajbos/developer/doc/xowa/hs_err_pid16384.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    Aborted (core dumped)
    
     
    Last edit: gnosygnu 2014-03-07
  • Anselm D
    Anselm D
    2014-03-06

    @martin
    Just a question/statement before gnosygnu is able to have a look at it.

    hs_err_pid16384.log

    Your are using Java 1.7
    JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)

    but the path is set to: Java 8

    Environment Variables:
    JAVA_HOME=/usr/lib/jvm/java-8-oracle
    PATH=/usr/lib/jvm/java-8-oracle/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/u1/bin:/home/u1/bin:/home/u1/depot_tools

     
    Last edit: Anselm D 2014-03-06
  • gnosygnu
    gnosygnu
    2014-03-07

    @Anselm: Thanks for pointing it out.

    @martin: Thanks for the report and the numerous logs. Can you try changing your path as Anselm suggested?

    Also, I don't have a spare machine to set up Ubuntu 13.10. My main Linux box is Kubuntu 13.04, and I can't install anything on it at the moment.

    I did download a Ubuntu Live 13.10 version: http://releases.ubuntu.com/13.10/ubuntu-13.10-desktop-amd64.iso

    This has a slightly older kernel (3.11.0-12-generic), but I can't see the kernel version making a difference.

    I was able to run XOWA on both openjdk-7 and oracle-8 with the Live image: sh xowa_linux_64.sh

    RSI=0x00007fded976e3d0: <offset 0x3d0=""> in /media/u1/USB2Text4/_ajbos/developer/doc/xowa/bin/linux_64/xulrunner/libfreebl3.so at 0x00007fded976e000

    The logs indicate a failure at xulrunner and libfree13.so.

    XOWA packages the 64-bit xulrunner from Mozilla, so I doubt there are any problems with the libfree13.so binary.

    Can you try running it in HTTP Server mode?

    • Run "java -jar xowa_linux_64.jar --app_mode http_server --http_server_port 8080" or in your case, "/usr/lib/jvm/java-8-oracle/bin/java
      -jar /media/u1/USB2Text4/_ajbos/developer/doc/xowa/xowa/xowa_linux_64.jar --app_mode http_server --http_server_port 8080"
    • Open up a web browser and navigate to localhost:8080
    • You should get the Main_Page of the home_wiki.

    If that works, then it's definitely a XUL Runner issue. I honestly don't know what to recommend, as XUL Runner is a lower level, and I don't have much flexibility there.

    At that point, could you try it with a Live Image on your side? If it still fails, then we can investigate from there.

    Thanks

     

  • Anonymous
    2014-03-07

    --Anselm

    @martin
    I am using ubuntu 13.10 wihout any difficulties with xowa v1.3.1.1..
    But i do not really work with it, i did only the import of the german wiki and did some clicks in a few articles.
    Is there anythin i can test to reproduce it? You are running Xowa from an usb2 device? NTFS?

    My system:

    $uname -a
    Linux xyx 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    $ java -version
    java version "1.7.0_51"
    Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

    Java Installed with:
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer

    $ whereis java
    java: /usr/bin/java /usr/bin/X11/java /usr/share/java /usr/share/man/man1/java.1.gz

    No $JAVA_HOME is set

    $ $ echo $PATH
    /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/uslibfree13.so binaryr/local/games

    Cheksum of libfree13.so binary

    $ cksum bin/linux_64/xulrunner/libfreebl3.so
    1981509456 426448 bin/linux_64/xulrunner/libfreebl3.so

    Is there anyhing i can try to compare our systems?

    --Anselm

     
  • gnosygnu
    gnosygnu
    2014-03-08

    Thanks Anselm

    @martin: My checksum is also the same

    1981509456 426448

    Also, my md5sum is 2d75be7a9559b3c2cd0c214859b46e36

    Based on your stack trace, I think you'd run these commands on your machine:

    cksum /media/u1/USB2Text4/_ajbos/developer/doc/xowa/bin/linux_64/xulrunner/libfreebl3.so
    md5sum /media/u1/USB2Text4/_ajbos/developer/doc/xowa/bin/linux_64/xulrunner/libfreebl3.so
    
     


Anonymous


Cancel   Add attachments