On Sat, Jan 20, 2007 at 12:18:30AM +0100, Blaisorblade wrote: > Ok, I hope I remembered correctly how to debug such faults (I'm posting the > full procedure so you can give a look)
Correct. > 0x00000000619a592f: mov %edx,%fs:(%rcx) #faulting instruction. This and the registers involved are usually all you need. > RCX there is (long)regs->skas.regs[11] = -64, and for FS, since HOST_FS = 25, > I get: > > print/x regs->skas.regs[25] > $45 = 0x63 The presence of %fs in the instruction immediately suggests a TLS problem. Also, the trap number in cases like this should be 13, rather than the 14 you get with a normal page fault. %fs isn't 0, so that's one thing that's not wrong. What's in the corresponding segment? -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel