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

not produce proper exit code on ARM #6353

Closed
yichoi opened this issue May 9, 2013 · 2 comments
Closed

not produce proper exit code on ARM #6353

yichoi opened this issue May 9, 2013 · 2 comments
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows O-android Operating system: Android

Comments

@yichoi
Copy link
Contributor

yichoi commented May 9, 2013

if run failed, it should generate proper exit code but always return 0

root@android:/data/tmp # ./yield.stage2-arm-linux-androideabi
rust: ~"\"1\""
rust: ~"\"4\""
rust: ~"\"2\""
rust: ~"\"3\""
rust: ~"\"5\""
rust: ~"\"6\""
leaked memory in rust main loop (5 objects)
assertion "false" failed: file "/home/yichoi/rust_latest/src/rt/memory_region.cpp", line 192, function "memory_region::~memory_region()"
[1] + Stopped (signal)     ./yield.stage2-arm-linux-androideabi
root@android:/data/tmp # echo $?
0
[1] + Segmentation fault   ./yield.stage2-arm-linux-androideabi
@yichoi
Copy link
Contributor Author

yichoi commented May 9, 2013

this leads wrong results when do make check series.

It might be related with #6231 but I am not sure.

@sanxiyn
Copy link
Member

sanxiyn commented May 29, 2013

Apparently this is a known Android issue. Mozilla suffered the same. More details on this Bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=685360

@yichoi yichoi mentioned this issue Jun 1, 2013
bors added a commit that referenced this issue Jun 2, 2013
Fix #6353 and better support for ARM Test
@yichoi yichoi closed this as completed Jun 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows O-android Operating system: Android
Projects
None yet
Development

No branches or pull requests

2 participants