Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSv failed to run a pthread application. #561

Closed
syoyo opened this issue Dec 13, 2014 · 1 comment
Closed

OSv failed to run a pthread application. #561

syoyo opened this issue Dec 13, 2014 · 1 comment

Comments

@syoyo
Copy link

syoyo commented Dec 13, 2014

OSv seems still not yet ready to run pthread application.

OSv: v0.16
gcc: 4.8.0

You may reproduce an issue with this:

https://github.com/syoyo/aobench-osv

$ capstan run
Created instance: aobench-osv
OSv v0.16
eth0: 192.168.122.15
pthread_getaffinity_np() stubbed
[registers]
RIP: 0x0000100005c09b30 <???+96508720>
RFL: 0x0000000000010246  CS:  0x0000000000000008  SS:  0x0000000000000010
RAX: 0x00000000000000ca  RBX: 0x0000000000000002  RCX: 0x00000000000493e0  RDX: 0x0000000000000000
RSI: 0x0000000000000080  RDI: 0xffffa00002dd3844  RBP: 0x00002000003ffd40  R8:  0x0000000000000000
R9:  0x00000000000000ca  R10: 0x0000000000000000  R11: 0x0000000000000002  R12: 0x0000100005bfff9c
R13: 0x00000000000000ca  R14: 0x0000000000000000  R15: 0x0000000000000002  RSP: 0x00002000003ffbe8
DUMMY_HANDLER for invalid_opcode aborting.

[backtrace]
0x0000000000393194 <invalid_opcode+20>
0x0000000000390e98 <???+3739288>
0x0000100005801aed <render(unsigned char*, int, int, int)+157>
@wkozaczuk
Copy link
Collaborator

I have built and tested using the specified project in github and it works. Based on many commit like these one - 7f12b5c - the pthread_getaffinity_np() has been implemented for almost 3 years now.
So closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants