Flickr miner: SIGSEGV and assertions solved