java assert failure: java: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.

Bug #934001 reported by Bryan Agee
68
This bug affects 10 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Until this afternoon's updates, Netbeans 7.1 has been working fine. After dist-upgrade and reboot, netbeans crashes at the splash screen (showing "loading modules...") with xcb error.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jre-headless 6b24-1.11.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
AssertionMessage: java: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
CrashCounter: 1
Date: Thu Feb 16 22:44:54 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcCmdline: /usr/lib/jvm/default-java/bin/java -Djdk.home=/usr/lib/jvm/default-java -classpath /home/username/netbeans-7.1/platform/lib/boot.jar:/home/username/netbeans-7.1/platform/lib/org-openide-modules.jar:/home/username/netbeans-7.1/platform/lib/org-openide-util.jar:/home/username/netbeans-7.1/platform/lib/org-openide-util-lookup.jar:/home/username/netbeans-7.1/platform/lib/locale/boot_ja.jar:/home/username/netbeans-7.1/platform/lib/locale/boot_pt_BR.jar:/home/username/netbeans-7.1/platform/lib/locale/boot_ru.jar:/home/username/netbeans-7.1/platform/lib/locale/boot_zh_CN.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-modules_ja.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-modules_pt_BR.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-modules_ru.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-modules_zh_CN.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util_ja.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util-lookup_ja.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util-lookup_ru.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util_pt_BR.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util_ru.jar:/home/username/netbeans-7.1/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/default-java/lib/dt.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dnetbeans.system_http_proxy=DIRECT -Dnetbeans.system_http_non_proxy_hosts= -Dnetbeans.dirs=/home/username/netbeans-7.1/nb:./netbeans-7.1/bin/../ergonomics:/home/username/netbeans-7.1/ide:./netbeans-7.1/bin/../java:./netbeans-7.1/bin/../apisupport:./netbeans-7.1/bin/../webcommon:/home/username/netbeans-7.1/websvccommon:./netbeans-7.1/bin/../enterprise:./netbeans-7.1/bin/../mobility:./netbeans-7.1/bin/../profiler:./netbeans-7.1/bin/../python:/home/username/netbeans-7.1/php:./netbeans-7.1/bin/../identity:./netbeans-7.1/bin/../harness:./netbeans-7.1/bin/../cnd:./netbeans-7.1/bin/../dlight:./netbeans-7.1/bin/../groovy:./netbeans-7.1/bin/../extra:./netbeans-7.1/bin/../javacard:./netbeans-7.1/bin/../javafx: -Dnetbeans.home=/home/username/netbeans-7.1/platform -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -XX:MaxPermSize=384m -Xmx768m -client -Xss2m -Xms32m -XX:PermSize=32m -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true -Dsun.zip.disableMemoryMapping=true -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/username/.netbeans/7.1/var/log/heapdump.hprof org.netbeans.Main --userdir /home/username/.netbeans/7.1 --branding nb
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
Signal: 6
SourcePackage: openjdk-6
StacktraceTop:
 __assert_fail_base (fmt=<optimized out>, assertion=0x7f6453d7bda5 "!xcb_xlib_unknown_req_in_deq", file=0x7f6453d7bd92 "../../src/xcb_io.c", line=<optimized out>, function=<optimized out>) at assert.c:94
 __GI___assert_fail (assertion=0x7f6453d7bda5 "!xcb_xlib_unknown_req_in_deq", file=0x7f6453d7bd92 "../../src/xcb_io.c", line=178, function=0x7f6453d7bea0 "dequeue_pending_request") at assert.c:103
 ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
Title: java assert failure: java: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
UpgradeStatus: Upgraded to precise on 2011-12-19 (59 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
Bryan Agee (bryanagee) wrote :
Revision history for this message
Bryan Agee (bryanagee) wrote :

At least one other java app is working fine, but the netbeans installer also crashes.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __assert_fail_base (fmt=<optimized out>, assertion=0x7f6453d7bda5 "!xcb_xlib_unknown_req_in_deq", file=0x7f6453d7bd92 "../../src/xcb_io.c", line=<optimized out>, function=<optimized out>) at assert.c:94
 __GI___assert_fail (assertion=0x7f6453d7bda5 "!xcb_xlib_unknown_req_in_deq", file=0x7f6453d7bd92 "../../src/xcb_io.c", line=178, function=0x7f6453d7bea0 "dequeue_pending_request") at assert.c:103
 dequeue_pending_request (dpy=<optimized out>, req=<optimized out>) at ../../src/xcb_io.c:176
 poll_for_response (dpy=0x7f63ec4e0b20) at ../../src/xcb_io.c:302
 _XEventsQueued (dpy=0x7f63ec4e0b20, mode=<optimized out>) at ../../src/xcb_io.c:362

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in openjdk-6 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Martin Pitt (pitti)
visibility: private → public
Revision history for this message
ugtar (uokrent) wrote :

I am seeing the same problem with a home grown application running on Oracle's jvm:

$ java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)

Would this bug affect jvm's other than openjdk (the reporter of this bug and both duplicates are using openjdk 1.6)?

tags: added: running-unity
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

I tested again with Ubuntu quantal and netbeans now runs fine, with both OpenJDK 6 and 7:

$ /usr/local/netbeans-7.1/bin/netbeans --jdkhome /usr/lib/jvm/java-7-openjdk-i386/

$ /usr/local/netbeans-7.1/bin/netbeans --jdkhome /usr/lib/jvm/java-6-openjdk-i386/

$ /usr/lib/jvm/java-7-openjdk-i386/bin/java -version
java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1ubuntu1)
OpenJDK Server VM (build 23.2-b09, mixed mode)

$ /usr/lib/jvm/java-6-openjdk-i386/bin/java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-3ubuntu1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

Revision history for this message
Dave (david-niehues) wrote :

I'm still having this bug in 2015 testing an eclipse plugin in Linux Mint 17.1 and Cinnamon Desktop.

Revision history for this message
Alex Smith (asmith-b) wrote :

I am still having this issue. Ubuntu 14.04LTS.

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.