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

stringSend gives a bus error when run #1

Closed
EliasC opened this issue May 6, 2014 · 2 comments
Closed

stringSend gives a bus error when run #1

EliasC opened this issue May 6, 2014 · 2 comments
Assignees

Comments

@EliasC
Copy link
Contributor

EliasC commented May 6, 2014

bash-3.2$ ./encorec -clang stringSend.enc
Compiling with clang...
stringSend.pony.c:69:11: warning: redefinition of typedef 'Main_data' is a C11 feature [-Wtypedef-redefinition]
} Main_data;
^
stringSend.pony.c:50:29: note: previous definition is here
typedef struct ___Main_data Main_data;
^
stringSend.pony.c:113:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
stringSend.pony.c:156:11: warning: redefinition of typedef 'Other_data' is a C11 feature [-Wtypedef-redefinition]
} Other_data;
^
stringSend.pony.c:57:30: note: previous definition is here
typedef struct ___Other_data Other_data;
^
stringSend.pony.c:257:17: warning: incompatible pointer types passing 'pony_actor_t *' (aka 'struct pony_actor_t *') to parameter of type 'Main_data '
(aka 'struct ___Main_data ') [-Wincompatible-pointer-types]
Main_main(d);
^
stringSend.pony.c:106:28: note: passing argument to parameter 'this' here
void
Main_main(Main_data
this)
^
4 warnings generated.
Done! Output written to encore.stringSend
Cleaning up...
bash-3.2$ ./encore.stringSend
Bus error: 10

I have a memory of this program working before. Any ideas?

@kaeluka
Copy link
Contributor

kaeluka commented May 7, 2014

I'm on it

@kaeluka
Copy link
Contributor

kaeluka commented May 25, 2014

forgot to close this.

@kaeluka kaeluka closed this as completed May 25, 2014
TobiasWrigstad referenced this issue Jun 13, 2014
It's a bug in pony, I only slightly modified counter.c such that
several threads send to one actor. The actor mailbox has a race that
leads to a crash. We'll need Sylvain's help to fix it without hurting
performance terribly.
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