In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to debug Dreamview startup problem". In daily operation, I believe many people have doubts about how to debug Dreamview startup problem. Xiaobian consulted all kinds of materials and sorted out simple and easy operation methods. I hope to help you answer the doubts about "how to debug Dreamview startup problem"! Next, please follow the small series to learn together!
Dreamview Startup Steps
If you encounter problems starting Dreamview in the docker / scripts / dev sequence, first check that you used the correct command as shown below.
$ bash docker/scripts/dev_start.sh$ bash docker/scripts/dev_into.sh$ cd /apollo$ bash apollo.sh build$ bash scripts/dreamview.sh
Dreamview startup failed
If Dreamview fails to start, use the script below to check Dreamview's startup log and restart Dreamview.
# Start Dreamview in foreground to see any error message it prints out during startup$ bash scripts/dreamview.sh start_fe# check dreamview startup log$ cat data/log/dreamview.outterminate called after throwing an instance of 'CivetException' what(): null context when constructing CivetServer. Possible problem binding to port.$ sudo apt-get install psmisc# to check if dreamview is running from other terminal$ sudo lsof -i :8888# kill other running/pending dreamview$ sudo fuser -k 8888/tcp# restart dreamview again$ bash scripts/dreamview.sh
Debugging with gdb
If there is nothing valid in Dreamview's startup log, you can try debugging Dreamview using gdb by using the following command:
$ gdb --args /apollo/bazel-bin/modules/dreamview/dreamview --flagfile=/apollo/modules/dreamview/conf/dreamview.conf# or$ source scripts/apollo_base.sh;$ start_gdb dreamview
Once gdb starts, press r and enter to run if Dreamview crashes, then use bt to get backtrack.
If you see the error "illegal directive" in the gdb backtrace and something related to libpcl_sample_consensus.so.1.7, then you might need to rebuild pcl lib from the source code yourself and replace that in docker.
This usually happens when you try to run Apollo/dreamview on a machine whose CPU does not support FMA/FMA3 instructions, and it fails because the pre-built pcl lib that comes with docker image was compiled using FMA/ FMA3 support.
At this point, the study of "how to debug Dreamview startup problems" is over, hoping to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.