now that i have wineX compiling from cvs when i try to run wine i get: Client protocol error:(nil): lseek: Illegal seek even if i try wine --help here is the strace if its anyhelp execve("/usr/bin/wine", ["wine"], [/* 25 vars */]) = 0 uname({sys="Linux", node="fnord-rides-again", ...}) = 0 brk(0) = 0x804c47c mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 0x40017000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 SYS_197(0x3, 0xbfffef0c, 0, 0xbfffef0c, 0) = -1 ENOSYS (Function not implemented) fstat(3, {st_mode=S_IFREG|0644, st_size=48619, ...}) = 0 mmap(0, 48619, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000 close(3) = 0 open("/usr/lib/libwine.so", 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\0000\2"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0755, st_size=4268738, ...}) = 0 mmap(0, 1003784, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000 mprotect(0x400e7000, 205064, PROT_NONE) = 0 mmap(0x400e7000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc2000) = 0x400e7000 mmap(0x400f3000, 155912, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400f3000 close(3) = 0 open("/usr/lib/libwine_unicode.so", 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\0\27\0"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0755, st_size=891874, ...}) = 0 mmap(0, 778492, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4011a000 mprotect(0x401d7000, 4348, PROT_NONE) = 0 mmap(0x401d7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xbc000) = 0x401d7000 close(3) = 0 open("/lib/libncurses.so.4", 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\340\342"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0755, st_size=269228, ...}) = 0 mmap(0, 286860, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401d9000 mprotect(0x40213000, 49292, PROT_NONE) = 0 mmap(0x40213000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x39000) = 0x40213000 mmap(0x4021c000, 12428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4021c000 close(3) = 0 open("/lib/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\320J\0"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0755, st_size=144800, ...}) = 0 mmap(0, 147300, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40220000 mprotect(0x40243000, 3940, PROT_NONE) = 0 mmap(0x40243000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22000) = 0x40243000 close(3) = 0 open("/lib/libutil.so.1", 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\0\20\0"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0755, st_size=62331, ...}) = 0 mmap(0, 12120, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40244000 mprotect(0x40246000, 3928, PROT_NONE) = 0 mmap(0x40246000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40246000 close(3) = 0 open("/lib/libdl.so.2", 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\240 \0"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0755, st_size=79904, ...}) = 0 mmap(0, 13764, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40247000 mprotect(0x4024a000, 1476, PROT_NONE) = 0 mmap(0x4024a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4024a000 close(3) = 0 open("/lib/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\300\307"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0755, st_size=1241192, ...}) = 0 mmap(0, 1257576, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4024b000 mprotect(0x40375000, 36968, PROT_NONE) = 0 mmap(0x40375000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x129000) = 0x40375000 mmap(0x4037a000, 16488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4037a000 close(3) = 0 open("/usr/lib/libgpm.so.1", 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\240\27"..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0644, st_size=23854, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 0x4037f000 mmap(0, 21232, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40380000 mprotect(0x40384000, 4848, PROT_NONE) = 0 mmap(0x40384000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3000) = 0x40384000 mmap(0x40385000, 752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40385000 close(3) = 0 mprotect(0x40024000, 798720, PROT_READ|PROT_WRITE) = 0 mprotect(0x40024000, 798720, PROT_READ|PROT_EXEC) = 0 munmap(0x40018000, 48619) = 0 getpid() = 16412 modify_ldt(0x1, 0xbffffbfc, 0x10) = 0 modify_ldt(0x1, 0xbffffbec, 0x10) = 0 brk(0) = 0x804c47c brk(0x804c694) = 0x804c694 brk(0x804d000) = 0x804d000 getcwd("/c/Program Files/EverQuest", 512) = 27 uname({sys="Linux", node="fnord-rides-again", ...}) = 0 mkdir("/root/.wine", 0755) = -1 EEXIST (File exists) chdir("/root/.wine/wineserver-fnord-rides-again") = 0 SYS_195(0x400e3c34, 0xbffffa1c, 0, 0x400e3c34, 0xbffffc26) = -1 ENOSYS (Function not implemented) stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 SYS_199(0x40379224, 0x26, 0x40105f4c, 0x40377c70, 0xbffffc26) = -1 ENOSYS (Function not implemented) getuid() = 0 lstat("socket", 0xbffffa7c) = -1 ENOENT (No such file or directory) fork() = 16413 wait4(16413, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 16413 --- SIGCHLD (Child exited) --- lstat("socket", {st_mode=S_IFSOCK|0600, st_size=0, ...}) = 0 getuid() = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sun_family=AF_UNIX, sun_path="socket"}, 9) = 0 shmat(3, 0x9, 0x2) = -1 ENOSYS (Function not implemented) fcntl(3, F_SETFD, FD_CLOEXEC) = 0 chdir("/c/Program Files/EverQuest") = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 socketcall(0x11, 0xbffffbcc) = 1 lseek(4, 0, SEEK_END) = -1 ESPIPE (Illegal seek) write(2, "Client protocol error:(nil): ", 29Client protocol error:(nil): ) = 29 write(2, "lseek: Illegal seek\n", 20lseek: Illegal seek ) = 20 close(3) = 0 _exit(1) = ?
lawson_whitney@juno.com
2001-Jun-18 23:12 UTC
Client protocol error:(nil): lseek: Illegal seek
On Mon, 18 Jun 2001, Devin Titcomb wrote:> now that i have wineX compiling from cvs when i try to run wine i get: > Client protocol error:(nil): lseek: Illegal seek > even if i try wine --help here is the strace if its anyhelp > execve("/usr/bin/wine", ["wine"], [/* 25 vars */]) = 0...> lseek(4, 0, SEEK_END) = -1 ESPIPE (Illegal seek)It doesn't help me much. I can't see where fd 4 is opened to know what it is and why you might have conned wine into seeking a pipe or tty. maybe strace -f would catch it, but maybe not. Maybe --debugmsg +file would help. I _think_ the rest is fallout from this.> write(2, "Client protocol error:(nil): ", 29Client protocol > error:(nil): ) = 29 > write(2, "lseek: Illegal seek\n", 20lseek: Illegal seek > ) = 20 > close(3) = 0 > _exit(1) = ? >And did I guess right about glibc-2.2.3 and gcc-2.95.3? Lawson If you want quality advice, you must give quality feedback. --- Free Software: If you contribute nothing, expect nothing - Uwe Bonnes ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj.
Maybe Matching Threads
- 6303398 lseek(., offset, SEEK_HOLE) asserts with tainted offsets
- [klibc:master] lseek: give gcc a little optimization hint
- lseek depends upon stdio.h?
- KVM Raw Format Image Causes lseek Error when Copying
- [PATCH 1/4] daemon: upload: fix fd leak on lseek failure