energymon / energymon-rust

Rust abstractions over energymon-default C library
Apache License 2.0
0 stars 1 forks source link

Crash in source() on Android #1

Closed connorimes closed 8 years ago

connorimes commented 8 years ago

Running servo on Android using the odroid-ioctl energymon implementation, it appears to crash in EnergyMonitor::source(). Commenting out the call to this function prevents the crash.

I don't see any reason this should fail in the native library code, so my suspicion is that it's somewhere in the (probably unsafe) Rust code.

connorimes commented 8 years ago

The problem actually appears when we trying to print the String value.