Bug#455465: xresprobe: 100% cpu near thunk.c:92 x_outb
Package: xresprobe
Version: 0.4.23debian1
Severity: normal
When I run ddcprobe, it'll hang after 1600x1200x256 for minutes on end
using 100%cpu time. I've included a backtrace after interrupting it
there. I rebuilt xresprobe from debian sources, and added the -ggdb
flags for gcc in the ddcprobe/Makefile for debugging.
Presently I have a pci card installed (oem: line) in favor of the
onboard card. I was going to see if a different pci video card would
work around #442771.
Thanks!
Transcript:
li:/sbin# file -sk ddcprobe
ddcprobe: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux 2.6.0,
not stripped
li:/sbin# gdb ddcprobe
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
snip...
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /sbin/ddcprobe
vbe: VESA 1.2 detected.
oem: STB PowerGraph 64 Video (Trio64V+)
memory: 2048kb
mode: 640x400x256
mode: 640x480x256
mode: 800x600x16
mode: 800x600x256
mode: 1024x768x16
mode: 1024x768x256
mode: 1280x1024x16
mode: 1280x1024x256
mode: 132x25 (text)
mode: 132x43 (text)
mode: 320x200x32k
mode: 320x200x64k
mode: 320x200x16m
mode: 640x480x32k
mode: 640x480x64k
mode: 640x480x16m
mode: 800x600x32k
mode: 800x600x64k
mode: 800x600x16m
mode: 1024x768x32k
mode: 1024x768x64k
mode: 1600x1200x256
Program received signal SIGINT, Interrupt.
x_outb (port=67, val=0 '\0') at thunk.c:92
92 }
(gdb) bt full
#0 x_outb (port=67, val=0 '\0') at thunk.c:92
No locals.
#1 0x0000000000406aa9 in x86emuOp_out_byte_IMM_AL (op1=<value optimized
out>)
at ops.c:9595
port = 0 '\0'
#2 0x00000000004032e1 in X86EMU_exec () at decode.c:123
op1 = <value optimized out>
#3 0x00000000004022de in real_call (registers=0x43) at thunk.c:206
No locals.
#4 0x0000000000401870 in get_edid_supported () at vbe.c:203
regs = {edi = 12288, esi = 0, ebp = 0, reserved = 0, ebx = 0,
edx = 0,
ecx = 0, eax = 20245, flags = 0, es = 12288, ds = 0, fs = 0, gs = 0,
ip = 21837,
cs = 49152, sp = 0, ss = 0}
ret = <value optimized out>
#5 0x0000000000413b46 in main (argc=<value optimized out>, argv=<value
optimized out>)
at ddcprobe.c:118
edid_info = <value optimized out>
manufacturer = <value optimized out>
i = <value optimized out>
vbe_parent_info = (struct vbe_parent_info *) 0x3c0
mode_list = <value optimized out>
monitor = <value optimized out>
(gdb)
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-xen-vserver-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xresprobe depends on:
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
Versions of packages xresprobe recommends:
ii laptop-detect 0.12.1 attempt to detect a laptop
-- no debconf information
Reply to: