After some searching, I have found  where this app (Wordvu) was hosed; it was when
a fix was done in InitTask16 ; I have found that before the change Wine initialized 
the 
stack to :

min: 8150
bottom :81b4
top: 4500

After the change

min 814e
bottom 814e
top 4530

Applying this patch to current Cvs allow Word viewer 16 to at least ask for a file
(it fails to load it but the problem existed before the crash)

wine:diff -ru task.c.orig task.c
--- task.c.orig Thu May 11 07:26:47 2000
+++ task.c      Thu May 18 12:41:08 2000
@@ -710,7 +710,7 @@
     /* Initialize the INSTANCEDATA structure */
     pinstance = (INSTANCEDATA *)PTR_SEG_OFF_TO_LIN(CURRENT_DS, 0);
     pinstance->stackmin    = OFFSETOF( pTask->teb->cur_stack );
-    pinstance->stackbottom = pinstance->stackmin; /* yup, that's right. Confused me 
too. */
+    pinstance->stackbottom = pinstance->stackmin + 100; /* yup, that's right. 
+Confused me too. */
     pinstance->stacktop    = ( pinstance->stackmin > BX_reg(context)?
                                pinstance->stackmin - BX_reg(context) : 0 ) + 150;    

Is this a valid fix ?

Gerard

Reply via email to