ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #102990
[Bug 690748] [NEW] freeze and Window Manager problems in standalone X11 app
Public bug reported:
Binary package hint: xorg
The X11 app from http://bitwagon.com/duv/duv.html freezes and/or has
problems with Window manager under development branch for Ubuntu 11.04.
It works in every other system for the previous 10 years, both XFree86
and Xorg, including Ubuntu 7.04 through 10.10. The failure rate on
11.04 development branch (Nov.30 kernel ) is about 40% of invocations
from command-line shell. Symptoms include: window cannot be moved by
Button1 down in title bar, then drag mouse; keyboard focus is not
indicated; drawing commands (XFillRectangle(), etc.) are truncated.
strace says input is waiting on poll(). The failures occur using both
the 5-year old binary, and when re-compiled and re-linked.
The app displays disk usage. It is "read-only": no write to disk, no unlink. It is "standalone": uses only libX11, no toolkit, no software framework. Both binary (74KB) and source are given. To compile today, this small patch is needed:
--- old-duv-2.0/duv.c 2005-11-01 14:51:21.000000000 -0800
+++ new_duv-2.0/duv.c 2010-12-14 16:08:29.242904002 -0800
@@ -5771,11 +5771,19 @@
}
}
+#if 0 /*{*/
static _syscall3(int, getdents64,
unsigned, fd,
struct dirent64 *, di64p,
unsigned, length
);
+#endif /*}*/
+#include <sys/syscall.h>
+
+static int getdents64(unsigned fd, struct dirent64 *di64p, unsigned length)
+{
+ return syscall(SYS_getdents64, fd, di64p, length);
+}
static int
scan_one_dir(int fd_dir, int const jdev, int const jdir)
--- old-duv-2.0/Makefile 2005-11-01 14:54:42.000000000 -0800
+++ new_duv-2.0/Makefile 2010-12-14 16:08:57.392904000 -0800
@@ -1,9 +1,9 @@
-CFLAGS = -Wall -O -I. -DDATE=`date +\"%Y-%m-%d\"` -g -march=i586 -mtune=i686
+CFLAGS = -m64 -Wall -O -I. -DDATE=`date +\"%Y-%m-%d\"` -g
-ARCH_DEP=umadr_x86_64.o
ARCH_DEP=umadr_sparc.o
ARCH_DEP=umadr_ppc32.o
ARCH_DEP=umadr_i386.o
+ARCH_DEP=umadr_x86_64.o
duv: duv.o hilbert.o $(ARCH_DEP)
$(CC) $(CFLAGS) -o duv duv.o hilbert.o $(ARCH_DEP) \
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.5+6ubuntu3b1
ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
Uname: Linux 2.6.37-7-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 260.19.21 Thu Nov 4 21:16:27 PDT 2010
GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.1-12ubuntu1)
Architecture: amd64
Date: Wed Dec 15 08:56:45 2010
DkmsStatus: nvidia-current, 260.19.21, 2.6.37-7-generic, x86_64: installed
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
Lsusb:
Bus 002 Device 004: ID 05ac:020b Apple, Inc. Pro Keyboard [Mitsumi, A1048/US layout]
Bus 002 Device 003: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 002 Device 002: ID 05ac:1003 Apple, Inc. Hub in Pro Keyboard [Mitsumi, A1048]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: FUJITSU SIEMENS MS-7125
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-7-generic root=UUID=7847ddc6-80bb-43a8-8ea7-8d94fdf26e3a ro quiet splash
SourcePackage: xorg
Symptom: display
dmi.bios.date: 01/16/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7125
dmi.board.vendor: FUJITSU SIEMENS
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd01/16/2006:svnFUJITSUSIEMENS:pnMS-7125:pvr1.0:rvnFUJITSUSIEMENS:rnMS-7125:rvr1.0:cvn:ct3:cvr:
dmi.product.name: MS-7125
dmi.product.version: 1.0
dmi.sys.vendor: FUJITSU SIEMENS
glxinfo: Error: [Errno 2] No such file or directory
system:
distro: Ubuntu
codename: natty
architecture: x86_64
kernel: 2.6.37-7-generic
** Affects: xorg (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug natty
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
https://bugs.launchpad.net/bugs/690748
Title:
freeze and Window Manager problems in standalone X11 app
Follow ups
References