graydon/rust — Issue #1155: Basic 'Hello World' Port/Channel example causes abort/memory leak
Author: jhferris
Created: 2011-11-08 06:30:58+00:00
State: open

I tried to run the example code from the top of lib/comm.rs (here, for your convenience: http://pastebin.com/kwhhMK3Z)

Output of rustc --version:
rustc prerelease (06d14f3 2011-11-07 15:46:00 -0800)
host: i686-unknown-linux-gnu

OS: Ubuntu 11.10, amd64

Error Message:
rust: fatal, 'leaked memory in rust main loop (1 objects)' failed, ./src/rt/memory_region.cpp:131 1 objects
Aborted

FWIW, I tried taking out the argv, that was not the cause. Its my first time using rust, so its possible I did something wrong, but I figured I'd be cautious and open a bug.