a java program that causes X windows to hang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
X.Org X server |
Won't Fix
|
High
|
|||
sun-java6 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a simple java program that causes X windows / Gnome to hang with my hardware if you perform a few simple steps.
I'm using 64 bit ubuntu, Linux Kernel 2.6.31-17-generic, with java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode). I've had the bug happening on older versions of java too (back to 1.6.0_12).
If you want me to submit this bug report to java then let me know, but this bug doesn't happen on other operating systems with java, so I think it's possibly a linux/gnome bug.
Here are the steps to reproduce the problem. You need a recent version of java 1.6 installed.
1. unzip the attached folder and cd into it.
2. run the java debugger by typing "jdb"
3. in the java debugger, type "stop at src.MainClass:45"
4. in the java debugger, type "run src.MainClass"
A window should open that displays a drop down item. Change the drop-down item from A to B. This causes X windows/Gnome to hang. The mouse pointer still moves but you can't click on anything (i.e. nothing responds to mouse-clicks).
The java code attached is the minimal code I could create that causes the problem. It took hours of crashing my OS and rebooting to get it that far, but it probably can go smaller.
ProblemType: Bug
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC660-VD Analog [ALC660-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC660-VD Analog [ALC660-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'NVidia'/'HDA NVidia at 0xfe028000 irq 22'
Mixer name : 'Realtek ALC660-VD'
Components : 'HDA:10ec0660,
Controls : 21
Simple ctrls : 13
CurrentDmesg:
[ 30.192529] eth0: no IPv6 routers present
[ 32.227378] NET: Registered protocol family 8
[ 32.227382] NET: Registered protocol family 20
[ 173.920021] Clocksource tsc unstable (delta = -180718118 ns)
Date: Wed Jan 27 21:15:41 2010
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 03ee:5617 Mitsumi
Bus 002 Device 002: ID 05bc:0102 3G Green Green Globe Co., Ltd
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
NonfreeKernelMo
Package: linux-image-
ProcCmdLine: root=UUID=
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
linux-
linux-firmware 1.25
RfKill:
SourcePackage: linux
Uname: Linux 2.6.31-17-generic x86_64
WpaSupplicantLog:
XsessionErrors:
(gnome-
(polkit-
(nautilus:2366): Eel-CRITICAL **: eel_preferences
(firefox:2802): GLib-WARNING **: g_set_prgname() called multiple times
(nautilus:3057): Eel-CRITICAL **: eel_preferences
dmi.bios.date: 05/31/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: NF-MCP61
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixT
affects: | sun-java6 (Ubuntu) → xorg (Ubuntu) |
tags: | added: karmic |
affects: | xorg (Ubuntu) → nvidia-graphics-drivers-180 (Ubuntu) |
Changed in xorg-server: | |
importance: | Unknown → High |
status: | Unknown → Won't Fix |
Changed in xorg-server: | |
importance: | High → Unknown |
Changed in xorg-server: | |
importance: | Unknown → High |
I'm not sure if this is a Java issue or a X issue.