Morten Welinder a écrit :
A newly built wine segfaults for me. No args:
welinder@anemone:~/wine> ./wine Segmentation fault
No core. gdb just reports:
welinder@anemone:~/wine> LD_LIBRARY_PATH=/home/welinder/wine/libs/wine gdb loader/wine ... (gdb) r Starting program: /home/welinder/wine/loader/wine [New Thread 16384 (LWP 28622)] [New Thread 32769 (LWP 28624)] [New Thread 16386 (LWP 28625)] Cannot find user-level thread for LWP 28622: generic error
This is with a suse 9.0 system.
Ideas?
as gdb doesn't by default debug child process and that loader/wine actually passes the real loading phase to loader/wine-[pk]thread depending your setup, you need to tell gdb to debug child process after the fork Use 'set follow-fork-mode child' in gdb for that A+