--- Begin Message ---
Package: spim
Version: 7.2.1-1
Severity: important
Hi,
when I run spim, it just prints
===
SPIM Version 7.2.1 of August 28, 2005
Copyright 1990-2004 by James R. Larus ([EMAIL PROTECTED]).
All Rights Reserved.
See the file README for a full copyright notice.
===
and then hangs while consuming 100% CPU. xspim draws the interface once,
but does not re-draw it when required, and also uses 100% CPU.
Running strace spim gives me:
===
execve("/usr/bin/spim", ["spim"], [/* 49 vars */]) = 0
uname({sys="Linux", node="otto", ...}) = 0
brk(0) = 0x8071000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fa9000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=107471, ...}) = 0
mmap2(NULL, 107471, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8e000 close(3)
= 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`3\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=149264, ...}) = 0
mmap2(NULL, 151712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f68000
mmap2(0xb7f8c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7f8c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1270928, ...}) = 0
mmap2(NULL, 1276892, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7e30000
mmap2(0xb7f5e000, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12e) = 0xb7f5e000
mmap2(0xb7f66000, 7132, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f66000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e2f000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e2e000
mprotect(0xb7f5e000, 20480, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e2e6c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
munmap(0xb7f8e000, 107471) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fa8000
write(1, "SPIM Version 7.2.1 of August 28,"..., 38SPIM Version 7.2.1 of August
28, 2005) = 38
write(1, "Copyright 1990-2004 by James R. "..., 59Copyright 1990-2004 by James
R. Larus ([EMAIL PROTECTED]).) = 59
write(1, "All Rights Reserved.\n", 21All Rights Reserved.) = 21
write(1, "See the file README for a full c"..., 49See the file README for a
full copyright notice.) = 49
brk(0) = 0x8071000
brk(0x8092000) = 0x8092000
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e0d000
brk(0x80c2000) = 0x80c2000
open("/etc/mtab", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=400, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fa7000
read(3, "/dev/hda2 / ext3 rw,user_xattr,e"..., 4096) = 400
close(3) = 0
munmap(0xb7fa7000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fa7000
read(3, "MemTotal: 515516 kB\nMemFre"..., 1024) = 598
close(3) = 0
munmap(0xb7fa7000, 4096) = 0
open("/usr/lib/spim/exceptions.s", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf9bf168) = -1 ENOTTY (Inappropriate
ioctl for device)
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf9bf188) = -1 ENOTTY (Inappropriate
ioctl for device)
===
It seems to be trying to do strange things with the file handler for the
exceptions.s file.
Thanks,
Joachim
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.otto
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages spim depends on:
ii libc6 2.3.6-9 GNU C Library: Shared libraries
ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library
ii libsm6 1:1.0.0-4 X11 Session Management library
ii libx11-6 2:1.0.0-6 X11 client-side library
ii libxaw7 1:1.0.1-5 X11 Athena Widget library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar
ii libxmu6 1:1.0.1-3 X11 miscellaneous utility library
ii libxpm4 1:3.5.4.2-3 X11 pixmap library
ii libxt6 1:1.0.0-5 X11 toolkit intrinsics library
spim recommends no packages.
-- no debconf information
--- End Message ---