intermittent segfault upon invocation

Ken Barr kbarr at -no-spam-mit.edu
Tue Jun 26 12:38:08 CDT 2001


Wine release 20010510 on Linux 2.4.4 SMP compiled from source code.

One in ten times, when I start wine (with an executable or without) the
program will segfault. 

Notes:
1.  This doesn't happen when I run wine under the debugger.
2.  I turned on --debugmsg +all to see if I could pinpoint the reason. 
When it deosn't segfault, I get loads of debug messages.   When it DOES
fault, I get none.  It's as if the program never started.
3.  No other applications on the system do this, so I think the OS
itself is stable.
4.  When it doesn't segfault on startup, it works great!

Any ideas?  If we weren't trying to run batch jobs, I wouldn't care, but
we need it to run safely when unattended.

Thanks,
Ken


When it works:
% wine --debugmsg +all
08066ec0:trace:heap:HeapAlloc (40360000,00000002,00000808): returning
40360608
08066ec0:trace:heap:HeapSize (40360000,00000002,4036009c): returning
0000053c
08066ec0:trace:heap:HeapReAlloc (40360000,00000002,4036009c,00000558):
returning 40360e1c
08066ec0:trace:heap:HeapAlloc (40360000,00000002,00000018): returning
4036009c
08066ec0:trace:heap:HeapAlloc (40360000,00000002,00000018): returning
403600c0
08066ec0:trace:heap:HeapAlloc (40360000,00000002,00000018): returning
403600e4
08066ec0:trace:heap:HeapAlloc (40360000,00000002,00000038): returning
40360108
08066ec0:trace:reg:NtCreateKey
(0x0,L"Machine\\Software\\Wine\\Wine",<null>,0,f003f,0xbffff43c)
08066ec0:trace:reg:NtCreateKey <- 0x0010
.
.
.
   --managed        Allow the window manager to manage created windows
   --version,-v     Display the Wine version
   --winver         Version to imitate
(win95,nt40,win31,nt2k,win98,nt351,win30,win20)
08066ec0: terminate_process( handle=-1, exit_code=0 )
08066ec0: terminate_process() = 0 { self=1 }
08066ec0: *killed* exit_code=0
/am/cag-server/vol/vol0/cag/home/ugrads00/kbarr/.wine/user.reg: saving
key \\User\\kbarr
/am/cag-server/vol/vol0/cag/home/ugrads00/kbarr/.wine/system.reg: saving
key \\Machine
/am/cag-server/vol/vol0/cag/home/ugrads00/kbarr/.wine/userdef.reg:
saving key \\User\\.Default
Server: exiting (pid=23611)


When it doesn't:
% wine --debugmsg +all
Segmentation fault



More information about the wine-users mailing list