pre6: frequent java crashes and exceptions

Subscribe to pre6: frequent java crashes and exceptions 10 post(s), 3 voice(s)

 
Avatar lophiomys 8 post(s)

On Kubuntu 8.04 / Linux 2.6.24-27-generic (all updates)
with standard Java 1.6.0_0-b11 , with ebay.at
there are frequent Java execptions in the console and repeatedly
true Java crashes with pre6. Those did not happen with pre5.

If you would want the Java crash reports, I’ll happily email them to you.

Below an excerpt from the Konsole window (please check the very end of the log):


Tue May 04 01:49:59 CEST 2010: Error loading URL (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=8041675576)
java.net.SocketTimeoutException: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1316)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1310)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:964)
at com.jbidwatcher.util.http.Http.receiveData(Http.java:168)
at com.jbidwatcher.util.http.Http.receivePage(Http.java:212)
at com.jbidwatcher.auction.server.AuctionServer.getAuction(AuctionServer.java:163)
at com.jbidwatcher.auction.server.ebay.ebayServer.getAuction(ebayServer.java:488)
at com.jbidwatcher.auction.server.AuctionServer.retrieveAuctionAlternatives(AuctionServer.java:241)
at com.jbidwatcher.auction.server.AuctionServer.loadAuction(AuctionServer.java:211)
at com.jbidwatcher.auction.server.AuctionServer.reload(AuctionServer.java:186)
at com.jbidwatcher.auction.AuctionEntry.update(AuctionEntry.java:1097)
at com.jbidwatcher.auction.Auctions.doUpdate(Auctions.java:96)
at com.jbidwatcher.auction.Auctions.doNextUpdate(Auctions.java:125)
at com.jbidwatcher.auction.Auctions.check(Auctions.java:148)
at com.jbidwatcher.ui.ListManager.checkEachList(ListManager.java:163)
at com.jbidwatcher.ui.AuctionsManager.check(AuctionsManager.java:94)
at com.jbidwatcher.util.queue.TimerHandler.run(TimerHandler.java:56)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:146)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:688)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1020)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:2125)
at com.jbidwatcher.util.http.CookieJar.handleRedirect(CookieJar.java:164)
at com.jbidwatcher.util.http.CookieJar.internal_connect(CookieJar.java:128)
at com.jbidwatcher.util.http.CookieJar.connect(CookieJar.java:107)
at com.jbidwatcher.util.http.CookieJar.connect(CookieJar.java:99)
at com.jbidwatcher.auction.server.AuctionServer.getAuction(AuctionServer.java:159)
… 11 more
Tue May 04 01:49:59 CEST 2010: Tue May 04 01:49:59 CEST 2010: 8041675576 (analoge Uhr Opel Senator B) – Communications failure talking to the server.



Tue May 04 02:15:57 CEST 2010: Time delta with ebay is -2568
scanIdentifier("", 104, 173
Tue May 04 02:29:39 CEST 2010: Form parsing failure: com.jbidwatcher.util.xml.XMLParseException: XML Parse Exception during parsing of a FORM-tag at line 1: Syntax error while parsing an attribute key ()
#

  1. An unexpected error has been detected by Java Runtime Environment:
    #
  2. SIGSEGV (0xb) at pc=0xb708d78d, pid=9827, tid=3028802448
    #
  3. Java VM: OpenJDK Client VM (1.6.0_0-b11 mixed mode, sharing linux-x86)
  4. Problematic frame:
  5. V [libjvm.so+0x29c78d]
    #
  6. An error report file with more information is saved as:
  7. /home/user/exe/JBidWatcher/hs_err_pid9827.log
    #
  8. If you would like to submit a bug report, please visit:
  9. https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
    #
    Aborted
    -————————————————————————
 
Avatar lophiomys 8 post(s)

Kubunut just published a new Java update. So let me try with the updated Java and see if the crashes go away…

 
Avatar lophiomys 8 post(s)

Using the new Sun Java
-
java version “1.6.0_20”
Java™ SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot™ Client VM (build 16.3-b01, mixed mode, sharing)
-
instead of the OpenJDK version of Java
there are no exception nor crashes any more with pre6,
as far as one can tell after 12hrs.

 
Avatar lophiomys 8 post(s)

That last post was a bit to optimistinc. It looks like this computer trys foolig me.
Sun Java crashed after a string exception.
But see yourself:
-———————————————
….
Wed May 05 12:48:09 CEST 2010: Time delta with ebay is -2100
scanIdentifier("", 104, 173
Wed May 05 12:52:49 CEST 2010: Form parsing failure: com.jbidwatcher.util.xml.XMLParseException: XML Parse Exception during parsing of a FORM-tag at line 1: Syntax error while parsing an attribute key ()
Wed May 05 13:18:09 CEST 2010: Time delta with ebay is -2472
Wed May 05 13:30:02 CEST 2010: Sum serious exception!
java.lang.ClassCastException: java.lang.String cannot be cast to com.jbidwatcher.auction.AuctionEntry
at com.jbidwatcher.ui.AuctionsUIModel.sum(AuctionsUIModel.java:227)
at com.jbidwatcher.ui.AuctionsUIModel.updateSum(AuctionsUIModel.java:143)
at com.jbidwatcher.ui.AuctionsUIModel.access$000(AuctionsUIModel.java:34)
at com.jbidwatcher.ui.AuctionsUIModel$1.valueChanged(AuctionsUIModel.java:130)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
at javax.swing.DefaultListSelectionModel.insertIndexInterval(DefaultListSelectionModel.java:615)
at javax.swing.JTable.tableRowsInserted(JTable.java:4459)
at javax.swing.JTable.tableChanged(JTable.java:4395)
at com.jbidwatcher.ui.table.TableSorter$3.run(TableSorter.java:223)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
scanIdentifier("", 104, 173
Wed May 05 13:32:52 CEST 2010: Form parsing failure: com.jbidwatcher.util.xml.XMLParseException: XML Parse Exception during parsing of a FORM-tag at line 1: Syntax error while parsing an attribute key ()
Wed May 05 13:48:11 CEST 2010: Time delta with ebay is -4353
scanIdentifier("", 104, 173
Wed May 05 14:12:55 CEST 2010: Form parsing failure: com.jbidwatcher.util.xml.XMLParseException: XML Parse Exception during parsing of a FORM-tag at line 1: Syntax error while parsing an attribute key ()
Wed May 05 14:18:08 CEST 2010: Time delta with ebay is -3229
#

  1. A fatal error has been detected by the Java Runtime Environment:
    #
  2. SIGSEGV (0xb) at pc=0xb6db66c1, pid=9216, tid=3030227856
    #
  3. JRE version: 6.0_20-b02
  4. Java VM: Java HotSpot™ Client VM (16.3-b01 mixed mode, sharing linux-x86 )
  5. Problematic frame:
  6. V [libjvm.so+0x5a6c1]
    #
  7. An error report file with more information is saved as:
  8. /home/joho/exe/JBidWatcher/hs_err_pid9216.log
    #
  9. If you would like to submit a bug report, please visit:
  10. http://java.sun.com/webapps/bugreport/crash.jsp
    #
    Aborted
    -——————————————————————————————————
 
Avatar lophiomys 8 post(s)

It’s repeatedly crashing with the new version of Sun-java, say about every 6 hours.

Wed May 05 16:37:37 CEST 2010: Need to redirect to: http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItemnext&item=260596115704.html
#

  1. A fatal error has been detected by the Java Runtime Environment:
    #
  2. SIGSEGV (0xb) at pc=0×66666666, pid=17060, tid=3029818256
    #
  3. JRE version: 6.0_20-b02
  4. Java VM: Java HotSpot™ Client VM (16.3-b01 mixed mode, sharing linux-x86 )
  5. Problematic frame:
  6. C 0×66666666
    #
  7. An error report file with more information is saved as:
  8. /home/user/exe/JBidWatcher/hs_err_pid17060.log
    #
  9. If you would like to submit a bug report, please visit:
  10. http://java.sun.com/webapps/bugreport/crash.jsp
    #
    Aborted
 
Avatar Morgan Schweers Administrator 1,204 post(s)

Greetings,
If you’re having regular segfaults with an otherwise stable version of Java (preferrably from Sun’s own site, as that’s the only JVM I trust), then you probably have a hardware problem, unfortunately. Your CPU or memory is having issues.

Especially on Linux where I’m not using any native extensions, JBidwatcher is all pure Java, which makes it more than hard to generate segfaults, since it’s all interpreted code.

I suggest running something like memtest86 or whatever the modern equivalent is. But first make sure you’re using a known-good Java from Sun.

Best of luck!

— Morgan Schweers, CyberFOX!

 
Avatar lophiomys 8 post(s)

ACK

 
Avatar lophiomys 8 post(s)

Hi
I did a memtest for 12hours: not a single error.
It could also be a problem with the network card/driver or graphics card, as Firefox also somtimes just disappears.
I’ll now try to revert to pre5 as I did not encounter those crashes with pre5.
Cheers,
/L

 
Avatar tidris 49 post(s)

Java 1.6.0_20-b02 is rock solid for me on Ubuntu 9.10 karmic.

 
Avatar lophiomys 8 post(s)

I did re-install the kernel of Kubuntu 8.04 and knetworkmanager and since then those crashes did not occurr anymore.
I checked the system logs, but there was nothing to find, that could have given a hint to the cause of those erratic crashes.
Case Closed.