Main window doesn't appear, CPU usage at 100% (after config file created on first run)

Bug #986372 reported by oldfred
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openyahtzee (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Precise by Daniel Letzeisen

Bug Description

Using 12.04 with fall-back mode and nVidia proprietary driver.
openyahtzee (1.9-1) unstable; urgency=low

top - 14:40:38 up 1 day, 23:23, 1 user, load average: 0.56, 0.50, 0.44
Tasks: 153 total, 2 running, 151 sleeping, 0 stopped, 0 zombie
Cpu(s): 50.2%us, 0.2%sy, 0.0%ni, 49.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4048544k total, 3848720k used, 199824k free, 1251984k buffers
Swap: 7268664k total, 1768k used, 7266896k free, 1836364k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22404 fred 20 0 327m 12m 10m R 0.3 0:13.65 openyahtzee
   10 root 20 0 0 0 0 S 0 0.0 0:03.44 ksoftirqd/1
 1309 root 20 0 158m 54m 18m S 0 1.4 19:48.19 Xorg
22410 fred 20 0 568m 17m 11m S 0 0.4 0:00.19 gnome-terminal
22471 fred 20 0 17332 1316 948 R 0 0.0 0:00.01 top
    1 root 20 0 24460 2008 1348 S 0 0.0 0:00.66 init

fred@fred-Precise:~$ echo $PATH
/home/fred/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
fred@fred-Precise:~$ whereis openyahtzee
openyahtzee: /usr/games/openyahtzee /usr/share/man/man6/openyahtzee.6.gz
fred@fred-Precise:~$

fred@fred-Precise:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"

ProblemType: Bug
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
Date: Fri Apr 20 15:12:20 2012
Dependencies:
 coreutils 8.13-3ubuntu3
 debconf 1.5.42ubuntu1
 debianutils 4.2.1ubuntu2
 dpkg 1.16.1.2ubuntu7
 fontconfig 2.8.0-3ubuntu9
 fontconfig-config 2.8.0-3ubuntu9
 gcc-4.6-base 4.6.3-1ubuntu5
 iso-codes 3.31-1
 libacl1 2.2.51-5ubuntu1
 libatk1.0-0 2.4.0-0ubuntu1
 libatk1.0-data 2.4.0-0ubuntu1
 libattr1 1:2.4.46-5ubuntu1
 libavahi-client3 0.6.30-5ubuntu2
 libavahi-common-data 0.6.30-5ubuntu2
 libavahi-common3 0.6.30-5ubuntu2
 libbz2-1.0 1.0.6-1
 libc-bin 2.15-0ubuntu9
 libc6 2.15-0ubuntu9
 libcairo2 1.10.2-6.1ubuntu2
 libcomerr2 1.42-1ubuntu2
 libcups2 1.5.2-9ubuntu1
 libdatrie1 0.2.5-3
 libdb5.1 5.1.25-11build1
 libdbus-1-3 1.4.18-1ubuntu1
 libdrm2 2.4.32-1ubuntu1
 libelf1 0.152-1ubuntu3
 libexpat1 2.0.1-7.2ubuntu1
 libffi6 3.0.11~rc1-5
 libfontconfig1 2.8.0-3ubuntu9
 libfreetype6 2.4.8-1ubuntu2
 libgcc1 1:4.6.3-1ubuntu5
 libgcrypt11 1.5.0-3
 libgdk-pixbuf2.0-0 2.26.1-1
 libgdk-pixbuf2.0-common 2.26.1-1
 libgl1-mesa-glx 8.0.2-0ubuntu3
 libglapi-mesa 8.0.2-0ubuntu3
 libglib2.0-0 2.32.1-0ubuntu2
 libgnutls26 2.12.14-5ubuntu3
 libgpg-error0 1.10-2ubuntu1
 libgssapi-krb5-2 1.10+dfsg~beta1-2
 libgstreamer-plugins-base0.10-0 0.10.36-1
 libgstreamer0.10-0 0.10.36-1ubuntu1
 libgtk2.0-0 2.24.10-0ubuntu6
 libgtk2.0-common 2.24.10-0ubuntu6
 libice6 2:1.0.7-2build1
 libjasper1 1.900.1-13
 libjpeg-turbo8 1.1.90+svn733-0ubuntu4
 libjpeg8 8c-2ubuntu7
 libk5crypto3 1.10+dfsg~beta1-2
 libkeyutils1 1.5.2-2
 libkrb5-3 1.10+dfsg~beta1-2
 libkrb5support0 1.10+dfsg~beta1-2
 liblzma5 5.1.1alpha+20110809-3
 liborc-0.4-0 1:0.4.16-1ubuntu2
 libp11-kit0 0.12-2ubuntu1
 libpam-modules 1.1.3-7ubuntu2
 libpam-modules-bin 1.1.3-7ubuntu2
 libpam0g 1.1.3-7ubuntu2
 libpango1.0-0 1.30.0-0ubuntu2
 libpcre3 8.12-4
 libpixman-1-0 0.24.4-1
 libpng12-0 1.2.46-3ubuntu4
 libselinux1 2.1.0-4.1ubuntu1
 libsm6 2:1.2.0-2build1
 libsqlite3-0 3.7.9-2ubuntu1
 libstdc++6 4.6.3-1ubuntu5
 libtasn1-3 2.10-1ubuntu1
 libthai-data 0.1.16-3
 libthai0 0.1.16-3
 libtiff4 3.9.5-2ubuntu1
 libtinfo5 5.9-4
 libuuid1 2.20.1-1ubuntu3
 libwxbase2.8-0 2.8.12.1-6ubuntu2
 libwxgtk2.8-0 2.8.12.1-6ubuntu2
 libx11-6 2:1.4.99.1-0ubuntu2
 libx11-data 2:1.4.99.1-0ubuntu2
 libx11-xcb1 2:1.4.99.1-0ubuntu2
 libxau6 1:1.0.6-4
 libxcb-glx0 1.8.1-1
 libxcb-render0 1.8.1-1
 libxcb-shm0 1.8.1-1
 libxcb1 1.8.1-1
 libxcomposite1 1:0.4.3-2build1
 libxcursor1 1:1.1.12-1
 libxdamage1 1:1.1.3-2build1
 libxdmcp6 1:1.1.0-4
 libxext6 2:1.3.0-3build1
 libxfixes3 1:5.0-4ubuntu4
 libxft2 2.2.0-3ubuntu2
 libxi6 2:1.6.0-0ubuntu2
 libxinerama1 2:1.1.1-3build1
 libxml2 2.7.8.dfsg-5.1ubuntu4
 libxrandr2 2:1.3.2-2
 libxrender1 1:0.9.6-2build1
 libxxf86vm1 1:1.1.1-2build1
 lsb-base 4.0-0ubuntu20
 multiarch-support 2.15-0ubuntu9
 ncurses-bin 5.9-4
 passwd 1:4.1.4.2+svn3283-3ubuntu5
 perl-base 5.14.2-6ubuntu2
 sed 4.2.1-9
 sensible-utils 0.0.6ubuntu2
 shared-mime-info 1.0-0ubuntu4
 tar 1.26-4ubuntu1
 ttf-dejavu-core 2.33-2ubuntu1
 tzdata 2012b-1
 ucf 3.0025+nmu2ubuntu1
 x11-common 1:7.6+12ubuntu1
 xz-utils 5.1.1alpha+20110809-3
 zlib1g 1:1.2.3.4.dfsg-3ubuntu4
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111107)
NonfreeKernelModules: nvidia
Package: openyahtzee 1.9-1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
SourcePackage: openyahtzee
Tags: precise
Uname: Linux 3.2.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)

Jeremy Bícha (jbicha)
affects: gnome-games (Ubuntu) → openyahtzee (Ubuntu)
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

I could not reproduce the crash.

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at https://wiki.ubuntu.com/Backtrace and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in openyahtzee (Ubuntu):
status: New → Incomplete
Revision history for this message
oldfred (oldfred) wrote :

Ran backtrace

If I run openyahtzee from command line, processor #1 goes to 100%, If I try running it again then both processors show 100% until I kill the process. No window ever opens.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

The second time I ran it, I encountered a crash as well. Deleting the ~/.openyahtzee file allowed the program to run again.

Changed in openyahtzee (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

I grabbed openyahtzee 1.9.1 source from Debian sid, built a .deb on precise, and the issue appears to be resolved. Unfortunately, the openyahtzee svn and bug tracker appear to be outdated, so no clues as to what caused the crash. The only changelog I found for 1.9.1 made a vague reference to fixes that affect Linux users. Hopefully, this can be FFe'd before Precise release.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :
Jani Uusitalo (uusijani)
summary: - openyahtzee never opens and processor at 100%
+ Main window doesn't appear, CPU usage at 100% (after config file created
+ on first run)
Revision history for this message
Jani Uusitalo (uusijani) wrote :

As a workaround for 12.04, here's a command that replaces the settings file with an unwritable empty one that seems to prevent the issue from occurring:

$ rm -f ~/.openyahtzee && touch ~/.openyahtzee && chmod -w ~/.openyahtzee

This obviously prevents you from saving any settings, but then again you can't utilize saved settings with the buggy version anyway.

To revert the workaround, remove the unwritable dummy file with:

$ rm -f ~/.openyahtzee

Revision history for this message
oldfred (oldfred) wrote :

My workaround was to download into my test install of 12.10 and copy that .deb file into 12.04.

That newer version then worked and I did not have to recompile myself.

Changed in openyahtzee (Ubuntu):
status: Confirmed → Won't Fix
status: Won't Fix → Confirmed
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Sorry for the noise. I was trying to split the bug into different Series (since it's been fixed in Quantal). I don't think I can do that, though, so marking Fixed.

Changed in openyahtzee (Ubuntu):
status: Confirmed → Fix Released
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.