← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 513482] [NEW] a java program that causes X windows to hang

 

You have been subscribed to a public bug:

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/controlC0:  mike       2288 F.... pulseaudio
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,1019c601,00100001'
   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=UUID=cbbd2f63-d2e7-4544-8995-82c9d961cacc
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
NonfreeKernelModules: nvidia
Package: linux-image-2.6.31-17-generic 2.6.31-17.54
ProcCmdLine: root=UUID=af17a3ba-39c0-4374-8f2e-5713f1f31689 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-17-generic N/A
 linux-firmware 1.25
RfKill:
 
SourcePackage: linux
Uname: Linux 2.6.31-17-generic x86_64
WpaSupplicantLog:
 
XsessionErrors:
 (gnome-settings-daemon:2312): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:2400): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2366): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (firefox:2802): GLib-WARNING **: g_set_prgname() called multiple times
 (nautilus:3057): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
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:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd05/31/2007:svn:pn:pvr:rvn:rnNF-MCP61:rvr:cvn:ct3:cvr:

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug
-- 
a java program that causes X windows to hang 
https://bugs.edge.launchpad.net/bugs/513482
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu.