-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I installed the Google protocol buffers, the C and the C++ binding in custom folders. I then ran make in the src folder of ZHT and when I try to run ./zhtserver -z zht.conf -n neighbor.conf I get Segmentation Fault. I modified the neighbor.conf file to contain an ip and a port, as below:
10.149.0.36 50000
The zht.conf file is the default one. When I print the backtrace from gdb this is what I get:
(gdb) bt
#0 std::basic_string<char, std::char_traits, std::allocator >::basic_string (this=0x7fffffffdde0, __str=...)
at /root/rpmbuild/BUILD/gcc-4.4.6-obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:174
#1 0x00000000004175cd in iit::datasys::zht::dm::ConfHandler::get_zhtconf_parameter (paraname=...) at ConfHandler.cpp:101
#2 0x00000000004242f6 in Env::get_sccb_poll_interval () at Env.cpp:58
#3 0x000000000042a24f in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at HTWorker.cpp:63
#4 0x000000000042a273 in global constructors keyed to _ZN15WorkerThreadArgC2Ev() () at HTWorker.cpp:440
#5 0x000000000042c246 in __do_global_ctors_aux ()
#6 0x0000000000404f1b in _init ()
#7 0x00007ffff7cce950 in google::protobuf::FileDescriptorTables::kEmpty () from /home/asu240/lib/libprotobuf.so.7
#8 0x000000000042c1d5 in __libc_csu_init ()
#9 0x000000330a61ec70 in __libc_start_main () from /lib64/libc.so.6
#10 0x0000000000405b99 in _start ()
I followed all the steps mentioned in the README file.