firefox crashes with xcb_io assertion error on java applet load

Bug #590497 reported by Toke Høiland-Jørgensen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Firefox crashes when loading the java applet for internet banking at Skælskør Bank (www.sbbank.dk). The console output is the following:

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
firefox-bin: ../../src/xcb_io.c:249: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
Aborted

The crash does not occur on every load, but often enough to make the internet banking unusable. Other java applets work fine.

Version information etc:

$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

$ apt-cache policy openjdk-6-jre
openjdk-6-jre:
  Installed: 6b18-1.8-0ubuntu1
  Candidate: 6b18-1.8-0ubuntu1
  Version table:
 *** 6b18-1.8-0ubuntu1 0
        500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy firefox
firefox:
  Installed: 3.6.3+nobinonly-0ubuntu4
  Candidate: 3.6.3+nobinonly-0ubuntu4
  Version table:
 *** 3.6.3+nobinonly-0ubuntu4 0
        500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Matthias Klose (doko) wrote :

please recheck with the openjdk-6 packages found in
deb http://ppa.launchpad.net/openjdk/ppa/ubuntu lucid main

Changed in openjdk-6 (Ubuntu):
status: New → Incomplete
Revision history for this message
Toke Høiland-Jørgensen (tohojo) wrote :

The problem persists when using the openjdk-6 packages from the ppa:

$ firefox
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-2lucid5)
OpenJDK Client VM (build 16.0-b13, mixed mode, sharing)
document not found!
cookie not found!
java.lang.InterruptedException
 at java.lang.Object.wait(Native Method)
 at java.lang.Object.wait(Object.java:502)
 at java.awt.EventQueue.invokeAndWait(EventQueue.java:995)
 at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1351)
 at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:691)
 at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649)
 at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)
 at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)
firefox-bin: ../../src/xcb_io.c:249: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
Aborted

$ apt-cache policy openjdk-6-jre
openjdk-6-jre:
  Installed: 6b18-1.8-2lucid5
  Candidate: 6b18-1.8-2lucid5
  Version table:
 *** 6b18-1.8-2lucid5 0
        500 http://ppa.launchpad.net/openjdk/ppa/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
     6b18-1.8-0ubuntu1 0
        500 http://mirrors.dotsrc.org/ubuntu/ lucid/main Packages

Revision history for this message
Matthias Klose (doko) wrote :

openjdk-6 was updated again in lucid. please could you recheck and describe how the applet can be reached/loaded on this page?

Revision history for this message
Toke Høiland-Jørgensen (tohojo) wrote : Re: [Bug 590497] Re: firefox crashes with xcb_io assertion error on java applet load

Still the same crash and error messsage:

firefox-bin: ../../src/xcb_io.c:249: process_responses: Assertion
`(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)'
failed.

$ apt-cache policy openjdk-6-jre
openjdk-6-jre:
   Installed: 6b18-1.8-4ubuntu3
   Candidate: 6b18-1.8-4ubuntu3
   Version table:
  *** 6b18-1.8-4ubuntu3 0
         500 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
         100 /var/lib/dpkg/status
      6b18-1.8-0ubuntu1 0
         500 http://dk.archive.ubuntu.com/ubuntu/ lucid/main Packages

The link for the applet is:

http://www.sbbank.dk/sbbank/data.nsf/webDocuments/0520DA1A046CB32BC12570850035B83B

There's a language selector on the right-hand side of the page.

You need to enter a user number (for me 12345678999 worked) and select
"I have used Netbank before". After that you will be redirected to the
page with the applet. The applet is signed by web60.prod.bec.dk - it
won't load unless cookies and javascript are allowed for both
sbbank.dk and bec.dk

As I mentioned above it's not *every* time the applet loads that the
crash occurs, to if it doesn't crash right away, try a few more times ;)

Revision history for this message
Eugene Savelov (savelov) wrote :

I tried to reproduce the error for bank app, but the applet just froze for me, with a stacktrace -

WARNING: Exception on Toolkit thread
java.lang.NullPointerException
        at sun.awt.X11.XEmbeddedFramePeer.getAbsoluteX(XEmbeddedFramePeer.java:265)
        at sun.awt.X11.XBaseWindow.getAbsoluteX(XBaseWindow.java:1159)
        at sun.awt.X11.XBaseWindow.toOtherWindow(XBaseWindow.java:746)
        at sun.awt.X11.XBaseWindow.toGlobal(XBaseWindow.java:784)
        at sun.awt.X11.XBaseWindow.toGlobal(XBaseWindow.java:767)
        at sun.awt.X11.XBaseWindow.toGlobal(XBaseWindow.java:758)
        at sun.awt.X11.XEmbeddedFramePeer.handleConfigureNotifyEvent(XEmbeddedFramePeer.java:136)
        at sun.awt.X11.XBaseWindow.dispatchEvent(XBaseWindow.java:1106)
        at sun.awt.X11.XBaseWindow.dispatchToWindow(XBaseWindow.java:1063)
        at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:520)
        at sun.awt.X11.XToolkit.run(XToolkit.java:615)
        at sun.awt.X11.XToolkit.run(XToolkit.java:550)
        at java.lang.Thread.run(Thread.java:636)

Revision history for this message
Toke Høiland-Jørgensen (tohojo) wrote :

* Eugene Savelov <email address hidden> [2010-08-24 04:55:09 -0000]:

> I tried to reproduce the error for bank app, but the applet just froze
> for me, with a stacktrace -

I have had to switch the users of the applet over to Suns Java version
(which works), so unfortunately I am unable to provide further
information on this issue, apart from the links I've already posted.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openjdk-6 (Ubuntu) because there has been no activity for 60 days.]

Changed in openjdk-6 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.