http://bugs.winehq.org/show_bug.cgi?id=2294
Summary: Wine preloader segfaults Product: Wine Version: 20040615 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-loader AssignedTo: wine-bugs@winehq.org ReportedBy: adam@tpetaccia.com
Ever since the wine-preloader was first checked into CVS before 20040615 was released, it has constantly segfaulted when loaded. If I invoke wine-pthread manually, windows executables work though. Today, I did a clean recompile of WINE with only the CFLAGS "-O2 -pipe" and got the following from GDB: ---
Starting program: /usr/local/bin/wine-preloader
Program received signal SIGSEGV, Segmentation fault. 0x780011d0 in write () (gdb)
---
I'm not sure if this helps or makes problems worse, but with my original CFLAGS of "-O2 -march=athlon -frename-registers -fomit-frame-pointer" I got a different error message from GDB. It printed out a memory address followed by open64(), which I find odd. Also, when I allow it to dump a core file, and backtrace that, it says:
--- Program terminated with signal 11, Segmentation fault. #0 0x7800106e in open64 () (gdb) ---
I hope the information I've provided is useful.