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?
Morten
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+
terra@gnome.org (Morten Welinder) writes:
A newly built wine segfaults for me. No args:
welinder@anemone:~/wine> ./wine Segmentation fault
No core. gdb just reports:
Try doing an strace and posting the last bits before the segfault here.
thanks -mike
I also have this segmentation fault. However, when I run wine-pthread "myprogram", it works perfectly but when I run wine "myprogram" it hangs.
So I think the patch to enable exec-shield/preload introduced a regression.
Max
On Sun, 2004-05-30 at 19:37 +0100, Mike Hearn wrote:
terra@gnome.org (Morten Welinder) writes:
A newly built wine segfaults for me. No args:
welinder@anemone:~/wine> ./wine Segmentation fault
No core. gdb just reports:
Try doing an strace and posting the last bits before the segfault here.
thanks -mike
On Mon, 2004-05-31 at 10:59 +0200, Maxime Bellengé wrote:
I also have this segmentation fault. However, when I run wine-pthread "myprogram", it works perfectly but when I run wine "myprogram" it hangs.
So I think the patch to enable exec-shield/preload introduced a regression.
Max
Can you get a backtrace of the hang please? Attaching to wine with gdb should do the trick.
thanks -mike