On FreeBSD 4.8 (using -lc_r instead of -lc to get pthreads) Wine crashes upon startup:
/sw/test/wine% wine FIXME:pthread_cond_init Segmentation fault (core dumped)
% gdb53 miscemu/wine wine.core GNU gdb 5.3 (FreeBSD) Reading symbols from /sw/test/wine/dlls/libntdll.dll.so...done. Loaded symbols for /sw/wine/dlls/libntdll.dll.so Reading symbols from /sw/test/wine/libs/libwine.so.1...done. Loaded symbols for /sw/test/wine/libs/libwine.so.1 Reading symbols from /sw/test/wine/libs/libwine_unicode.so.1...done. Loaded symbols for /sw/test/wine/libs/libwine_unicode.so.1 Reading symbols from /usr/lib/libc.so.4...done. Loaded symbols for /usr/lib/libc.so.4 Reading symbols from /usr/lib/libm.so.2...done. Loaded symbols for /usr/lib/libm.so.2 Reading symbols from /usr/lib/libc_r.so.4...done. Loaded symbols for /usr/lib/libc_r.so.4 Reading symbols from /sw/test/wine/dlls/kernel32.dll.so...done. Loaded symbols for /sw/test/wine/dlls/kernel32.dll.so Reading symbols from /usr/libexec/ld-elf.so.1...done. Loaded symbols for /usr/libexec/ld-elf.so.1
(gdb) bt #0 0x5c251aac in .cerror () from /usr/lib/libc.so.4 #1 0x5c2feca6 in flock () from /usr/lib/libc_r.so.4 #2 0x5c231919 in _yp_dobind () from /usr/lib/libc.so.4 #3 0x5c231fa8 in yp_match () from /usr/lib/libc.so.4 #4 0x5c215c12 in endpwent () from /usr/lib/libc.so.4 #5 0x5c2153b8 in getpwuid () from /usr/lib/libc.so.4 #6 0x5c0d06d1 in init_paths () at config.c:112 #7 0x5c0d0a4e in wine_get_server_dir () at config.c:191 #8 0x5c07e5ae in CLIENT_InitServer () at ../../scheduler/client.c:641 #9 0x5c07f4f4 in process_init (argv=0xbfbff690) at ../../scheduler/process.c:306 #10 0x5c07fa19 in __wine_process_init (argc=1, argv=0xbfbff690) at ../../scheduler/process.c:480 #11 0x5c0d21c4 in wine_init (argc=1, argv=0xbfbff690, error=0xbfbff240 "", error_size=1024) at loader.c:428 #12 0x3c000621 in main (argc=1, argv=0xbfbff690) at main.c:33 #13 0x3c000566 in _start ()
Any help will be appreciated.
Gerald
On Fri, 12 Sep 2003, Gerald Pfeifer wrote:
On FreeBSD 4.8 (using -lc_r instead of -lc to get pthreads) Wine crashes upon startup:
I now could work around this (which probably was not scheduler related in the end), but upon startup Wine now goes into an infinite loop; the following is a backtrack after 10 minutes of CPU time:
#0 0x5c251aac in .cerror () from /usr/lib/libc.so.4 #1 0x5c2dcbc5 in _thread_sig_handle_pending () from /usr/lib/libc_r.so.4 #2 0x5c2dc4b9 in _thread_sig_handler () from /usr/lib/libc_r.so.4 #3 <signal handler called> #4 0x5c20feca in wait4 () from /usr/lib/libc.so.4 #5 0x5c2d86ff in wait4 () from /usr/lib/libc_r.so.4 #6 0x5c20401f in waitpid () from /usr/lib/libc.so.4 #7 0x5c2a27d2 in waitpid () from /usr/lib/libc_r.so.4 #8 0x5c07e108 in start_server ( oldcwd=0x3c02b000 "/.amd_mnt/nashira/files5/test/wine") at ../../scheduler/client.c:496 #9 0x5c07e37d in server_connect ( oldcwd=0x3c02b000 "/.amd_mnt/nashira/files5/test/wine", serverdir=0x3c02c000 "/tmp/.wine-pfeifer/server-600ff0a-175712") at ../../scheduler/client.c:575 #10 0x5c07e5b5 in CLIENT_InitServer () at ../../scheduler/client.c:641 #11 0x5c07f4f4 in process_init (argv=0xbfbff690) at ../../scheduler/process.c:306 #12 0x5c07fa19 in __wine_process_init (argc=1, argv=0xbfbff690) at ../../scheduler/process.c:480 #13 0x5c0d20c8 in wine_init (argc=1, argv=0xbfbff690, error=0xbfbff240 "", error_size=1024) at loader.c:428 #14 0x3c000621 in main (argc=1, argv=0xbfbff690) at main.c:33 #15 0x3c000566 in _start ()
Gerald