Nasty Wine/kernel bug, anyone?

Ulrich Weigand weigand at immd1.informatik.uni-erlangen.de
Tue Mar 27 14:57:36 CST 2001


> Process 1503 found at c2cd8000, esp c2cd9e04
> Call Trace: [<c010794f>] [<c2cd8000>]

Hmpf, this is not quite what I expected :-/
(Maybe the kernel is compiled with -fomit-frame-pointer?)

Could you try using a modified version of dump
that will at least dump out the complete kernel
stack so that we can analyse it manually?


--- dump/dump.c	Mon Mar 26 23:47:18 2001
+++ dump.new/dump.c	Tue Mar 27 21:55:11 2001
@@ -95,6 +95,18 @@
         printf( " [<%08x>]", eip );
     }
     printf( "\n" );
+
+{
+    unsigned int stack[2048];
+    unsigned int start = esp & -16;
+    unsigned int i, len = addr + 8192 - start;
+    read_kernel( stack, start, len );
+
+    printf( "Stack Dump:\n" );
+    for ( i = 0; i < len/16; i++ )
+        printf( "0x%08x:  %08x %08x %08x %08x\n",
+                 start + 16*i, stack[4*i], stack[4*i + 1], stack[4*i + 2], stack[4*i + 3] );
+}
 }
 
 int main( int argc, char *argv[] )


Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand at informatik.uni-erlangen.de




More information about the wine-devel mailing list