i have RH8 box. up2date-ed. i've made "make clean" and "tools/wineinstall". first crash goes in the end of wineinstall, failing prog is regedit: Installing default Wine registry entries... /usr/src/wine-cvs/wine/tools/wineinstall: line 648: 25326 Segmentation fault $REGEDIT $DEFREG >/dev/null Registry install failed. tracing leads to wine crash. stracing wine shows crash in wine-pthread. and stracing last one show me nothing clear. nothing has changed in the setup of my box, AFAIR. now i am moving back by ~10 patches and compiling so cannot get exact strace output. am i alone with such crash?
On Mon, 5 Jan 2004, Saulius Krasuckas wrote:> tracing leads to wine crash. stracing wine shows crash in wine-pthread. > and stracing last one show me nothing clear.[s2@katleriai wine]$ strace /usr/local/bin/wine-pthread execve("/usr/local/bin/wine-pthread", ["/usr/local/bin/wine-pthread"], [/* 25 vars */]) = 0 uname({sys="Linux", node="katleriai.austechia.lt", ...}) = 0 brk(0) = 0x10114000 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=57512, ...}) = 0 old_mmap(NULL, 57512, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000 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\0L\33\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=254770, ...}) = 0 old_mmap(NULL, 97280, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40023000 old_mmap(0x40028000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x40028000 old_mmap(0x40029000, 72704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40029000 close(3) = 0 open("/lib/i686/libpthread.so.0", 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\0pA\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=66780, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4003b000 old_mmap(NULL, 327296, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4003c000 old_mmap(0x40049000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x40049000 old_mmap(0x4004c000, 261760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4004c000 close(3) = 0 open("/lib/i686/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 Z\1B4\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1288460, ...}) = 0 old_mmap(0x42000000, 1294148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x42000000 old_mmap(0x42135000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x135000) = 0x42135000 old_mmap(0x4213a000, 8004, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4213a000 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\360\26"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9788, ...}) = 0 old_mmap(NULL, 8624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008c000 old_mmap(0x4008e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4008e000 close(3) = 0 open("/lib/i686/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\2404\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=137140, ...}) = 0 old_mmap(NULL, 135616, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008f000 old_mmap(0x400b0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x21000) = 0x400b0000 close(3) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++> now i am moving back by ~10 patches and compiling so cannot get exact > strace output. am i alone with such crash?AFAICS crash remains. i will move more backwards.. any ideas about a reason of crash?
On Tue, 6 Jan 2004, Saulius Krasuckas wrote:> > now i am moving back by ~10 patches and compiling so cannot get exact > > strace output. am i alone with such crash? > > AFAICS crash remains. i will move more backwards.. any ideas about a > reason of crash?the reason was swap being turned off. is it a bug? no other software crashes for this reason, thus it apparently is. wine-devel@ list seems has been stuck with this problem already: http://www.winehq.com/hypermail/wine-devel/2003/12/0417.html should i fill a bugreport or write to wine-devel@.. list? here goes btrace cut from gdb output (in case someone is interested): (gdb) r Starting program: /usr/local/bin/wine Program received signal SIG32, Real-time event 32. 0x40044a35 in pthread_getconcurrency () from /lib/i686/libpthread.so.0 (gdb) bt #0 0x40044a35 in pthread_getconcurrency () from /lib/i686/libpthread.so.0 #1 0x40043db8 in pthread_create () from /lib/i686/libpthread.so.0 #2 0x40043a21 in pthread_create () from /lib/i686/libpthread.so.0 #3 0x00110c64 in get_threading () at glibc.c:61 #4 0x00110ca7 in main (argc=1, argv=0xbfffe824) at glibc.c:73 #5 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) cont Continuing. Program received signal SIG32, Real-time event 32. 0x40044a35 in pthread_getconcurrency () from /lib/i686/libpthread.so.0 (gdb) bt #0 0x40044a35 in pthread_getconcurrency () from /lib/i686/libpthread.so.0 #1 0x40043db8 in pthread_create () from /lib/i686/libpthread.so.0 #2 0x40044583 in pthread_kill_other_threads_np () from /lib/i686/libpthread.so.0 #3 0x420b0525 in execve () from /lib/i686/libc.so.6 #4 0x40025370 in wine_exec_wine_binary (name=0x113fe0 "wine-pthread", argv=0xbfffe824, envp=0xbfffe82c) at config.c:260 #5 0x00110d59 in main (argc=1, argv=0xbfffe824) at glibc.c:100 #6 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) cont Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x40000a50 in completed.1 () from /lib/ld-linux.so.2 (gdb) bt #0 0x40000a50 in completed.1 () from /lib/ld-linux.so.2 (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0x4001058c in realloc () from /lib/ld-linux.so.2 (gdb) bt #0 0x4001058c in realloc () from /lib/ld-linux.so.2 #1 0x4000940b in _dl_relocate_object () from /lib/ld-linux.so.2 #2 0x40001554 in completed.1 () from /lib/ld-linux.so.2 #3 0x4000d721 in _dl_get_origin () from /lib/ld-linux.so.2 #4 0x40000d93 in completed.1 () from /lib/ld-linux.so.2 (gdb) cont Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) q