On Wed, 10 Sep 2003 16:03:23 +0300, you wrote:
Hi list,
I have just performed an upgrade to my Debian Sid Linux. During the upgrade, libc was replaced. I can now not get Wine to work on the new install.
ACK. I have downgraded to glibc-2.3.2-5 and it works again.
strace wine:
| execve("/usr/local/bin/wine", ["wine"], [/* 27 vars */]) = 0 | uname({sys="Linux", node="sumba.wallam", ...}) = 0 | brk(0) = 0x3c00180c | old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 | open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) | open("/etc/ld.so.cache", O_RDONLY) = 3 | fstat64(3, {st_mode=S_IFREG|0644, st_size=88549, ...}) = 0 | old_mmap(NULL, 88549, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000 | close(3) = 0 | open("/usr/local/lib/libntdll.dll.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\360\1"..., 512) = 512 | fstat64(3, {st_mode=S_IFREG|0755, st_size=4181929, ...}) = 0 | old_mmap(NULL, 882856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002c000 | old_mmap(0x400dc000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb0000) = 0x400dc000 | old_mmap(0x400e7000, 116904, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400e7000 | close(3) = 0 | open("/usr/local/lib/libwine.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\320\26"..., 512) = 512 | fstat64(3, {st_mode=S_IFREG|0755, st_size=241816, ...}) = 0 | old_mmap(NULL, 96000, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40104000 | old_mmap(0x40109000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x40109000 | old_mmap(0x4010a000, 71424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4010a000 | close(3) = 0 | open("/usr/local/lib/libwine_unicode.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\320\34"..., 512) = 512 | fstat64(3, {st_mode=S_IFREG|0755, st_size=1272081, ...}) = 0 | old_mmap(NULL, 989584, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4011c000 | old_mmap(0x4020d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf1000) = 0x4020d000 | 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\0p^\1\000"..., 512) = 512 | fstat64(3, {st_mode=S_IFREG|0755, st_size=1230864, ...}) = 0 | old_mmap(NULL, 1236292, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4020e000 | old_mmap(0x40335000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x127000) = 0x40335000 | old_mmap(0x4033a000, 7492, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4033a000 | 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 5\0\000"..., 512) = 512 | fstat64(3, {st_mode=S_IFREG|0644, st_size=135604, ...}) = 0 | old_mmap(NULL, 138160, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4033c000 | old_mmap(0x4035d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x4035d000 | 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 \34\0\000"..., 512) = 512 | fstat64(3, {st_mode=S_IFREG|0644, st_size=9796, ...}) = 0 | old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4035e000 | old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4035f000 | old_mmap(0x40361000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x40361000 | close(3) = 0 | mprotect(0x4002c000, 720896, PROT_READ|PROT_WRITE) = 0 | mprotect(0x4002c000, 720896, PROT_READ|PROT_EXEC) = 0 | munmap(0x40016000, 88549) = 0 | brk(0) = 0x3c00180c | brk(0x3c02280c) = 0x3c02280c | brk(0x3c023000) = 0x3c023000 | --- SIGSEGV (Segmentation fault) @ 0 (0) --- | +++ killed by SIGSEGV +++
gdb:
| Program received signal SIGSEGV, Segmentation fault. | 0x4026b32e in mallopt () from /lib/libc.so.6 | (gdb) bt | #0 0x4026b32e in mallopt () from /lib/libc.so.6 | #1 0x4026a543 in malloc () from /lib/libc.so.6 | #2 0x40005c5b in _dl_map_object_internal () from /lib/ld-linux.so.2 | #3 0x402ff88b in getutmpx () from /lib/libc.so.6
From the changelist of glibc-2.3.2-6 there seems to be only one
applicable item:
| - debian/patches/pthread_cond_timedwait.dpatch: avoid problem when | pthread_cond_timedwait is used in code that doesn't link with | -lpthread. (Closes: #209139)
Not that I understand that at all. Comments are welcome.
Previously, I would use Wine without --with-nptl. This no longer works. Wine sigsegv on startup (whether there are parameters or not).
My understanding was that you need an nptl enabled kernel (2.6x) for this so I did not try. But I may very well be wrong.
Rein.