Skip to contentSkip to conversation

KVM 32bit support broken in SVN?

DISCUSSION Anthony Liguori 3 participants 4 messages Feb 13, 2007 – Feb 15, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

I've been tracking down a rather strange SEGV in SVN. I'm on a 32bit SVM system. I think people are seeing the same on 32bit VMX.

Basically, we get to the first EINTR returned by kvm_run(). Everything goes as expected until we get to cpu_loop_exit(). When we get to this point, the jmp_buf appears to be invalid as the longjmp() goes off into a bad high address.

Still trying to track down but wanted to share what I've found.

Regards,

Anthony Liguori

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#2 lore raw
In reply to a message not in the archive

Hello!

I can confirm what Anthony tracked down. Avi or anybody else, do you have an idea what the cause can be?

Daniel Hecken

Quoted 12 lines · Anthony Liguori

I've been tracking down a rather strange SEGV in SVN. I'm on a 32bit SVM system. I think people are seeing the same on 32bit VMX.

Basically, we get to the first EINTR returned by kvm_run(). Everything goes as expected until we get to cpu_loop_exit(). When we get to this point, the jmp_buf appears to be invalid as the longjmp() goes off into a bad high address.

Still trying to track down but wanted to share what I've found.

Regards,

Quoted 7 lines

Anthony Liguori

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw
In reply to a message not in the archive
Quoted 11 lines · Anthony Liguori

I've been tracking down a rather strange SEGV in SVN. I'm on a 32bit SVM system. I think people are seeing the same on 32bit VMX.

Basically, we get to the first EINTR returned by kvm_run(). Everything goes as expected until we get to cpu_loop_exit(). When we get to this point, the jmp_buf appears to be invalid as the longjmp() goes off into a bad high address.

Still trying to track down but wanted to share what I've found.

It looks like %ebp (which is used to hold the global env variable) is corrupted.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
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
#4 lore raw
In reply to a message not in the archive
Quoted 11 lines · Anthony Liguori

I've been tracking down a rather strange SEGV in SVN. I'm on a 32bit SVM system. I think people are seeing the same on 32bit VMX.

Basically, we get to the first EINTR returned by kvm_run(). Everything goes as expected until we get to cpu_loop_exit(). When we get to this point, the jmp_buf appears to be invalid as the longjmp() goes off into a bad high address.

Still trying to track down but wanted to share what I've found.

This is now fixed (or rather worked around, as the fix changes libkvm.a where it shouldn't).

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
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