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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
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)
even if my problem is of a bit different nature, it's the only thread I've found containing the phrase " Problematic frame:".
Here the error message:
Problematic frame:
C [ld-linux-x86-64.so.2+0xc4cf]
In my case the problem is:
I can run Xowa (version: 2.3.2.1; build date: 2015-03-09 00:48) only successful in HTTP server mode.
After I could not import any wiki using the script mode with an existing file, I was able to download a wiki (dewiki) from wthin Xowa, the import started, then Xowa crashed. I tried the command line way of importing (I edited the "xowa_build.gfs" file) which worked well (I downloaded and decompressed the dump manually before), but Xowa still crashes when started by running the .jar or the wrapper shell script and I click on the link to the imported wiki in the navigation on the left side.
As mentiond before, in the HTTP server mode everything works well.
I attach a crash log.
I also checked the checksums of the xulrunner lib as recommended above: they are equal.
Don't hesitate to ask if anything is not clear.
Best regards
werfoxx
--------------- S Y S T E M ---------------
OS:Ubuntu 14.04 (trusty)
uname:Linux 3.16.0-31-generic #43~14.04.1-Ubuntu SMP Tue Mar 10 20:13:38 UTC 2015 x86_64
JRE version: OpenJDK Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13)
Java VM: OpenJDK 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops)
Derivative: IcedTea 2.5.4
Distribution: Ubuntu 14.04 LTS, package 7u75-2.5.4-1~trusty1
Sadly, this did not last for long: after I closed the program and started it again later, it crashed with the same error code :-(
As I don't have any programming skills and do not really understand your description which function call causes the crash, I'd like to ask if I shall report the bug to http://icedtea.classpath.org/bugzilla as recommended?
I tried to find there something similar, but without success.
Wouldn't it be more effective if you report the bug there?
Best regards
werfoxx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry to hear that. I don't think it's a bug so much as a system issue. The URL and Connection classes are pretty low-level classes.
Try the following jar. This literally isolates it to the failing lines. I list the source code below. If it still fails, we can see if the stack trace is any different. If it doesn't, it may be something else.
Thanks.
usage
C:\>java -jar C:\Url_connection_test.jar http://www.google.com
calling http://www.google.com
Response message: OK
code
publicclassUrl_connection_test{publicstaticvoidmain(String[]args){try{if(args.length==0){System.out.print("please enter a url. for example: http://www.google.com");return;}Stringurl_string=args[0];System.out.print("calling "+url_string+"\n");java.net.URLurl=newjava.net.URL(url_string);java.net.HttpURLConnectionconn=(java.net.HttpURLConnection)url.openConnection();System.out.print("Response message: "+conn.getResponseMessage());}catch(Exceptione){System.out.print(e.getMessage()+e.getStackTrace());}}}
(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.
Last edit: gnosygnu 2014-03-07
I have attached error reports
@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
@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
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?
-jar /media/u1/USB2Text4/_ajbos/developer/doc/xowa/xowa/xowa_linux_64.jar --app_mode http_server --http_server_port 8080"
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
--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
Thanks Anselm
@martin: My checksum is also the same
Also, my md5sum is 2d75be7a9559b3c2cd0c214859b46e36
Based on your stack trace, I think you'd run these commands on your machine:
Hello,
even if my problem is of a bit different nature, it's the only thread I've found containing the phrase " Problematic frame:".
Here the error message:
In my case the problem is:
I can run Xowa (version: 2.3.2.1; build date: 2015-03-09 00:48) only successful in HTTP server mode.
After I could not import any wiki using the script mode with an existing file, I was able to download a wiki (dewiki) from wthin Xowa, the import started, then Xowa crashed. I tried the command line way of importing (I edited the "xowa_build.gfs" file) which worked well (I downloaded and decompressed the dump manually before), but Xowa still crashes when started by running the .jar or the wrapper shell script and I click on the link to the imported wiki in the navigation on the left side.
As mentiond before, in the HTTP server mode everything works well.
I attach a crash log.
I also checked the checksums of the xulrunner lib as recommended above: they are equal.
Don't hesitate to ask if anything is not clear.
Best regards
werfoxx
Last edit: werfoxx 2015-03-22
Hi! Thanks for the crash log. In short, I'd guess something's wrong with your OpenJDK. I'd try reinstalling OpenJDK 7, or upgrading to OpenJDK 8.
I list more details below. Hope this helps
Hi!
Thank you for your suggestion to reinstall Java/OpenJDK, after I've done this Xowa runs again.
Best regardsmdwork
werfoxx
Cool! Thanks for confirming!
Sadly, this did not last for long: after I closed the program and started it again later, it crashed with the same error code :-(
As I don't have any programming skills and do not really understand your description which function call causes the crash, I'd like to ask if I shall report the bug to http://icedtea.classpath.org/bugzilla as recommended?
I tried to find there something similar, but without success.
Wouldn't it be more effective if you report the bug there?
Best regards
werfoxx
Sorry to hear that. I don't think it's a bug so much as a system issue. The URL and Connection classes are pretty low-level classes.
Try the following jar. This literally isolates it to the failing lines. I list the source code below. If it still fails, we can see if the stack trace is any different. If it doesn't, it may be something else.
Thanks.
usage
code
Last edit: gnosygnu 2015-03-25
Hi,
I tested the jar:
Now I removed OpenJDK 7 and installed Version 8 instead: xowa runs stable now.
Best regards
werfoxx
Strange. I expected the jar to fail as XOWA was failing at the same spot. Hopefully OpenJDK 8 works better. Thanks.