Timon

Results comments of Timon

Thanks @rphmeier, I was able to compile it with the latest rust. parity panics now after a couple requests: ``` thread '' panicked at 'called `Result::unwrap()` on an `Err` value:...

@NikVolf, my current code hash is 4cb4344542ceaf022a727c174b79dd1900382d6c. Try running my example multiple times in quick succession, it doesn't happen in the first run every time.

@NikVolf I can only produce the error above on OSX though. It seems to be working fine on Linux.

@NikVolf, new error on OSX: ``` thread '' panicked at 'fatal: Could not add connection to slab (memory issue?)', ../src/libcore/option.rs:699 stack backtrace: 1: 0x10c04107b - std::sys::backtrace::tracing::imp::write::h3800f45f421043b8 2: 0x10c045f35 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::h0ef6c8db532f55dc...

It produces this error consistently on OSX by running the example code `run.sh` I linked above a couple times. Based my last test on commit c5ddacc3ee61802075905b19449cb81cbb9150c7 form branch ipc-fix-macos.

Here the log with ipc logging enabled: ``` 2016-07-27 17:13:16 TRACE:ipc: Accepted connection with token Token(15) 2016-07-27 17:13:16 TRACE:ipc: Request: {"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1469632396892} 2016-07-27 17:13:16 TRACE:ipc: Response: {"jsonrpc":"2.0","result":"0x1de1bd","id":1469632396892} 2016-07-27 17:13:17 TRACE:ipc: Accepted...

I can confirm this is fixed with the latest master. Thanks @NikVolf!

Possibly related, sync from scratch with `--tracing=on` on a 4GB AWS instance: ``` 2016-07-30 06:31:54 UTCSyncing #1506311 df35…ff2e 0 blk/s 0 tx/s 0 Mgas/s 3553+26435 Qed #1536319 0/ 0/25 peers...

Tracing was on, yes. I'll update to latest master, however it will probably be difficult to reproduce. Feel free to close this issue when the cause is already handled in...

Note that parity did return it with correct data until it got ~30 confirmations. After that it only shows null as above.