Initialize now in the ExecutorThread class
Initialize now in the ExecutorThread class

 Conditional jump or move depends on uninitialised value(s)
    at 0x7D92BF4: TaskQueue::_moveReadyTasks(timeval) (common.h:108)
    by 0x7D933B3: TaskQueue::fetchNextTask(...) (taskqueue.cc:121)
    by 0x7D5A36C: ExecutorPool::_nextTask(...) (executorpool.cc:209)
    by 0x7D5A4D0: ExecutorPool::nextTask(...) (executorpool.cc:229)
    by 0x7D6D947: ExecutorThread::run() (executorthread.cc:78)
    by 0x7D6E1A8: launch_executor_thread (executorthread.cc:34)
    by 0x50358C9: platform_thread_wrap (cb_pthreads.c:19)
    by 0x54819D0: start_thread (in /lib64/libpthread-2.12.so)
    by 0x5B8B86C: clone (in /lib64/libc-2.12.so)
  Uninitialised value was created by a heap allocation
    at 0x4C285BC: operator new(unsigned long) (vg_replace_malloc.c:298)
    by 0x7D5F076: ExecutorPool::_startWorkers() (executorpool.cc:470)
    by 0x7D613CD: ExecutorPool::_registerBucket(...) (executorpool.cc:435)
    by 0x7D614E3: ExecutorPool::registerBucket(...) (executorpool.cc:440)
    by 0x7D35777: EventuallyPersistentStore::EventuallyPersistentStore(...) (ep.cc:235)
    by 0x7D422B5: EventuallyPersistentEngine::initialize(...) (ep_engine.cc:2085)
    by 0x7D4256D: EvpInitialize (ep_engine.cc:135)
    by 0x4E30B7A: init_engine (engine_loader.c:116)
    by 0x402BB5: start_your_engines (engine_testapp.c:915)
    by 0x40243C: main (engine_testapp.c:1050)

Change-Id: I1948ec28e1d1e2282b1e8d87e3f9013ca5012a19
Reviewed-on: http://review.couchbase.org/48184
Reviewed-by: abhinav dangeti <d73ef2279de6577f7bf081737ee47554bbb7dc82@couchbase.com>
Tested-by: Michael Wiederhold <a17fed27eaa842282862ff7c1b9c8395a26ac320@couchbase.com>

membase/ep-engine,couchbase/ep-engine,daverigby/ep-engine,owendCB/ep-engine,teligent-ru/ep-engine,hisundar/ep-engine,sriganes/ep-engine,membase/ep-engine,owendCB/ep-engine,daverigby/kv_engine,daverigby/ep-engine,daverigby/kv_engine,teligent-ru/ep-engine,couchbase/ep-engine,daverigby/ep-engine,sriganes/ep-engine,owendCB/ep-engine,owendCB/ep-engine,membase/ep-engine,hisundar/ep-engine,membase/ep-engine,daverigby/kv_engine,hisundar/ep-engine,sriganes/ep-engine,teligent-ru/ep-engine,sriganes/ep-engine,hisundar/ep-engine,daverigby/kv_engine,couchbase/ep-engine,couchbase/ep-engine,teligent-ru/ep-engine,daverigby/ep-engine